python/link,stdlib
This commit is contained in:
parent
e488cf47cb
commit
e665c81a2d
2 changed files with 17 additions and 2 deletions
|
@ -9,8 +9,16 @@ Hello world
|
|||
if __name__ == "__main__":
|
||||
print("Hello, world!")
|
||||
|
||||
Directories
|
||||
-----------
|
||||
Files
|
||||
-----
|
||||
|
||||
Links
|
||||
^^^^^
|
||||
|
||||
.. code-block:: python3
|
||||
|
||||
os.symlink('target', 'tmp_path')
|
||||
os.replace('tmp_path', 'path')
|
||||
|
||||
Remove
|
||||
^^^^^^
|
||||
|
|
|
@ -18,3 +18,10 @@ first/module.py → second/module.py
|
|||
----------------------------------
|
||||
|
||||
* first
|
||||
|
||||
Modules
|
||||
=======
|
||||
|
||||
.. code-block:: python3
|
||||
|
||||
'name' in sys.stdlib_module_names
|
||||
|
|
Loading…
Reference in a new issue