Horst Jäger 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 / functions in hotte
On 19 Ago, 11:00, Horst Jäger 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 python can fin
On Wed, Aug 19, 2009 at 7:00 PM, Horst Jäger 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?
>
1) Have the hotte.py in the same directory of any of your other Python code
that imports it, or
2) Put the
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