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

前端 未结 4 899
终归单人心
终归单人心 2021-02-14 07:34

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条回答
  •  萌比男神i
    2021-02-14 08:02

    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.

提交回复
热议问题