how to show the right word in my code, my code is : os.urandom(64)
<p>My code is:</p>

<pre><code>print os.urandom(64)
</code></pre>

<p>which outputs:</p>

<pre><code>&gt; "D:\Python25\pythonw.exe"  "D:\zjm_code\a.py" 
\xd0\xc8=&lt;\xdbD'
\xdf\xf0\xb3&gt;\xfc\xf2\x99\x93
=S\xb2\xcd'\xdbD\x8d\xd0\\xbc{&amp;YkD[\xdd\x8b\xbd\x82\x9e\xad\xd5\x90\x90\xdcD9\xbf9.\xeb\x9b&gt;\xef#n\x84
</code></pre>

<p>which isn't readable, so I tried this:</p>

<pre><code>print os.urandom(64).decode("utf-8")
</code></pre>

<p>but then I get:</p>

<pre><code>&gt; "D:\Python25\pythonw.exe"  "D:\zjm_code\a.py" 
Traceback (most recent call last):
  File "D:\zjm_code\a.py", line 17, in &lt;module&gt;
    print os.urandom(64).decode("utf-8")
  File "D:\Python25\lib\encodings\utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-3: invalid data
</code></pre>

<p>What should I do to get human-readable output?</p>
