擅长:python、mysql、java
<pre><code>import os
os.path.abspath('<relative to script>/do1.png̈́')
</code></pre>
<p><a href="https://docs.python.org/3/library/os.path.html?highlight=abspath#os.path.abspath" rel="nofollow noreferrer">abspath doc</a></p>