Size: 611
Comment:
|
Size: 391
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
# cmd.py # ^^^^^^ # Mimics the windows command line. Good if the system admin has locked it off. # Made for Windows XP import os command = "" wd = os.getcwd() print "Shell Window Replacement by fatalGlory" print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" print "" while command != "exit": command = raw_input("" + wd + ">") if command.split(" ")[0] == "cd": try: os.chdir(command.split(" ")[1]) wd = os.getcwd() except: print "Bad command or file name." else: cmd2 = os.popen(command) print cmd2.read() |
My name's Karin Spillman but everybody calls me Karin. I'm from Germany. I'm studying at the university (3rd year) and I play the Cello for 10 years. Usually I choose music from the famous films ;). <<BR>> I have two brothers. I like Stone collecting, watching TV (Sons of Anarchy) and Vintage car.<<BR>> <<BR>> Also visit my page [[http://ngear3dsemulator.com/|3ds emulator no survey]] |
My name's Karin Spillman but everybody calls me Karin. I'm from Germany. I'm studying at the university (3rd year) and I play the Cello for 10 years. Usually I choose music from the famous films ;).
I have two brothers. I like Stone collecting, watching TV (Sons of Anarchy) and Vintage car.
Also visit my page 3ds emulator no survey