(Actually linux automation still requires shell scripting. Perl and python are both useful additions.)
You can easily install py on windows. Linux has it pre-installed. You can then write a script in any text editor and test-run, without compilation. On windows the bundled IDLE tool is optional but even easier – see https://stackoverflow.com/questions/6513967/running-python-script-from-idle-on-windows-7-64-bit
(Ashish please feel free to add to this list) For coding tests, a beginner would need to learn
- · String common operations. Regex not needed
- · list and dict data structures and common operations. A “Set” may be useful occasionally. Tuple not needed.
- · “in” operator on string, list, dict
- · if/elif/else; while loop with beak and next
- · for-each loop is more useful in coding test, esp. iterating list, dict, string, range()
- · range() function – frequently needed in coding test
- · Define simple functions. Recursion is frequently coding-tested.
- · No need to handle exceptions
- · No need to create classes
- I think “struct-type” classes with nothing but data fields are useful in coding tests, but not yet needed in my experience.
- · No need to learn OO features
- · No need to use list comprehension and generator expressions, though very useful features of python
- · No need to use lambda, map()/reduce()/filter()/zip(), though essential for functional programming
- · No need to use import os and sys modules or open files, which are essential for practical automation scripts