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
|
||||
^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue