hython ignores argument

   751   0   1
User Avatar
Member
120 posts
Joined: Jan. 2012
Offline
Hi,

Im puzzled with specific argument that I pass to Hython. Its ignored. Whats so particular about it? It works fine in vanilla Python. Its already breaking if I use -j instead of -job.

args.py
import sys

args = sys.argv
print(args)

hython.exe args.py -bob john
outputs: ['test.py', '-bob', 'john']- correct

hython.exe args.py -job john
outputs: ['test.py', 'john']- "-job" is missing, why??

thanks
Edited by tas3d - July 23, 2021 20:27:12
Michal Tas Maciejewski @ www.vfxtricks.com
  • Quick Links