Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.15 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. text=""
  2.    
  3. fin = file(raw_input(), 'rb')
  4. lst = list(fin.read())
  5. fin.close()
  6.  
  7. for l in lst:
  8.     text= text + str(hex(ord(l)))[2:4]
  9.  
  10. print text.upper()