如何使用wxpython一次单击就完成svn签出?

2024-09-28 22:19:31 发布

您现在位置:Python中文网/ 问答频道 /正文

当我点击GUI中的一个按钮时,我需要从SVN签出。我使用wxpython开发了一个GUI,其中有一个子菜单叫做“svn checkout”。当有人点击那个子菜单时,我需要从SVN结账。我尝试了下面的代码,但对我不起作用。你知道吗

def OnSvnCheckout:
    svn checkout svn://localhost/dev/main 'D:\my project

Tags: 代码devlocalhostmainmydef菜单wxpython