Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by m.wasowski for Get full path of currently open files

This seems to work (on Linux): import subprocess import shlex cmd = shlex.split('lsof -F n +d .') try: output = subprocess.check_output(cmd).splitlines() except subprocess.CalledProcessError as err:...

View Article


Get full path of currently open files

I'm trying to code a simple application that must read all currently open files within a certain directory. More specificly, I want to get a list of files open anywhere inside my Documents folder, but...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>