getting tut. example to work

2009-02-23 Thread John Forse
I'm trying some examples from the language ref sections on the site in the process of learning some python in 3.0.1. I've tried to run both of the samples below ,but the only printout is "generator object chain at 0x11f4dc8" whether I use print() or not . How do I use the sample to produce

Fwd: IDLE error on 3.0.1

2009-02-19 Thread John Forse
Regards John Begin forwarded message: From: John Forse Date: 20 February 2009 02:46:19 GMT To: python-list@python.org Subject: IDLE error on 3.0.1 Occaisionally, if I mistype in python shell or try to copy & paste a line there, I get a permanent hang with the error below. It i

string to list conversion

2009-02-19 Thread John Forse
I need to convert an input string say '' to a list of the form ['' ,]. If I use list(stringname), I get ['x','x','x','x'] ; list.join() is an error; and str.join() won't use lists. I do need the comma after the string. Is there a simple solution? Regards John -- http://mail.pytho

v 3.0 mpkg

2009-02-03 Thread John Forse
Does anyone know if Python v3.0 is available as an .mpkg installer for Mac 10.5.6. I have used 2.5 & updated to 2.6.1 this way, but can't find any reference to one on the Python.org download site. I've downloaded the Python 3.0 folder but can't follow how to install it without a .mpkg file