


Interactive shell with history box and code box, auto-completion of attributes and file names, auto-display of function arguments and documentation. Powerful macro language.ĭRAKON diagram editor with code generation in Python. eric6 requires Python 3 (and, if desired, PyQt5), and supports CxFreeze and PyInstaller, Django and Pyramid, PyLint and VultureīRIEF-compatible, supports Python syntax, in-buffer Python interpreter, supports lots of languages. Integrated version control interface for Git, Subversion and Mercurial through core plugins. Supports projects, debugging, auto-complete, syntax coloring, etc. Includes P圜rust shell.Ĭomplete IDE, very well integrated with PyQT development, but usable for any kind of project. Extensible through a Python API.Įxtensible in Python part of PythonCard. py files, but it's still a nice IDE to use for python projectsĬream is a free and easy-to-use configuration of the powerful and famous Vim text editor for both Microsoft Windows and GNU/Lfinux.ĬSS editor with syntax highlighting for Python, and embedded Python interpreter. Python language support for Atom-IDE, powered by the Python language server.Ĭlass browser does not currently work for. If you want more tutorials like this tell me what here.įull Code: import sys v=sys.version() if "2.7" in v: from Tkinter import * import tkFileDialog elif "3.3" in v or "3.4" in v: from tkinter import * import tkinter.tkFileDialog root=Tk("Text Editor") text=Text(root) id() def saveas(): global text t = text.get("1.0", "end-1c") savelocation=tkFileDialog.asksaveasfilename() file1=open(savelocation, "w+") file1.write(t) file1.close() button=Button(root, text="Save", command=saveas) id() def FontHelvetica(): global text nfig(font="Helvetica") def FontCourier(): global text nfig(font="Courier") font=Menubutton(root, text="Font") id() nu=Menu(font, tearoff=0) font=nu Helvetica=IntVar() arial=IntVar() times=IntVar() Courier=IntVar() _checkbutton(label="Courier", variable=Courier, command=FontCourier) _checkbutton(label="Helvetica", variable=helvetica, command=FontHelvetica) root.Extensible in Tcl, Tk Can interact with python. Under the last line you added, add this: def FontHelvetica(): global text nfig(font="Helvetica") def FontCourier(): global text nfig(font="Courier") font=Menubutton(root, text="Font") id() nu=Menu(font, tearoff=0) font=nu helvetica=IntVar() courier=IntVar() _checkbutton(label="Courier", variable=courier, command=FontCourier) _checkbutton(label="Helvetica", variable=helvetica, command=FontHelvetica)Ĭongratulations! You have finished a very simple text editor.
