Hi,
I would like to create my own lib hotte.py which I can import like
import string,hotte
. How do I do that?
I'm working on MacOS 10.5.6 .
Thanks in advance
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Aug 19, 2009 at 7:00 PM, Horst Jäger h.jae...@medienkonzepte.dewrote:
Hi,
I would like to create my own lib hotte.py which I can import like
import string,hotte
. How do I do that?
1) Have the hotte.py in the same directory of any of your other Python code
that imports
On 19 Ago, 11:00, Horst Jäger h.jae...@medienkonzepte.de wrote:
Hi,
I would like to create my own lib hotte.py which I can import like
import string,hotte
. How do I do that?
I'm working on MacOS 10.5.6 .
Thanks in advance
Just create the file 'hotte.py' and place it somewhere
Horst Jäger h.jae...@medienkonzepte.de wrote:
I would like to create my own lib hotte.py which I can import like
import string,hotte
. How do I do that?
One of the nice things about python is that you don't need to do
anything special to define a library.
Just define your classes