Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyrunfile function #1168

Closed
Nelson-numerical-software opened this issue Apr 15, 2024 · 0 comments · Fixed by #1175
Closed

pyrunfile function #1168

Nelson-numerical-software opened this issue Apr 15, 2024 · 0 comments · Fixed by #1175
Assignees
Projects
Milestone

Comments

@Nelson-numerical-software
Copy link
Collaborator

pyrunfile('d:/toto.py "f" "2"')
pyrunfile('''d:/toto.py'' "f" "2"')
pyrunfile('"d:/toto.py" "f" "2"')

import sys

for arg in sys.argv[0:]:
    print(arg)

result expected:

d:/toto.py
f
2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Nelson 2024
DONE (v1.4.0)
Development

Successfully merging a pull request may close this issue.

1 participant