from: can't read /var/mail/ in Python scripts

If you add a Python file to your PATH, maybe you will see this error:

from: can't read /var/mail/$First_Library_Name

This happend, because you need to be explicit with application you want to run your script.
To fix it, just add in the first line of your script the following line:

#! /usr/bin/python

Enjoy it!


Popular posts from this blog

Fix "Set scan parameters failed: Input/output error" on Ubuntu 16.04

SNMP + Telegraf + InfluxDB