Skip to content

Conversation

@Kerrbty
Copy link

@Kerrbty Kerrbty commented Apr 25, 2022

  1. 替换 else 中的 tab,使用 space
  2. print 使用 py3 的写法
  3. commands 在 py3 已弃用,推荐使用 subprocess
  4. py3 中的 dict 已经删除 has_key( ) 方法

已测试,python2.7.5、python3.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant