Re: [Tutor] Seeking python projects

2007-04-18 Thread Adam Gomaa
Writing your own programs is a good idea. However, this is primarily a good idea with small programs. For example, when learning Python, I wrote a set of backup scripts for my computer; I still use them and they've served me well. If you want to write 'complete applications,' you're probably bette

Re: [Tutor] Evaluate my script?

2006-10-24 Thread Adam Gomaa
attention to in the cases where you DO > care. I was afraid I hadn't commented enough! Well, now I know... Thanks again, Adam #!/usr/bin/python # Adam Gomaa, started Oct 24 2006 (finished same day) # An attempt to clean up/improve v2, with suggestions from the -tutor list. ""&q

Re: [Tutor] Evaluate my script?

2006-10-23 Thread Adam Gomaa
I'm sorry; I somehow lost a newline in copypasting. At about line #105, a newline is needed after "#return For loop" (this has been fixed on the HTML version that was linked before.) Adam Gomaa wrote: > Hello, -tutor. I wrote this script in chemistry class, which gets the

[Tutor] Evaluate my script?

2006-10-23 Thread Adam Gomaa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, -tutor. I wrote this script in chemistry class, which gets the user's input for various parts of the PV=nRT ideal gas law, then calculates the missing variable, which you indicate by putting in an 'x'. I've tried to follow 'best practices' per

Re: [Tutor] IDLE Crashing

2006-08-05 Thread Adam Gomaa
> IDLE becomes **very** unresponsive when printing long lists/strings. > Great doses of patience and a good processor usually let you live > through (Idle uses 100%, you have to take out of view the long text to > make it become responsive again). At least, this happens on Windows > (maybe oth

[Tutor] IDLE Crashing

2006-08-04 Thread Adam Gomaa
s), so I don't think it has anything to do with the actual files it's accessing. - #2006 Adam Gomaa, Public Domain listfiles=open('retrieves/list.txt','r') fileread=listfiles.read() ##reads list.txt and assings to fileread filelist=[] filelist=fileread.splitlines