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 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():…
-
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,…
-
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…
-
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 article we create a digital clock using turtle and we will add a digital clock Code Installation: To install this module type the below command in the terminal.…
-
In this article we will draw a simple christmas tree using python Code width = int(input(“Enter Christmas Tree Width = “)) height = int(input(“Enter Christmas Tree Height = “)) space…