I would like to permanently import os into python3.
I did look/google for a python config file.
Is there either a config file or some other way to have some import loaded permanently?
Another question is "why?". Firstly, it doesn't seem too hard to add an import line at the start of the script. Secondly, if someone else was to look at your code they wouldn't immediately know that os had been imported outside of the script. If they then tried to copy your script, it wouldn't work.klintkrossa wrote:I would like to permanently import os into python3.
I did look/google for a python config file.
Is there either a config file or some other way to have some import loaded permanently?