Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Sublime text 3 compiles python


May 24, 2021 Sublime Text Use the manual


Table of contents


Description of the problem:

St3 under ctrl-b execute python file, error "ImportError: can import name ThreadingTCPServer"

But there is no problem on the command line, you can refer to ThreadingTCPServer.

Sublime text 3 compiles python


Answer:

Why don't you think so, you have to have a file name with the same name as the system module?

Each python program file that is covered in the basic tutorial can be imported as a module. You didn't see it?