specifying a directory path in python
Hi, I'm trying to write a script in python to extract data from maillogs in gz format. I wrote a shell script but i now want to do this in python, as thats the preferred method where i work.
anyway does anyone know how to specify directory paths
for example the maillogs exist in /var/log so i want the script to go to that directory
would LOG_DIR="/var/log/" work?