The tkMessageBox module is used to display message boxes in your applications. This module provides a number of functions that you can use to display an appropriate message. Syntax Here …
-
-
A collection of simple turtle code examples Type them in and try them out Code # draw star using Turtle import turtle board = turtle.Turtle() for i in range(6): board.forward(50) …
-
In this code example we show you how to use a dictionary to create a simple quiz, then you can loop through the questions and try and answer them This …
-
In this article we look at the tKinter button These buttons are able to display text or images that convey the purpose of the buttons. You can attach a function …
-
In this article we use Pyscreenshot to take a screenshot using python Pyscreenshot tries to allow to take screenshots without installing 3rd party libraries. It is cross-platform. It is only …
-
The statistics module provides functions to mathematical statistics of numeric data. there are a variety of useful functions are available The statistics module was introduced in Python 3.4, so if …
-
In this code example we create a morse code converter in python What is Morse Code Morse code is a method used in telecommunication to encode text characters as standardized sequences of two different signal durations, …
-
In this article we look at python and wmi, first what exactly is wmi. Windows Management Instrumentation (WMI) consists of a set of extensions to the Windows Driver Model that provides an operating system interface …
-
Quicksort is an in-place sorting algorithm it is still a commonly used algorithm for sorting. When implemented well, it can be somewhat faster than merge sort and about two or three times faster than heapsort. Quicksort …
-
A selection sort is an in-place comparison sorting algorithm. It has an O(n2) time complexity, which makes it inefficient on large lists, and generally performs worse than the similar insertion sort. Selection sort is noted for its …