Re: [Tutor] Newbie

2008-07-23 Thread Alan Gauld
""Simón A. Ruiz"" <[EMAIL PROTECTED]> wrote If what you expected was something like: Hello World! Here are ten numbers from 0 to 9 0 1 2 3 4 5 6 7 8 9 Goodbye World! Then you want that final print statement to not be included in your for loop block; i.e., unindent it: And if you wanted the

Re: [Tutor] Newbie

2008-07-23 Thread Wim De Hul
Hey Sam, The way your output is formatted is because you use a comma after print i and you use an indent too much. The indent is used to group everything that has to be in the for loop (for your example). Your program should run fine if you do it like this print "Hello World!" print "Here

Re: [Tutor] Newbie

2008-07-23 Thread Simón A. Ruiz
Sam Last Name wrote: Hey guys, I'm wanting to learn Python and eventually how to program with it. I'm 16 and very eager to learn. I already have a question. Heres my script: print "Hello World!" print "Here are the ten numbers from 0 to 9" for i in range(10) : print i, print "Goodbye

[Tutor] Newbie

2008-07-23 Thread Sam Last Name
Hey guys, I'm wanting to learn Python and eventually how to program with it. I'm 16 and very eager to learn. I already have a question. Heres my script: print "Hello World!" print "Here are the ten numbers from 0 to 9" for i in range(10) : print i, print "Goodbye World!" Result of my scr

Re: [Tutor] Alter print action for objects

2008-07-23 Thread Jordan Greenberg
Shrutarshi Basu wrote: I'm working on a graph class to become more familiar with graphs in general. I'd like to be able to do something like 'print gr' and get something intelligible like a list of vertices. But using print on a Graph class instance simply returns Is there someway I can change

[Tutor] Alter print action for objects

2008-07-23 Thread Shrutarshi Basu
I'm working on a graph class to become more familiar with graphs in general. I'd like to be able to do something like 'print gr' and get something intelligible like a list of vertices. But using print on a Graph class instance simply returns Is there someway I can change what print prints? -- T

Re: [Tutor] OT looking for help creating a thumbnail

2008-07-23 Thread زياد بن عبدالعزيز الباتلي
On Tue, 2008-07-22 at 16:17 -0700, johnf wrote: > Hi, > I'm sorry this is OT but you guys are very knowledgeable with the world of > python. I already tried the python list. - no response. > > I need a py tool that will provide a thumbnail (bmp?) from a video (avi, > wmv) that will be cross pla