No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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 … |
|
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 … |
|
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] + ". " … |
|
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.) |
|
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 … |
|
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 … |
|
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 … |
|
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. |