yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #06399
[Question #208180]: NameError in IPython session
New question #208180 on Yade:
https://answers.launchpad.net/yade/+question/208180
Hello,
consider a very simple script a.py:
a = 1
when I run
yade-trunk a.py
and then write
a
in IPython, its value is normally printed.
But if the script looks like this one:
import yade
from yade import *
a = 1
run by
yade-trunk a.py
then writing
a
in IPython results in
NameError: name 'a' is not defined
do you know why? how to make 'a' accessible in IPython session?
Thanks for suggestions
Jan
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.