pedroanf94 Posted May 31, 2013 at 03:12 PM Report #510270 Posted May 31, 2013 at 03:12 PM (edited) Boas, Alguém sabe como colocar um botão que arranque o comando Rsync do Linux no Windows, com os paths indicados em TextBox`s? Obrigado, Aguardo resposta. Edited May 31, 2013 at 03:13 PM by pedroanf94
_4ndr3 Posted June 16, 2013 at 04:54 PM Report #513259 Posted June 16, 2013 at 04:54 PM O tópico já é antigo mas pronto, a minha sugestão: Para desenhares a interface, podes usar o Tkinter que é a biblioteca para GUI que vem no Python http://www.tutorialspoint.com/python/python_gui_programming.htm . Depois, para invocares o comando rsync, usas o módulo subprocess e invocas a função call() http://docs.python.org/2/library/subprocess.html
Pedro C. Posted June 19, 2013 at 05:50 PM Report #513877 Posted June 19, 2013 at 05:50 PM Aparentemente existe uma implementação do rsync em python: http://code.google.com/p/pyrsync/ Ver: http://stackoverflow.com/questions/4260767/looking-for-cross-platform-rsync-like-functionality-in-python-such-as-rsync-py
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now