- Home
- File
File
Articles
- Read, Write, and Create Files in Python (with and open())
- Create a Directory in Python: mkdir(), makedirs()
- Delete a File/Directory in Python: os.remove, shutil.rmtree
- Move a File/Directory in Python: shutil.move
- Copy a File/Directory in Python: shutil.copy, shutil.copytree
- Check If a File/Directory Exists in Python: os.path.exists, isfile, isdir
- Get the Filename, Directory, Extension from a Path String in Python
- Get a List of File and Directory Names in Python
- How to Use glob() in Python
- Get and Change the Current Working Directory in Python
- Get the Path of the Current File (Script) in Python: __file__
- Get the File/Directory Size in Python: os.path.getsize
- Zip and Unzip Files in Python: zipfile, shutil
- How to Use pathlib in Python