In article <mailman.3032.1247422431.8015.python-l...@python.org>, Stef Mientki <stef.mien...@gmail.com> wrote: >Stef deleted an attribution: >> >> Why not: >> >> import db_test >> db_test.main() > >Yes I tried that too, but it gives the following error: "module object >not callable"
You need to create a main() function in db_test first. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list