Noah Gift wrote:
[snip]
> a = long(time.time() * 256) # use fractional seconds
> TypeError: 'module' object is not callable
Part of your program includes a file or directory that you called
'long'. You should not re-use names of built-ins in your programs..
they cause you to get errors like t
It turns out it is a cgi issue. If I run this code outside of the
cgi-bin it runs just fine. The webhosting company I am using allows
python cgi code to run, but I might need to check with them about how
it works. Does anyone have advice on python cgi vs. psp vs. python
web application framework
Hi,
I am writing a few different scripts that need to send email
confirmation and I wanted to use smtplib instead of cheating and using
os.system('mail -s "foo") Some of the examples I have seen don't
seem to work for me. (Note, I am new to Python and probably doing
something stupid...thanks