About 195,000 results
Open links in new tab
  1. os — Miscellaneous operating system interfaces — Python 3.14.2 ...

    Since Python 3.4, file descriptors created by Python are non-inheritable by default. On UNIX, non-inheritable file descriptors are closed in child processes at the execution of a new program, …

  2. os.mkdir () method-Python - GeeksforGeeks

    Jul 11, 2025 · os.mkdir () method in Python create a new directory at a specified path. If the directory already exists, a FileExistsError is raised. This method can also set permissions for …

  3. Create a Directory in Python: mkdir (), makedirs () - nkmk note

    Apr 19, 2025 · In Python, you can create new directories (folders) using the os.mkdir() and os.makedirs() functions. While os.mkdir() creates a single directory, os.makedirs() is more …

  4. How to Use os.mkdir in Python - PyTutorial

    Oct 13, 2024 · Learn how to use the os.mkdir function in Python to create directories with step-by-step examples.

  5. Python os.mkdir () - W3Schools

    Definition and Usage The os.mkdir() method is used to create a directory. If the directory already exists, FileExistsError is raised Note: Available on WINDOWS and UNIX platforms.

  6. Python os.mkdir Function - Complete Guide - ZetCode

    Apr 11, 2025 · This comprehensive guide explores Python's os.mkdir function, which creates directories in the file system. We'll cover basic usage, error handling, path specifications, and …

  7. Python `os.mkdir` Tutorial: Creating Directories with Ease

    Jan 26, 2025 · The os.mkdir function is part of the Python standard library's os module. It stands for "make directory" and is used to create a new directory in the file system.

  8. Python - Create Directory - os.mkdir ()

    To create a directory using Python program, use os.mkdir () function and pass the directory path to be created as an argument to the function. In this tutorial, we shall learn how to create a …

  9. An In-Depth Guide to Python‘s os.mkdir() Method - TheLinuxCode

    In this comprehensive guide, we‘ll cover everything you need to know about os.mkdir() including basic usage, advanced techniques, best practices, and more. Being able to handle files and …

  10. Python os.mkdir () Method - Online Tutorials Library

    The mkdir () method is a built-in function of Python OS module that allows us to create a new directory at the specified path. We can also specify the mode for newly created directory. …