[Tutor] Can't start IDLE 2.6 on Mac

2008-10-19 Thread Rob Stevenson
Hello, A slightly different question. I use python on vista but recently bought a mac laptop running tiger so I could use garageband. I decided to put 2.6 on it but even though it installs fine, when I go to Applications / Python 2.6 and double click IDLE, nothing happens. Am I doing something

[Tutor] How to... (a) write to files, (b) use try/except

2008-02-09 Thread Rob Stevenson
Hello, Sorry to be dense, but I'm having trouble writing to a file... I have a list of book numbers - ISBNs in a file, one per line... (see list at bottom of this message) my code below... import amazon amazon.setLicense(' -- my amazon id is in here when I run - ') isbn_list = "c:\\ISBN.txt" a

[Tutor] How to (a) write to files, (b) use try/except (clarification)

2008-02-09 Thread Rob Stevenson
by amazon ID in my message I meant my web services license number. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] conditionals with slicing not seeming to work

2008-01-27 Thread Rob Stevenson
Hello, I'm working at a certain website's puzzles using pythonin order to learn the language, but am stuck understanding what is going on in my code (ie why it doesn't do as expected) the intention of this snippet is to only print slices where character 1 is lower case, 2-4 and 6-8 are upper. Th