Discuss / Python / 修改成  访问 localhost:39093 的方法

修改成  访问 localhost:39093 的方法

Topic source

腾腾2318

#1 Created at ... [Delete] [Delete and Lock User]
//这一句修改为
 HOST = 'localhost:%d' % PORT

//这是你要存放的文件目录,可以不用修改

 TEMP = '/home/zhoutengteng/Desktop/python_study/learn_python_py'  


//后面也有一句修改为
   if origin.find('localhost') == -1:

我下载了learning.py运行助手,运行后39093已经ready,可是在网页上输入localhost:39093打不开网页,请问是什么问题?

夢執億

#3 Created at ... [Delete] [Delete and Lock User]

Press Ctrl + C to exit... Prepare code... Code wrote to: C:\Users\MGQ\AppData\Local\Temp\learn_python_a_79vskv_py\test_1.py Execute: C:\Users\MGQ\AppData\Local\Programs\Python\Python37-32\python.exe C:\Users\MGQ\AppData\Local\Temp\learn_python_a_79vskv_py\test_1.py Execute done. 127.0.0.1 - - [15/Mar/2019 14:21:07] "POST /run HTTP/1.1" 200 -


  • 1

Reply