About 2,520,000 results
Open links in new tab
  1. coding style - Python: variable naming convention - file, path ...

    Apr 19, 2018 · Python: variable naming convention - file, path, filepath, file_path Asked 7 years, 7 months ago Modified 3 years, 3 months ago Viewed 12k times

  2. What does \\\\?\\ mean when prepended to a file path

    For file I/O, the "\\?\" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system.

  3. Difference between forward slash (/) and backslash (\) in file path

    Jan 31, 2024 · I was wondering about the difference between \\ and / in file paths. I have noticed that sometimes a path contains /and sometimes it is with \\. It would be great if anyone can explain when …

  4. Extract file name from path, no matter what the os/path format

    Dec 5, 2011 · Which Python library can I use to extract filenames from paths, no matter what the operating system or path format could be? For example, I'd like all of these paths to return me c: …

  5. What does two asterisks together in file path mean?

    Feb 27, 2022 · Basically it means that all files with extension config would be processed from the all subdirectories of $(Services_Jobs_Drop_Path) path. MSDN, Using Wildcards to Specify Items: You …

  6. string - How do I get the filename without the extension from a path in ...

    Why do you resolve() the path? Is it really possible to get a path to a file and not have the filename be a part of the path without that? This means that if you're give a path to symlink, you'll return the …

  7. How do I get the full path of the current file's directory?

    2814 The special variable __file__ contains the path to the current file. From that we can get the directory using either pathlib or the os.path module. Python 3 For the directory of the script being run:

  8. How can I create a full path to a file from parts (e.g. path to the ...

    I need to pass a file path name to a module. How do I build the file path from a directory name, base filename, and a file format string? The directory may or may not exist at the time of call. ...

  9. Reading a file using a relative path in a Python project

    Reading a file using a relative path in a Python project Asked 9 years, 1 month ago Modified 2 years, 1 month ago Viewed 283k times

  10. filenames - What does the ~ mean in a file path? - Super User

    What does the ~ mean in an absolute file path? I see this in the output of things like build scripts but the path does not exist.