Python Won’t Take Command Line Arguments - Windows Vista
If you use python via the command line in Windows vista, you’ll notice that it won’t accept command line arguments if you run a script.
For example this won’t work: python myscript.py argument1 argument2
Your python script won’t get the arguments.
The fix for Windows Vista is:
- Get an application called: File Type Doctor
- Find the .py extension in the application
- Edit the Open action (add it if it doesn’t exist)
- Select the right python.exe file for “the application to carry
Posted at 11am on 12/21/08 | no comments | Filed Under: bug fix, programming, python, vista, windows read on
Ubuntu Server & Desktop Autologin
To autologin to Ubuntu Server you will need to get mingetty
sudo apt-get intall mingetty
Then you will want to edit /etc/event.d/tty1 and change the following
exec /sbin/getty 38400 tty1
to
exec /sbin/mingetty –autologin your_username tty1
To autologin to Ubuntu Desktop do the following
sudo gdmsetup
- click on the Security tab
- check Enable Automatic Login
- Select the username from the drop down list and click Close









