Sometimes we want to iterate over a dictionary in sorted order of values. We can do it by using key argument to python sorted() method read more
Here are some cool python one liners. Parse apache log using python: print 5th field python -c “import csv,sys;f=csv.reader(sys.stdin, delimiter=’ ‘); print ‘\n’.join([r for r read more
If you want to try out stuff as root which can potentially break you site, you are always scared of trying that on your main read more
Copyright © 2017 InfoHeap.
Powered by WordPress