0

Does Python has IDLE like Microsoft Visual studio that you can design your project visually?

I installed Pycharm but I didn't see visual tools ( tools in visual studio toolbox) like visual studio.

10th Apr 2019, 3:59 AM
Yahya Mohammadi
Yahya Mohammadi - avatar
3 Answers
+ 1
in the languages like c# & visual basic.net you can add the buttons and other objects visually and code on them but in languages like python,c++ and etc you should writ the code of theme. by the way in the visual basic and other same languages you can write elements code as well.
10th Apr 2019, 12:12 PM
alireza
alireza - avatar
+ 1
#example of form and button in python from tkinter import * class Window(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.master = master self.init_window() #Creation of init_window def init_window(self): # changing the title of our master widget self.master.title("GUI") # allowing the widget to take the full space of the root window self.pack(fill=BOTH, expand=1) # creating a button instance quitButton = Button(self, text="Quit") # placing the button on my window quitButton.place(x=0, y=0) root = Tk() #size of the window root.geometry("400x300") app = Window(root) root.mainloop() #end دادش اگه سوالی هم داشتی میتونی از تلگرامم بپرسی @Younike
10th Apr 2019, 12:14 PM
alireza
alireza - avatar
0
Merci
11th Apr 2019, 3:55 AM
Yahya Mohammadi
Yahya Mohammadi - avatar