Re: Can't import modules

2012-10-01 Thread cjgohlke
On Sunday, September 30, 2012 5:35:02 PM UTC-7, Peter Farrell wrote: Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed VPython and I'm trying to run the very first example, bounce.py which I located. I opened it and ran it in

Re: Can't import modules

2012-10-01 Thread Mark Lawrence
On 01/10/2012 02:25, Steven D'Aprano wrote: On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed VPython and I'm trying to run the very first example, bounce.py which I

Can't import modules

2012-09-30 Thread Peter Farrell
Hello! I'm still new to Python, so here's another easy one. After I save something I've done as a .py file, how do I import it into something else I work on? Every time I try to import something other than turtle or math, I get this error message: 'module' object is not callable What am I

Re: Can't import modules

2012-09-30 Thread Benjamin Kaplan
On Sun, Sep 30, 2012 at 12:42 PM, Peter Farrell peterfarrel...@gmail.com wrote: Hello! I'm still new to Python, so here's another easy one. After I save something I've done as a .py file, how do I import it into something else I work on? Every time I try to import something other than

Re: Can't import modules

2012-09-30 Thread Steven D'Aprano
On Sun, 30 Sep 2012 12:42:37 -0700, Peter Farrell wrote: Hello! I'm still new to Python, so here's another easy one. After I save something I've done as a .py file, how do I import it into something else I work on? Every time I try to import something other than turtle or math, I get this

Re: Can't import modules

2012-09-30 Thread Steven D'Aprano
On Sun, 30 Sep 2012 12:42:37 -0700, Peter Farrell wrote: Hello! I'm still new to Python, so here's another easy one. After I save something I've done as a .py file, how do I import it into something else I work on? Every time I try to import something other than turtle or math, I get this

Re: Can't import modules

2012-09-30 Thread Hans Mulder
On 30/09/12 21:42:37, Peter Farrell wrote: I'm still new to Python, so here's another easy one. After I save something I've done as a .py file, how do I import it into something else I work on? Every time I try to import something other than turtle or math, I get this error message:

Re: Can't import modules

2012-09-30 Thread Peter Farrell
Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed VPython and I'm trying to run the very first example, bounce.py which I located. I opened it and ran it in Idle. I got this message: Traceback (most recent call last): File

Re: Can't import modules

2012-09-30 Thread Dave Angel
On 09/30/2012 08:35 PM, Peter Farrell wrote: You top-posted, which means there's no context; the message is now out of order. Please put your responses after the parts you're quoting, or don't bother quoting. Thanks for trying to help, everybody. Sorry I didn't post the whole error message.

Re: Can't import modules

2012-09-30 Thread Joshua Landau
On 1 October 2012 01:35, Peter Farrell peterfarrel...@gmail.com wrote: Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed VPython and I'm trying to run the very first example, bounce.py which I located. I opened it and ran it

Re: Can't import modules

2012-09-30 Thread Steven D'Aprano
On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed VPython and I'm trying to run the very first example, bounce.py which I located. I opened it and ran it in Idle. I got

Re: Can't import modules

2012-09-30 Thread Peter Farrell
On Sunday, September 30, 2012 6:25:29 PM UTC-7, Steven D'Aprano wrote: On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed VPython and I'm trying to run the

Re: Can't import modules

2012-09-30 Thread Steven D'Aprano
On Sun, 30 Sep 2012 18:35:50 -0700, Peter Farrell wrote: Since I use Python 3.2.3 I've had trouble with programs and modules designed for Python 2 and many programs don't work on my 64-bit system. While Python tries very hard to be backward compatible, the transition from the 2.x series to

Re: Can't import modules

2012-09-30 Thread Steven D'Aprano
On Sun, 30 Sep 2012 18:35:50 -0700, Peter Farrell wrote: Since I use Python 3.2.3 I've had trouble with programs and modules designed for Python 2 and many programs don't work on my 64-bit system. While Python tries very hard to be backward compatible, the transition from the 2.x series to

Re: Can't import modules

2012-09-30 Thread Dwight Hutto
On Sun, Sep 30, 2012 at 10:15 PM, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Sun, 30 Sep 2012 18:35:50 -0700, Peter Farrell wrote: Since I use Python 3.2.3 I've had trouble with programs and modules designed for Python 2 and many programs don't work on my 64-bit system.

Re: Can't import modules

2012-09-30 Thread Dwight Hutto
Plus from What's New From Python 3, which are things you should be able to change comes: http://docs.python.org/release/3.0.1/whatsnew/3.0.html Change the module yourself. -- Best Regards, David Hutto CEO: http://www.hitwebdevelopment.com --

Re: Can't import modules

2012-09-30 Thread Dwight Hutto
On Sun, Sep 30, 2012 at 10:48 PM, Dwight Hutto dwightdhu...@gmail.com wrote: Plus from What's New From Python 3, which are things you should be able to change comes: http://docs.python.org/release/3.0.1/whatsnew/3.0.html Change the module yourself. And, of course:

Re: Can't import modules

2012-09-30 Thread Dave Angel
On 09/30/2012 09:35 PM, Peter Farrell wrote: On Sunday, September 30, 2012 6:25:29 PM UTC-7, Steven D'Aprano wrote: On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: Thanks for trying to help, everybody. Sorry I didn't post the whole error message. Now my problem is I just installed

Re: Can't import modules

2012-09-30 Thread Peter Farrell
On Sunday, September 30, 2012 8:19:28 PM UTC-7, Dave Angel wrote: On 09/30/2012 09:35 PM, Peter Farrell wrote: On Sunday, September 30, 2012 6:25:29 PM UTC-7, Steven D'Aprano wrote: On Sun, 30 Sep 2012 17:35:02 -0700, Peter Farrell wrote: Thanks for trying to help,