Home > other >  Questions about the python interpreter.
Questions about the python interpreter.

Time:11-26

Said the textbook with the python interpreter performs the following code, what I use is pycharm, then use the terminal to tell I don't have the command, then, I use the CMD also not line, then use the terminal python3.6, also not , before also encountered this kind of condition, is the terminal must get a virtual environment to run the whole library, I am very helpless, just want to ask how to use the terminal to generate this thing!

CodePudding user response:

Get_data (), init_network () function is not defined, they can solve the problem of the front,

CodePudding user response:

in a :
You
To find out, the book code is running in the python shell
So is clear, the get_date () code, is the need to input function definition, can continue to call execute
All clear after
You can input the complete code in the python shell, to test the effect you want

, :

Special extremely detailed reply to you, and have to tidy my special tutorial:

System terminal and a Python shell, Python beginners small white common errors and problems


Believe you won't be disappointed,??

CodePudding user response:

refer to the second floor crifan response:
in a :
You
To find out, the book code is running in the python shell
So is clear, the get_date () code, is the need to input function definition, can continue to call execute
All clear after
You can input the complete code in the python shell, to test the effect you want

, :

Special extremely detailed reply to you, and have to tidy my special tutorial:

System terminal and a Python shell, Python beginners small white common errors and problems


Believe that won't let you down,?

Thank you , that's very kind of you!
  • Related