I haven’t touched python for a long time
I haven’t touched python for a long time. I touched it today and made two elementary mistakes. Record it.
To execute a python file, you don't need to enter the python environment. You can directly cd into the project directory and python3 can execute the script file.
indentation. indentation. indentation.
I really don't like python.
Reminds me of a joke told by a colleague before: You have to use a ruler to measure when writing python. The indent size is wrong, no matter how correct the logic is.