Introduction to File Paths and Python's pathlib: Python Basics

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024
  • How do you create file paths with Python? Using the pathlib module simplifies accessing file paths on Windows, Mac, and Linux systems. In this portion of our larger video course, you'll get introduced to the pathlib module and how to structure Path objects. Along that way you'll also learn how to access your home and current working directories.
    This is a portion of the complete course, which you can find here:
    realpython.com...
    The rest of the course covers how to:
    Working with relative paths
    Accessing file path components
    Creating directories and sub-directories
    Creating files
    Searching directories using Glob methods
    Moving files and folders
    Deleting files, folders, and non-empty directories

Комментарии • 4

  • @eduardoruizrios6140
    @eduardoruizrios6140 Год назад

    Great video!

  • @lekaranja
    @lekaranja 7 месяцев назад

    What are the two small functions that you wrote to represent long sequence of bits?💁🏾‍♂️

  • @MegaSysadm
    @MegaSysadm Год назад

    Thanks this was helpful. I only knew how to use os.path.

  • @mayankchauhan7993
    @mayankchauhan7993 Год назад

    At 7:08, what is package used for showing function parameters (decimal=False)?