Obfuscate a Python script in Unicode escape sequences
<p>I want to obfuscate a Python script by using Unicode escape sequences.</p>

<p>For example, </p>

<pre><code>print("Hello World")
</code></pre>

<p>in Unicode escape sequences is:</p>

<pre><code>\x70\x72\x69\x6e\x74\x28\x22\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64\x22\x29
</code></pre>

<p>From my command line, I can achieve this with:</p>

<pre><code>$ python3 -c \x70\x72\x69\x6e\x74\x28\x22\x48\x65\x6c\x6c\x6f\x20\x57\x6f\x72\x6c\x64\x22\x29
Hello World
</code></pre>

<p>I've create a file and put the "Hello World" Unicode escape sequence in it as the source code.</p>

<p>But when I run it, I get:</p>

<pre><code>$ python3 sample.py
SyntaxError: unexpected character after line continuation character
</code></pre>

<p>How can I use Unicode escape sequences in my source code.</p>