[Tutor] Compilation Error

2013-06-08 Thread Jack Little
1. I compiled a script withpy2exe.I have the .exe ,but when I run it,the window just closes itself.Inthe cmd window fromwhich I compiled the script from,Itsays some dlls are needed.Whatdoes this this have to dowithit,andmore importantly,isthere any solution?__

Re: [Tutor] recursion surprise

2013-06-08 Thread Marc Tompkins
On Sat, Jun 8, 2013 at 4:52 PM, Jim Mooney wrote: > Well, I thought > > if num > 10: > return num > > Was a return statement. Num does become > 10. You mean I need more than > one? > It is, and you actually have more than one. All functions return None, unless you explicitly spec

[Tutor] Splitting on punctuation

2013-06-08 Thread Mike Nickey
Hey guys, I'm working on a web-project simply to bruh up on skills and build new ones. One of the tasks is to split on punctuation passed yet I'm having a bit more trouble then I expected. Give the input of "which isn't that surprising I guess.",",'.") where the first part passed is the string an

Re: [Tutor] How does formatted printing work?

2013-06-08 Thread Michael Sparks
I believe it's % string interpolation where % formats strings I'm reading Practical Programming and I'm stuck on page 35, question 6. b) where: "___" % 34.5 => "3.45e+01" On Sat, Jun 8, 2013 at 11:03 AM, Steven D'Aprano wrote: > On 09/06/13 01:58, Michael Sparks wrote: > >> You can explain it yo

[Tutor] How does formatted printing work?

2013-06-08 Thread Michael Sparks
You can explain it yourself or just drop me a link (or both). Right now I'm learning Python 2.x but I plan on learning Python 3.x as well. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailma