Home > other >  Help: regarding the from XXX import yyy
Help: regarding the from XXX import yyy

Time:09-23

Masters, ask a question, also please help solve, in this thanked the,

The following import statements
The from XXX import yyy

If XXX is a suffix of documents, and XXX is a. Py files, compared the import have to differ?

For example, when using a superset superset/bin file under a file called superset (note that no filename suffix)
The file content is a python script that can be used on the command line python superset the run command can start application development environment,
If the file name is revised as superset. Py, at the command line using the python superset . Py run, will prompt wrong,

Also please help patient explanation, thank you,

CodePudding user response:


I'm fine, don't know what your specific reason

CodePudding user response:

Test and the test. Py together at the same time, the python test run, the actual execution is the test. The py

The graph below, the first python superset run, the actual execution is superset with directory. The py,
Delete the same. Py files, and then execute python superset run, you can see to start the program,

  • Related