Answer the question
In order to leave comments, you need to log in
Can a program change itself?
Is there a way to redefine the variables inside the exe (or even regular .py) program the first time you run it?
That is, let's say, by default, the variable in the program was overridden on the first run by , for example. And then, with all subsequent launches, a new value was taken. os = 'Operating System'
os = 'Windows x64'
Answer the question
In order to leave comments, you need to log in
There is.
But that's stupid, there are better ways.
For desktop - config files inside the local user folder of the application.
For the phone - by means of the SDK.
For web storage (DBMS)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question