| Start |
|---|
| Join Paths To join two or more path components together, firstly import os module of python and then use following: The advantage of using os.path is that it allows code to remain compatible over all operating systems, as this uses the separator appropriate for the platform it's running on. For example, the result of this command on Windows will be: In an Unix OS: |
| Path Component Manipulation To split one component off of the path: |
| Absolute Path from Relative Path Use |
Get the parent directory |
| If the given path exists. to check if the given path exists |
| check if the given path is a directory, file, symbolic link, mount point etc. to check if the given path is a directory to check if the given path is a file to check if the given path is symbolic link (opens new window) to check if the given path is a mount point (opens new window) Syntax
|
Read Article
https://develop.horje.com/learn/1434/reference