Home > other >  Beginners, according to the coding of the teacher, playing operation error
Beginners, according to the coding of the teacher, playing operation error

Time:09-29

CodePudding user response:

The print!

CodePudding user response:

You have 2 error:
1. A slip of the pen
The pint to print

2. The errors of Chinese characters
The double quotation marks in Chinese
 url="http://127.0.0.1:5000" 

Instead of double quotation marks in English
 url="http://127.0.0.1:5000" 


See I wrote a post explained:
[remind] Python beginner developers note: don't make the mistake of input Chinese punctuation

CodePudding user response:

Thank you, now I see the chapter again, to write well,

CodePudding user response:

reference 1st floor chuifengde response:
print
o

Thank you, the pint is, in the video,

CodePudding user response:

refer to the second floor crifan response:
you have 2 error:
1. A slip of the pen
The pint to print

2. The errors of Chinese characters
The double quotation marks in Chinese
 url="http://127.0.0.1:5000" 

Instead of double quotation marks in English
 url="http://127.0.0.1:5000" 


See I wrote a post explained:
[remind] Python beginner developers note: don't make the mistake of input Chinese punctuation

Trouble on the way, urllib. Error. URLError: & lt; [10061] WinError urlopen error because the target machine actively refused, unable to connect

CodePudding user response:

Google searched
Urllib. Error. URLError: & lt; Urlopen error [10061] WinError
Find the
Urlopen error [10061] Errno solution _my2010Sam column - CSDN blog
Python urllib. Request. Urlopen () returning the error 10061? - Stack Overflow
Seems to be:
In your code to access the url links, itself even not
Not your python code,

So:
1. You should post your code, especially the url part
- "people try to help you
2. Make sure your computer, such as using ordinary Chrome to open the url you want to test, to ensure that can be opened,
And then to test in the code,
3. If itself to access the url of the site, like google.com, takes over the wall to link, it will need your installation science and online tools, configure your browser and your code is one of the agents of

You rule out and see yourself, you are what kind of situation,