Clayton Carson wrote:
> Michael
> 
> Thanks for the quick reply however when I type the script you
> suggested in a command window (I also specify where python.exe is
> located because this is necessary for windows) I get the error can't
> open file getcards.py: [error 2] no such file or directory. I do have
> the getcards file downloaded and extracted, is there anywhere in
> particular it should be?

2 ways to go about this.  Short answer is "no", it doesn't need to be in any 
particular place, but you do need to know where it is.


1) it (getcards.py) should be in the same directory *YOU* are "in" when you run 
the command.  So, if you extracted it in, for example, "c:\program files", then 
you need to open a dos prompt, "cd" there (i.e., type: cd c:\program 
files<return>) "cd" stands for "change directory".

It should look something like this (I'm running XP in my example here, and I 
logged in as "michael")

c:\Documents and Settings\michael> cd c:\program files

c:\Program Files> c:\python-2.5\python.exe getcards.py <other stuff goes here>



or

2) You can be anywhere (that is, you can be "cd"'d to any particular directory 
in your computer), and you specify the location when you run the command.  Like 
so (all one line although it may appear as more than one in this mail):

c:\Documents and Settings\michael> c:\python-2.5\python.exe c:\program 
files\getcards.py <other stuff goes here>



Basically, when you run the Windows Dos Prompt, your "session", if you will, is 
"in" a given directory.  The prompt (the stuff the left of what you type) shows 
you what directory that is.  You either tell the command where the file is when 
you run it (what we did in #2 there), or you go there yourself and run it.

There are exceptions here, but by default, the system will look first in 
whatever directory you are "in" (what directory you've CD'd to) for commands, 
if 
you don't specify otherwise explicitly. (what we did in #1)

Hope this helps!  Holler if not.

Michael




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" 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/mnemosyne-proj-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to