简体   繁体   中英

Passing variables for installer python

I am trying to make a application that lets you pass in a discord webhook (string value) into a different.py file, then I want to make this.py file into a.exe file. I have no problem with making the applications gui, but I have no idea how I can pass in the webhook value, with converting it to a.exe file I also have no problem.

Does anyone know how I could pass in the webhook string permanently without using other file?

just open the file and write the variable lines to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM