Multi-process of python

from multiprocessing import Process
import os

-sharp 
def run_proc(name):
    print("")

if __name__=="__main__":
    print("Parent process %s." % os.getpid())
    p = Process(target=run_proc, args=("test",))
    print("Child process will start.")
    p.start()
    p.join()
    print("Child process end.")

clipboard.png

python
Processpycharm
multiprocessing:

clipboard.png
there is no Process.py file, so how does python execute the code without reporting an error?

I think python is very difficult. I used to use Java,Java as long as it imported the path of the package. If eclipse reports red, it will definitely report an error. But in the face of the python, editor, it has become popular, but there is no problem in running it. I am so confused.
all the multiple processes I found on the Internet about python, the first sentence is from multiprocessing import Process,. Hasn"t anyone encountered the problem of Process popularity? Or did you use a smarter python editor than IDE like pycharm?

Jul.29,2021

because there is a sentence in the _ _ init__.py file of the multiprocessing package:
from. Import context


IDE reports errors but does not report errors probably because the version of the parser configured in IDE is not consistent with the running environment. Please check the settings of Default Settings-> Project Interpreter


MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36eaf-2c066.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36eaf-2c066.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?