Re: [Tutor] module versus file

2006-06-08 Thread Kent Johnson
From: Dave Kuhlman [EMAIL PROTECTED] If you are importing a module from a directory other than your current directory, then the directory is effectively a package. In order to make a directory into a package, the directory must contain a file named __init__.py. That's not quite right.

[Tutor] directory as package

2006-06-08 Thread Kermit Rose
Message: 4 Date: Wed, 7 Jun 2006 20:10:52 -0700 From: Dave Kuhlman [EMAIL PROTECTED] Subject: Re: [Tutor] module versus file To: tutor@python.org Hello Dave. If you are importing a module from a directory other than your current directory, then the directory is effectively a package. In

Re: [Tutor] module versus file

2006-06-08 Thread Kent Johnson
Kermit Rose wrote: Are you saying that any .py file that I save in math\factoring can be imported? Yes You already have many modules installed as part of the standard library and any third-party add-ons you have installed. ** Yes. I'm impressed with the listing in

[Tutor] making a python program part of xhtml

2006-06-08 Thread Emily Fortuna
Hola everyone, I'm working on creating a webpage in which a user can submit data into fields to be held in a database (there are other details, but this is the gist of the idea), and I need to use python. I am unfamiliar with manipulating data and web apps as a whole (and new to python), so I

[Tutor] PyGTK on cygwin

2006-06-08 Thread Christopher Spears
Does PyGTK work well on cygwin? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] making a python program part of xhtml

2006-06-08 Thread Mike Hansen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emily Fortuna Sent: Thursday, June 08, 2006 7:20 AM To: tutor@python.org Subject: [Tutor] making a python program part of xhtml Hola everyone, I'm working on creating a webpage in which a user

Re: [Tutor] PyGTK on cygwin

2006-06-08 Thread Carlos Daniel Ruvalcaba Valenzuela
There is a PyGTK package for win32, don't know if it uses cygwin or mingw but works pretty well on windows, it only needs the gtk runtime. http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ Altough I might been misunderstanding your question ;) On 6/8/06, Christopher Spears [EMAIL PROTECTED] wrote:

[Tutor] What is a widget?

2006-06-08 Thread Christopher Spears
I'm a bit embarassed to ask this...I am looking at a tutorial for PyGTK+ that is discussing widgets. What are widgets? -Chris ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] What is a widget?

2006-06-08 Thread Bob Gailer
Christopher Spears wrote: I'm a bit embarassed to ask this...I am looking at a tutorial for PyGTK+ that is discussing widgets. What are widgets? http://en.wikipedia.org/wiki/Widget_(computing) -- Bob Gailer 510-978-4454 BroadbandPhoneServiceforlocalandlongdistance$19.95/moplus1moFree