module - What does a . in an import statement in Python mean? -


I see the code for the Python's multiprocessing module , and it contains the following line: Connection, Pipe Connection from _multiprocessing import instead of

  / Code>  

The precision is the period before the microcosm _multiprocessing . what does this mean? Why period?

This is a new syntax for clearance, it means import from the current package.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -