You are on page 1of 8

Name:-……………………………………………….. Roll No.:-……………………………………….

Class:-………………………………………………... Subject:-………………………………………..
CERTIFICATE
CLASS XII C YEAR 2019-20
THIS IS TO CERTIFY THAT THE WORK ENTERED IN THIS
COMPUTER SCIENCE IS THE WORK OF
MASTER…………………………………………………………………………………
……. OF ………………… DIVISION ……………… ROLL NO. ……………..
Uni. Exam no. ……………….. has satisfactorily completed the
required computer science project and worked for year 2019-
20 of KENDRIYA VIDYALAYA NO. 1 AFS PUNE laboratory as laid
down by the school.
.................... ….…………..
External Internal
Examiner Examiner
FRONTEND OF THE PROGRAM (IDLE Python-3.7)

* IDLE is Python’s Integrated Development and Learning Environment.

* IDLE has the following features:

1. Coded in 100% pure Python, using the tkinter GUI toolkit.

2. Cross-platform: works mostly the same on Windows, Unix, and macOS.

3. Python shell window (interactive interpreter) with colorizing of code input, output, and error
messages.

4. Multi-window text editor with multiple undo, Python colorizing, smart indent, call tips, auto
completion, and other features.

5. Search within any window, replace within editor windows, and search through multiple files (grep).

6. Debugger with persistent breakpoints, stepping, and viewing of global and local namespaces.

7. Configuration, browsers, and other dialogs.


THE TKINTER MODULE
The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit. Both
Tk and Tkinter are available on most Unix platforms, as well as on Windows systems. (Tk itself
is not part of Python; it is maintained at ActiveState.)

Running python -m Tkinter from the command line should open a window demonstrating a
simple Tk interface, letting you know that Tkinter is properly installed on your system, and also
showing what version of Tcl/Tk is installed, so you can read the Tcl/Tk documentation specific to
that version.

Most of the time, the Tkinter module is all you really need, but a number of additional modules
are available as well. The Tk interface is located in a binary module named _tkinter. This
module contains the low-level interface to Tk, and should never be used directly by application
programmers. It is usually a shared library (or DLL), but might in some cases be statically linked
with the Python interpreter.

In addition to the Tk interface module, Tkinter includes a number of Python modules. The two
most important modules are the Tkinter module itself, and a module called Tkconstants. The
former automatically imports the latter, so to use Tkinter, all you need to do is to import one
module:

import Tkinter
Or, more often:

from Tkinter import *

class Tkinter.Tk(screenName=None, baseName=None, className='Tk', useTk=1)

The Tk class is instantiated without arguments. This creates a toplevel widget of Tk which
usually is the main window of an application. Each instance has its own associated Tcl
interpreter.
Changed in version 2.4: The useTk parameter was added.

TKINTER USES
Tkinter is the standard GUI library for Python. Python when combined with Tkinter
provides a fast and easy way to create GUI applications. Tkinter provides a powerful
object-oriented interface to the Tk GUI toolkit.
Creating a GUI application using Tkinter is an easy task. All you need to do is perform
the following steps −

 Import the Tkinter module.

 Create the GUI application main window.

 Add one or more of the above-mentioned widgets to the GUI application.

 Enter the main event loop to take action against each event triggered by the user.
MAIN
PROGRAM
OUTPUT
SCREENS
BIBLOGRAPHY
* Google search engine
* Wikipedia
* Youtube.com
* Github.com
* Sumita Arora Class XII Python

You might also like