Is it possible to pass arguments to a python made exe at runtime?

前端 未结 4 1378
北海茫月
北海茫月 2021-02-14 07:27

I\'m experimenting with file I/O. I have a small practice program that creates a text file when run. I packaged it with pyinstaller so that double clicking on the exe creates a

4条回答
  •  佛祖请我去吃肉
    2021-02-14 08:09

    Just a note for completeness: there is docopt now, which makes it really easy to write even complex command line interfaces by describing it in a simple language. Documenting and parsing the interface actually becomes the same task with docopt.

提交回复
热议问题