Skip to content Skip to sidebar Skip to footer
Showing posts with the label Symlink

Make "python" Run Python3 At The Prompt

I have two python installations.. python --> /Users/fraz/anaconda/bin/python (python2.7) python3… Read more Make "python" Run Python3 At The Prompt

Atomic `ln -sf` In Python (symlink Overwriting Exsting File)

I want create a symlink, overwriting an existing file or symlink if needed. I've discovered tha… Read more Atomic `ln -sf` In Python (symlink Overwriting Exsting File)

Can You Import A Python Module From A Windows Symbolic Link?

I'm contributing to a Python 3 project from a Windows 7 computer. In order to minimise clutter … Read more Can You Import A Python Module From A Windows Symbolic Link?

Find Broken Symlinks With Python

If I call os.stat() on a broken symlink, python throws an OSError exception. This makes it useful f… Read more Find Broken Symlinks With Python