擅长:python、mysql、java
<p>你的第三次审判:</p>
<pre><code> os.system('your command')
</code></pre>
<p>有效。我用过,没关系:</p>
<pre><code>os.system('ipconfig -renew') # Renew all connections windows
</code></pre>
<p>尝试:</p>
<pre><code>os.system('ipconfig -release') # you will disconnect from your network
</code></pre>
<p>然后使用:</p>
<pre><code>os.system('ipconfig -renew') # network will back
</code></pre>