[sage-support] Re: Sage can't find a Python program I wrote

2010-06-19 Thread TianWei
> If you look > athttp://www.sagemath.org/doc/tutorial/programming.html#section-standalone > , you find the text: > "It is also easy to access C functions defined in separate *.c files. > Here’s an example. Create files test.c and test.spyx in the same > directory with contents:" > > I'm using VMw

[sage-support] Re: Sage can't find a Python program I wrote

2010-06-18 Thread Rolandb
Hi, May I extend the question somewhat. If you look at http://www.sagemath.org/doc/tutorial/programming.html#section-standalone , you find the text: "It is also easy to access C functions defined in separate *.c files. Here’s an example. Create files test.c and test.spyx in the same directory wi

[sage-support] Re: Sage can't find a Python program I wrote

2010-06-18 Thread TianWei
> 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