Top "Path" questions

The general form of a file or directory name that specifies a unique location in a file system.

How can I safely create a nested directory?

What is the most elegant way to check if the directory a file is going to be written to exists, …

python exception path directory operating-system
How to permanently set $PATH on Linux/Unix?

I'm trying to add a directory to my path so it will always be in my Linux path. I've tried: …

linux bash unix path zsh
Adding a directory to the PATH environment variable in Windows

I am trying to add C:\xampp\php to my system PATH environment variable in Windows. I have already added …

windows command-line path environment-variables
How to get the filename without the extension from a path in Python?

How to get the filename without the extension from a path in Python? For instance, if I had "/path/to/…

python string path
javac is not recognized as an internal or external command, operable program or batch file

I am experiencing an error while trying to compile Java programs. I am on Windows (this is a Windows-specific problem) …

java path environment-variables command-prompt javac
How to get full path of a file?

Is there an easy way I can print the full path of file.txt ? file.txt = /nfs/an/disks/jj/…

linux file unix path
How to get an absolute file path in Python

Given a path such as "mydir/myfile.txt", how do I find the file's absolute path relative to the current …

python path relative-path absolute-path
Eclipse - no Java (JRE) / (JDK) ... no virtual machine

I am trying to get Eclipse v3.5 (Galileo) to re-run on my computer - I have run it before with …

eclipse path java
'git' is not recognized as an internal or external command

I have an installation of Git for Windows, but when I try to use the git command in Command Prompt, …

windows git path environment-variables command-prompt
Importing modules from parent folder

I am running Python 2.5. This is my folder tree: ptdraft/ nib.py simulations/ life/ life.py (I also have __init__.…

python module path directory python-import