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
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
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
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