Running on liner Python is sometimes just fells awesome, practice with caution though. Below spits out uuid4 using Python one liner.
Reference(s):
http://stackoverflow.com/questions/2043453/executing-python-multi-line-statements-in-the-one-line-command-line
c:\> ipy -c "import uuid; print(uuid.uuid4())"
Reference(s):
http://stackoverflow.com/questions/2043453/executing-python-multi-line-statements-in-the-one-line-command-line
Comments