Python script from command line

mrchapp's Avatar

mrchapp

30 Nov, 2017 09:53 PM

How does one run a Python script from the command line? I can print out information on the Python window but would like to see that printed out on the standard output. "Moneydance -invoke_and_quit moneydance:fmodule:jpython:runfile?=myscript.py" did not help. What is the right invokeURI? This is with Moneydance 2017 (1584).

  1. 1 Posted by -Kevin N. on 30 Nov, 2017 10:18 PM

    -Kevin N.'s Avatar

    Hi mrchapp,

    I can't help you with Python but, (1584) is an older build of Moneydance.

    The latest build is currently (1639). Provided that you DID NOT purchase MD through the Apple Store, then you can d/l the current version here:
    http://infinitekind.com/download-moneydance-personal-finance-software

    If you're interested, the preview build (currently 1652) can be gotten here:
    http://infinitekind.com/preview

    -Kevin N. (not a member of MD support)

  2. 2 Posted by mrchapp on 01 Dec, 2017 01:20 PM

    mrchapp's Avatar

    From what I can gather, this has been a long standing problem that would need clarification (or fixing). Needless to say, 1639 behaves exactly the same way.

  3. 3 Posted by mrchapp on 04 Dec, 2017 03:49 PM

    mrchapp's Avatar

    Anyone from Support?

  4. 4 Posted by mrchapp on 31 Dec, 2017 06:38 AM

    mrchapp's Avatar

    Bump.

  5. 5 Posted by mrchapp on 22 Jan, 2018 04:22 AM

    mrchapp's Avatar

    Is this supported?

  6. 6 Posted by johnbritt on 31 Jan, 2018 11:23 AM

    johnbritt's Avatar

    Windows users must pass the path of the program as an argument to the Python interpreter. Such as follows:

    C:\Python27\python.exe C:\Users\Username\Desktop\my_python_script.py

    Note that you must use the full path of the Python interpreter. If you want to simply type python.exe C:\Users\Username\Desktop\my_python_script.py you must add python.exe to your PATH environmental variable.

  7. System closed this discussion on 02 May, 2018 11:30 AM.

  8. mrchapp re-opened this discussion on 06 Jun, 2018 02:56 AM

  9. 7 Posted by mrchapp on 06 Jun, 2018 02:56 AM

    mrchapp's Avatar

    Still waiting for a reply from Support.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac