Re: [Tutor] base64MIME module import error

2005-11-07 Thread Eddie S
> The problem is that your email.py module is shadowing the library email > module. Python is looking for base64MIME in your module. Rename your email.py > to something else and it should work. > > Kent > > -- > http://www.kentsjohnson.com > > ___ > Tut

[Tutor] base64MIME module import error

2005-11-07 Thread Eddie S
I was just trying to make a simple cgi email form when I encountered this error. Traceback (most recent call last): File "/Users/eddie/Sites/python/email.py", line 4, in ? import smtplib File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/smtplib.py", line 49, in

[Tutor] OS X 10.4 and MySQL for Python

2005-10-29 Thread Eddie S
I was just about to attempt to install the python mysql package (http://sourceforge.net/projects/mysql-python/). I just wanted to know if anyone has attempted this on OS X 10.4. Searching the list it is very possible on past versions of os x no one seems to have commented on the latest version thou

[Tutor] Joining non strings in to string

2005-10-28 Thread Eddie S
Hi, I have a list containing numbers. I want to join this list in to a string which I can then output. The problem is I cant seem to join list of non-string items in to a string. My list looks something like: list = [5,7,20,19,49,32] I could loop through the list outputing each number individual