Re: Guide to organizing modules?

2008-06-06 Thread Casey McGinty
> > Yes, in the above post I meant to say package where I said module. > Right now all my functions are in the __init__.py script, and I would > consider separating them out into sub-packages, if it had any rhyme or > reason, but right now that escapes me. That's mostly what I'm trying > to ask for

Re: Guide to organizing modules?

2008-06-05 Thread bukzor
On Jun 5, 5:58 pm, alex23 <[EMAIL PROTECTED]> wrote: > On Jun 6, 10:32 am, bukzor <[EMAIL PROTECTED]> wrote: > > > In summary: are there any good (or official) guidelines for how to > > organize and separate python functions and classes into modules? > > Hey bukzor, > > Are you familiar with the co

Re: Guide to organizing modules?

2008-06-05 Thread alex23
On Jun 6, 10:32 am, bukzor <[EMAIL PROTECTED]> wrote: > In summary: are there any good (or official) guidelines for how to > organize and separate python functions and classes into modules? Hey bukzor, Are you familiar with the concept of packages in Python? http://docs.python.org/tut/node8.html

Guide to organizing modules?

2008-06-05 Thread bukzor
I've been finding at work that I've written a set of functions several times, sometimes with more or less features or bugs, so I've decided to take my small, useful functions and put them in some common place. I've made a module for this, but it is quickly becoming a jumbled mess of unrelated funct