arethinn: glowing green spiral (Default)
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?
(will be screened)
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

arethinn: glowing green spiral (Default)
Arethinn

July 2025

S M T W T F S
  12345
6789101112
13141516171819
20 2122232425 26
2728293031  

Expand Cut Tags

No cut tags

Style Credit

Page generated Jan. 19th, 2026 07:36 am
Powered by Dreamwidth Studios