Re: Developing a Package with Sub Packages

2008-02-18 Thread Gabriel Genellina
En Mon, 18 Feb 2008 16:23:28 -0200, Josh English <[EMAIL PROTECTED]> escribi�: > When testing the package in idle, this results in > C:\Python25\Lib\idlelib > instead of the file. > The Data folder is created in this folder now. Works for me: main.py: from testpkg import a testpkg directory

Re: Developing a Package with Sub Packages

2008-02-18 Thread Josh English
When testing the package in idle, this results in C:\Python25\Lib\idlelib instead of the file. The Data folder is created in this folder now. On 2/18/08, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > En Sun, 17 Feb 2008 22:34:27 -0200, Josh English > <[EMAIL PROTECTED]> escribi�: > > > Here's wha

Re: Developing a Package with Sub Packages

2008-02-18 Thread Gabriel Genellina
En Sun, 17 Feb 2008 22:34:27 -0200, Josh English <[EMAIL PROTECTED]> escribi�: > Here's what I think is happening: IMS/__init__.py uses os.getcwd() to > establish the path to the data folder and the files inside of it. When > I run StoryCreator, os.getcwd() returns the story folder. > If I'm rig

Developing a Package with Sub Packages

2008-02-17 Thread Josh English
I have created a group of scripts to manage an XML-based database. I'd like to make it into a proper package that will let me keep track of the code. I have a lot of files that are similar in name and they just get crowded in one folder. Here's a sample of the file structure: IMS/ IMS/__init__.py