擅长:python、mysql、java
<p>你应该试试-</p>
<pre><code>dos2unix <filename>
</code></pre>
<p>将在windows中创建的文件转换为unix格式。<a href="http://linuxcommand.org/man_pages/dos2unix1.html" rel="nofollow">Reference</a></p>
<p>请注意,dos2unix是一个<strong><em>而不是python代码转换</em></strong>,它会将dos字符转换为unix等效字符。在</p>