Monday, June 25, 2012

Python Parameters

Python works by passing by value!

So when you pass variables as inputs to procedures, it would evaluate first, and then pass that value to the procedure!

Aliasing commands in windows

You can do so using Doskey command. This used to be standalone external command in earlier versions of Windows, but since the NT based version  have started coming, this has been built into cmd.exe So, this is how you go about it:
C:\Windows\System32>doskey home=cd C:\users\mincho\desktop
C:\Windows\System32>
C:\Windows\System32>home
C:\Users\mincho\Desktop>_