hello all,
pretty straightforward question here, i think. i'm experimenting with
classes and have written a File class that looks like it's worth
keeping for future use. however, i cannot work out where to put it for
this purpose or how to get it in.
i figured i'd try a bit of (un)inspired
should read 'definitions', of course. i hate stupid typos.
--
http://mail.python.org/mailman/listinfo/python-list
sam wrote:
pretty straightforward question here, i think. i'm experimenting with
classes and have written a File class that looks like it's worth
keeping for future use. however, i cannot work out where to put it for
this purpose or how to get it in.
What I do:
For each new major version of
sam wrote:
hello all,
pretty straightforward question here, i think. i'm experimenting with
classes and have written a File class that looks like it's worth
keeping for future use. however, i cannot work out where to put it for
this purpose or how to get it in.
i figured i'd try a bit of
What I do:
For each new major version of python, in .../site-packages I make a
directory sdd (my initials). In it I put an empty file named
__init__.py. When I have things I want to reuse, I put them in
files named things like .../site-packages/sdd/goodidea.py, and
I get use of them in