Re: Importing My Own Script

2008-04-17 Thread Victor Subervi
lt;[EMAIL PROTECTED]> > > Cc: python-list@python.org > > Sent: Thursday, April 17, 2008 10:47:34 AM > > Subject: Re: Importing My Own Script > > > > On Thu, Apr 17, 2008 at 8:52 AM, Ben Kaplan <[EMAIL PROTECTED]> > > wrote: > > > &g

Re: Importing My Own Script

2008-04-17 Thread Raúl Gómez C.
riginal Message > From: Victor Subervi <[EMAIL PROTECTED]> > To: Ben Kaplan <[EMAIL PROTECTED]> > Cc: python-list@python.org > Sent: Thursday, April 17, 2008 10:47:34 AM > Subject: Re: Importing My Own Script > > On Thu, Apr 17, 2008 at 8:52 AM, Ben Kaplan <

Re: Importing My Own Script

2008-04-17 Thread Ben Kaplan
It might be something in mod python. Try asking on their mailing list. - Original Message From: Victor Subervi <[EMAIL PROTECTED]> To: Ben Kaplan <[EMAIL PROTECTED]> Cc: python-list@python.org Sent: Thursday, April 17, 2008 10:47:34 AM Subject: Re: Importing My Own Script On

Re: Importing My Own Script

2008-04-17 Thread Victor Subervi
On Thu, Apr 17, 2008 at 8:52 AM, Ben Kaplan <[EMAIL PROTECTED]> wrote: > If x and y are in the same directory, just do "import x". If not, add the > directory containing x to sys.path. Then, "import x" should work. > Well, now that´s what I thought! But no, it doesn´t work! Both scripts are in t

Re: Importing My Own Script

2008-04-17 Thread Ben Kaplan
If x and y are in the same directory, just do "import x". If not, add the directory containing x to sys.path. Then, "import x" should work. - Original Message From: Victor Subervi <[EMAIL PROTECTED]> To: python-list@python.org Sent: Thursday, April 17, 2008 9:45:10 AM Subject: Importing M