On Wed, Nov 24, 2010 at 3:00 PM, Evert Rol wrote:
> Then you haven't read my previous response carefully enough, or I haven't
> phrased it properly. The example I gave was:
>
import mymodule
mymodule.X
>
> where X is defined in a file called mymodule.py
> In your case, replace mymodul
>> You're not really showing what exactly you type. That's often more clearer
>> than describing what you do, although in this case we can get a pretty good
>> picture anyway.
>
> OK, here's what I do:
>
import test
>
> I know the shell is importing the file because I can see the followin
Thanks Evert and Steve,
Both of you are right when you say:
> You're not really showing what exactly you type. That's often more clearer
> than describing what you do, although in this case we can get a pretty good
> picture anyway.
OK, here's what I do:
>>>import test
I know the shell is im
Josep M. Fontana wrote:
One question for Steve (or for whoever wants to answer): you say you
have a terminal with two tabs (neat, I wonder whether I can get tabs
as well for my terminal in OS X) and when you need to do debugging you
turn to your interactive python terminal and do;
import filena
>
> ---
> One question for Steve (or for whoever wants to answer): you say you
> have a terminal with two tabs (neat, I wonder whether I can get tabs
> as well for my terminal in OS X)
In Terminal.app, just type command-T and you get a new tab. Switch with the
mouse or command-shift-[ & com