Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Tags
Member Avatar for EdJones

I'm looking for a script that generates random images using the PIL Image module by assigning random RGB values to each pixel on a blank canvas. Does anyone have one of those lying around? (I want to write my own just for practice, but if it's already been done by …

Member Avatar for vegaseat
0
6K
Member Avatar for EdJones

What's a good book to learn C if you already know Python and are comfortable with computer science terminology? I'd like a book that is downloadable as a .pdf free of charge but an html book viewable online free of charge would be fine. Also, is there an advantage to …

Member Avatar for tabanpanoam
0
274
Member Avatar for EdJones

Which class structure is better for what purposes. This one: class Text: def __init__(self, passage): self.s = passage def read_text(self): return self.s def grow(self, sentence): self.s = self.s + sentence.s class Sentence(Text): def __init__(self, sentence): Text.__init__(self, sentence) self.s = sentence def format(self): self.s = self.s[:1].title() + self.s[1:len(self.s)-1] + ". " …

Member Avatar for EdJones
0
156
Member Avatar for EdJones

Can anyone recommend a tutorial on the basics of binary logic circuit design as related to binary arithmetic? (I need to code an application that simulates binary arithmetic as performed on a physical binary circuit using the basic logical operators. I am already familiar with formal logic.)

0
153
Member Avatar for EdJones

Hi, everyone. I'm exploring programming on my own using Runestone Interactive to learn some Python and also reading a bit of the Perl documentation that can be installed on Linux through the perl-doc package. I'm also thinking of checking out the w3schools tutorials for web development. My first question is …

Member Avatar for happygeek
0
218
Member Avatar for EdJones

As part of a study exercise I wrote a procedural script and would like to ask whether anyone has a more polished version. Your version can be procedural or object oriented. #! /usr/bin/env python3 # This script simulates a monkey on a typewriter trying to come up with one sentence …

Member Avatar for Gribouillis
0
128
Member Avatar for EdJones

Is this considered good form when writing cross-platform code? #! /usr/bin/env python3 And how about this? if __name__ == "__main__": main() I've reviewed some recent sample snippets and not all of them use the shebang and the conditional main call, so I wasn't sure whether that is still considered good …

Member Avatar for sneekula
0
144
Member Avatar for EdJones

I'm learning python (and programming in general) through Runestone Interactive. What do people think of that site as a place for beginners to learn python? Also, is there any harm in trying to learn perl and web design languages at the same time? I'm concerned about becoming confused.

Member Avatar for Gribouillis
0
148