Hi,

I'm learning to use Sage/Python for undergrad research over this
summer. I'm running Sage 4.4.2 (binary build) on snow leopard (Mac OS
10.6.3).  I wrote an extremely small program in python:

import sys
from sage.all import *

print "Hello"

and called it test.py.  It is currently in my sage folder.  I type
test.py into the command line and get the error:

NameError                                 Traceback (most recent call
last)

/Applications/sage/<ipython console> in <module>()

NameError: name 'test' is not defined

I have tried putting my test program in various folders in the sage
folder but nothing seems to work.  My path is currently ./:/
Applications/sage/:/usr/bin:/bin:/usr/sbin:/sbin.  I'm not really sure
where the problem is so any help you can give would be great. Thanks!

- Elise

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to