Can anyone tell me how to command-line and/or shell execute a Python script in windows? I am still mucking about with ljmigrate and need to do this:
If the migration failed for many of your posts, because of LiveJournal flakiness or troubles with your network connection, you can re-run the tool to retry the migration:
./ljmigrate.py --retry
but that is written in the context of running it in Terminal on a Mac. Up to this point I have just been double-clicking the .py because that causes Windows to launch python.exe (the interpreter, I presume?) and run the script. How do I do this either from a Windows cmd box (can you?) or from the IDLE GUI or the text shell? The help files all seem to be about actually coding and way above the level of lusers like me. I have a braintickle I may be able to do it by constructing a shortcut of a form similar to "c:\python251\python.exe --c:\[pathtoscript] --retry" but I don't know the proper syntax. Halp?
If the migration failed for many of your posts, because of LiveJournal flakiness or troubles with your network connection, you can re-run the tool to retry the migration:
./ljmigrate.py --retry
but that is written in the context of running it in Terminal on a Mac. Up to this point I have just been double-clicking the .py because that causes Windows to launch python.exe (the interpreter, I presume?) and run the script. How do I do this either from a Windows cmd box (can you?) or from the IDLE GUI or the text shell? The help files all seem to be about actually coding and way above the level of lusers like me. I have a braintickle I may be able to do it by constructing a shortcut of a form similar to "c:\python251\python.exe --c:\[pathtoscript] --retry" but I don't know the proper syntax. Halp?