0
在使用Python编程时,我遇到了一个问题。反斜杠和正斜杠在Python中混合使用
这行代码:
kickoff.write("rsyncbins\rsync --progress --recursive --delete --exclude rsyncbins/ --exclude etc/ --exclude logs/ --exclude screenshots/ --exclude uninstall.exe rsync://denver-1.download.toontownrewritten.com/ttr_win32/ .")
这进入一个批处理文件,但蟒蛇认为\和/是文件路径和它的螺丝一切。我怎样才能解决这个问题?