Home > other >  In a matter of the code
In a matter of the code

Time:01-15

PYTHON_ARG="$1 $2 $3" python - & lt;
Python_arg=OS. Environ [' python_arg]

What is the code segment specific meaning, thank you!

CodePudding user response:

Above the writing generally refers to the environment variables, using OS. Environ can see what is the environment variable, usually in the project. Create a env file, use OS. Environ to obtain, in fact OS. Environ get is an environment variable dictionary, OS. Environ 'PYTHON_ARG is in value only in the dictionary

CodePudding user response:

reference 1st floor without a white reply:
above the writing generally refers to the environment variables, using OS. Environ can see what is the environment variable, usually in the project. Create a env file, use OS. Environ to obtain, in fact OS. Environ get is an environment variable dictionary, OS. Environ [' PYTHON_ARG] is a dictionary value on the

Can you tell me the value of $1, $2 $3 displayed in the Linux system? Use print or echo $1 didn't show, also didn't see there are assignment in python, the back of the python - & lt;
  • Related