Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我单击 GUI 中的单个按钮时,我需要从 SVN 结帐。我使用 wxpython 开发了一个 GUI,其中有一个名为“svn checkout”的子菜单。当有人单击该子菜单时,我需要从 SVN 结帐。我尝试了以下对我不起作用的代码。
def OnSvnCheckout: svn checkout svn://localhost/dev/main 'D:\my project
您可能想在 shell 中运行 svn 命令:
import os def OnSvnCheckout(event): os.system('svn checkout svn://localhost/dev/main D:\my project')