Re: [Tutor] character counter

2009-06-27 Thread Emile van Sebille
On 6/27/2009 6:42 AM julie said... Hello, I need help with the following problem: *Write a loop that reads each line of a file and counts the number of lines that are read until the total length of the lines is 1,000 characters. Use a break statement to make sure that you don't continue read

Re: [Tutor] character counter

2009-06-27 Thread Richard Lovely
2009/6/27 julie : > Hello, > > I need help with the following problem: > > Write a loop that reads each line of a file and counts the number of lines > that are read until the total length of the lines is 1,000 characters. Use a > break statement to make sure that you don't continue reading the fil

[Tutor] character counter

2009-06-27 Thread julie
Hello, I need help with the following problem: *Write a loop that reads each line of a file and counts the number of lines that are read until the total length of the lines is 1,000 characters. Use a break statement to make sure that you don't continue reading the file once the 1,000 characters a

[Tutor] Converting a Py2exe Script to a Windows Installer

2009-06-27 Thread Paras K.
I have been writing many scripts using python and then making them a standalone script using Py2exe. I have the source code for the script. What I am trying to do is, take this script and make it into a windows installer and have a shortcut within the All Programs or on the desktop. Any tutorials

Re: [Tutor] Very basic Python question

2009-06-27 Thread Kent Johnson
On Sat, Jun 27, 2009 at 1:16 AM, Luke Paireepinart wrote: > You should try uninstalling MacPython.  Macintosh computers come with Python > preinstalled and you should try to use that version instead.  Probably what > happened was that, when installing the other version of Python, you messed > up s

Re: [Tutor] Very basic Python question

2009-06-27 Thread Dave Angel
Daniel Sato wrote: Hi, Let me preface this by saying that I purchased O'Reilly's "Learn Python" yesterday and have no programming experience (I am a photographer by trade) except for a semester of what I think was BASIC on some old apple back in elementary school (circa 1992). I am not sure w