Using command lines in Python scripts is fairly straightforward. The script below works in Python 2.8 or higher. There are more options and alternatives to retrieve and process command line, but let’s stick to the basics for now.
Tag Archives: Script
Using Python to check if the application is running as an Administrator
The source below checks if the application is running with administrator privileges. Also, this script works on both Unis and Windows system… well, almost all Windows Systems… it doesnt work on WindowsXP… sorry. 🙁