Python Console Menu
juraj.papic at bghtechpartner.com
juraj.papic at bghtechpartner.com
Tue Jul 31 12:25:20 EDT 2018
El martes, 31 de julio de 2018, 11:56:47 (UTC-3), Tcpip escribió:
> Hi all,
>
> Im new with python, im working on a Python console Menu, I found some examples on Git, but what I need to understand is how I can call a subprocess.
>
> Here is an Example ,
>
> if choice==1:
> print "Test SSH Connection (check ssh to all hosts)"
> ## You can add your code or functions here
> #print_menu()
> elif choice==2:
> print "Menu 2 has been selected"
> ## You can add your code or functions here
> elif choice==3:
> print "Menu 3 has been selected"
> ## You can add your code or functions here
> elif choice==4:
> print "Menu 4 has been selected"
> ## You can add your code or functions here
> elif choice==5:
> print "Menu 5 has been selected"
> ## You can add your code or function here
>
>
> Thanks.
I will check the links thanks for that tips, is there any page where I can see more examples?
Thanks.
More information about the Python-list
mailing list