??????????????????????
???????????? ???????[ 2016/12/8 15:12:08 ] ????????????????? ???????
???????????????????????????????е??????????????????????UI?????????????????????????????ɡ?
???????????????????????????????????????????е????????
????????UI????????????????????????????????е?????????????д??????????????????????????????Ч???
??????????????????????????ɡ?
??????????
??????Σ???????“??????”??????????е????????????????ζ??????????????????????????????????????????Ч????????????
??????????????????????????γ?????????裬?????д??????????????????????????????п???????????????????????????????????????????У?????ü?????????У???????????????
???????????????????????????????????????????????????????????á?
???????????????
?????????????????????????????????????????ɡ?
?????????£????????Python?????????????????
????· ????????????????????????????
????· ???????????????????????????????????????г???????????
????· ?????????????????????????д??????????Ч????
????· Python??????????????????????C#??java??????á?
???????????
?????????????ɡ?
?????????????????
????????????????????????????????????????????????е??????????
?????????????????~
??????????????FTP???????????????????????????????????????????????
??????????????д??????ɡ?
????sftp = SFTPClient(host="192.168.1.10"?? port=22?? user="root"?? pwd="XXXXXX")
????print "??????????????{}".format(sftp.get_file_update_time(path='/data/www/sg/sg_dev/socket/conf/config/treasure'))
????sftp.close()
????SFTPClient
????????????SVN??
??????2???????SVN??????????????????????????????????????????????????Revert????Update??
???????????????д????????????????
#! /usr/bin/env python
# -*- coding: UTF-8 -*-
from __future__ import unicode_literals
import subprocess
subprocess.Popen(r'TortoiseProc.exe /command:revert /path:"E:??????" /closeonend:0'.encode('gb2312'))
subprocess.Popen(r'TortoiseProc.exe /command:revert /path:"E:???????" /closeonend:0'.encode('gb2312'))
subprocess.Popen(r'TortoiseProc.exe /command:update /path:"E:??????" /closeonend:0'.encode('gb2312'))
subprocess.Popen(r'TortoiseProc.exe /command:update /path:"E:???????" /closeonend:0'.encode('gb2312'))
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11