"Dotan Cohen" <dotanco...@gmail.com> wrote

I have an interactive bash script that asks for a password, then
connects a remote machine via fuse with the supplied password.

there a way to wrap a bash script with Python for a GUI, ask for a
line of user input, then pass that to the bash script?

Rather than wrap the bash script I'd do the equivalent in Python.
Pop up a GUI window that captures the password then call fuse directly from Python via the subprocess module.

Rather than use Qt I'd use EasyGUI to just pop up an input box. It will be much easier.

http://easygui.sourceforge.net/

HTH,

Alan G.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to