Pycairo is a Python module providing bindings for the cairo graphics library Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the …
maxguy71
-
In this article we show you how to turn text to speech in python using gTTS. What is that ? gTTS (Google Text-to-Speech), a Python library and CLI tool to …
-
In this example we will use regular expressions in python to check for a valid IP address This example will check IPv4 and IPv6 address formats Code # Validate IP …
-
In this article we create a simple calculator using Kivy and python Code from kivy.app import App from kivy.uix.button import Button from kivy.uix.boxlayout import BoxLayout from kivy.uix.gridlayout import GridLayout …
-
In this example we print a pyramid star pattern in python Code rows = int(input(“Enter amount of rows = “)) print(“Pattern”) for i in range(0, rows): for j in range(0, …
-
In this article we look at Kivy and create our first example using Python Kivy is a free and open source Python framework for developing mobile apps and other multitouch application software with a natural user interface (NUI). It is distributed under the …
-
In this article we display a sandglass pattern using python Code rows = int(input(“Enter amount of Rows = “)) print(“====Pattern====”) for i in range(0, rows): for j in range(0, i): …
In this example we will create a calendar using tkinter and python Code #Importing modules from tkinter import * import calendar #function to show calendar of the year def showCalender(): …
You can use the NumPy savetxt function to save arrays in txt format with different delimiters. NumPy savetxt function will work with 1D and 2D arrays, the numpy savetxt also …