you either need to start the python interpreter, or pass the py script to it
so
type "python"
and you should see
>>>
then you can type your script name
or type "python script.py" to run it
if running the python interpreter fails, check to see if it's in your path, if not you can run it by specifying the full path on the command line.
c:\python\python myscript.py
I am trying to run NFS factoring using msieve and I am encountering some problems with my command prompt. I am using instructions from http://gilchrist.ca/jeff/factoring/nfs_beginners_guide.html. I am able to acces the following from my command prompt:
cd C:\ggnfs\example\factMsieve.py
but I cannot get the following result to work despite that I have all of the files and folders needed in the required places:
"Windows users can start the factoring process with the factMsieve.py python script using this command in a Command Prompt from your working directory:
..\factMsieve.py example
UNIX users can start the factoring process using this command in a shell from your working directory:
../factMsieve.py example
This will call the msieve or pol51 tools to select a polynomial for the number in example.n. The output should look something like:"
All command prompt says is that the system cannot find the path specified. Did I miss something obvious or skip a step? Any help would be appreciated.