Hello,
I 'm very interesting in Spyder IDE because I decided to learn Python
and Object Oriented Programming.
I wrote in a file essai.py, this simple instructions:
x=2
y=3
z = x+y
print(z)

In the console(IPython 1), I have the following results:

In [3]: essai
------------------------------------------------------------
Traceback (most recent call last):
  File "<ipython console>", line 1, in <module>
NameError: name 'essai' is not defined

In [4]: import essai
11

In [5]: essai
Out[5]: <module 'essai' from 'essai.pyc'>

and the variables x,y and z don't appear in Variable Explorer.

My script essai.py seems to be a module for Spyder !!!
Thanks for your answer.
Thierry

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to