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 -

javascript - What is an alternative to using getElementByClass for hiding multiple elements? -

javascript - Making the first column of a table fixed on horizontal scroll -