擅长:python、mysql、java
<p>看起来像</p>
<pre><code>try: # py3
from shlex import quote
except ImportError: # py2
from pipes import quote
quote("hello stack overflow's quite cool")
>>> '"hello stack overflow\'s quite cool"'
</code></pre>
<p>让我走得够远。</p>