Python Forum
Start Putty into Python Form
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Start Putty into Python Form
#1
Hello everyone,

I'm new in this forum and i need help.

I'm a beginner in python programming and i would like to create a Window Form to open SSH Session in tab.
But, i don't how i can put the SSH gui into my tabs of my windows form.

import tkinter as tk

form = tk.Tk()
....

tab_parent = ttk.Notebook(form)
tab_parent.grid(row=2, column=0, columnspan=27, rowspan=2,
               sticky=W+E+N+S, padx=5, pady=5)
        tabServeur = ttk.Frame(tab_parent)
        tab_parent.add(tabServeur, text=TxtServer.get())
...

ConnectButton = Button(form, text='Connect', command=NewTab('arg1', 'arg2'))
ConnectButton.grid(row=1, column=0, columnspan=27,
               sticky=W+E+N+S, padx=5, pady=5)


form.mainloop()
When I click on a "Connect" button, a new tab is created with a ssh Windows (Putty or something else?)

Thank you in advance.
Reply


Messages In This Thread
Start Putty into Python Form - by Schlazen - Mar-20-2020, 10:23 AM
RE: Start Putty into Python Form - by Gribouillis - Mar-20-2020, 11:13 PM
RE: Start Putty into Python Form - by Schlazen - Mar-23-2020, 01:51 PM
RE: Start Putty into Python Form - by Gribouillis - Mar-23-2020, 03:31 PM
RE: Start Putty into Python Form - by Schlazen - Mar-25-2020, 03:03 PM
RE: Start Putty into Python Form - by divya130 - Dec-13-2022, 06:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Python and pandas: Aggregate lines form Excel sheet Glyxbringer 12 2,082 Oct-31-2023, 10:21 AM
Last Post: Pedroski55
  Python Idle won't start totalmachine 9 3,655 Oct-16-2022, 05:57 PM
Last Post: totalmachine
  readline.parse_and_bind() does not work in start-up script of Python interpreter zzzhhh 0 1,592 Jan-18-2022, 11:05 AM
Last Post: zzzhhh
  Error creating database with python and form? shams 3 2,420 Aug-02-2021, 02:00 PM
Last Post: deanhystad
  Error using mariadb select query with form in python? shams 2 2,075 Jul-29-2021, 12:30 PM
Last Post: shams
  html, python, a simple form test 1 1,987 Aug-09-2020, 01:59 PM
Last Post: snippsat
  Reading text from Putty window Nil 5 9,321 Jul-23-2020, 10:27 AM
Last Post: HritikaMehta
  Use Python to start/stop a server service via a webform? oakleaf2001 0 1,792 Apr-04-2020, 06:14 AM
Last Post: oakleaf2001
  Python 3.8 on mac failing to start sgandon 0 2,972 Jan-14-2020, 10:58 AM
Last Post: sgandon
  How to get first 5 images form the document using Python BeautifulSoup sarath_unrelax 0 1,680 Dec-19-2019, 07:13 AM
Last Post: sarath_unrelax

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020