arethinn: glowing green spiral (frustrated (forrester fanart))
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?

Profile

arethinn: glowing green spiral (Default)
Arethinn

January 2026

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728 293031

Expand Cut Tags

No cut tags

Style Credit

Page generated Feb. 21st, 2026 11:04 am
Powered by Dreamwidth Studios