Program Examples

Simple Encryption and Decryption Python

Simple example of encryption text simple encryption.py # Sample Python/Pygame Programs # http://simpson.edu/computer-science/ plain_text = "This is a test. ABC abc"encrypted_text = "" for c in plain_text: ...

Search Twitter’s Tweeted Tweet By Python

Overview Twitter's API is REST-based and will return results as either XML or JSON, as well as both RSS and ATOM feed formats. Public timelines...

Replace String in Python

Often you'll have a string (str object), where you will want to modify the contents by replacing one piece of text with another. In...

Get the Geo Location of an IP Address Python

Geolocate an IP address based on input from the user. For this script, we will be using a bunch of Python modules to accomplish...

Make Simple Calculator Program in Python

In this program, we ask the user to choose the desired operation. Options 1,2,3 and 4 are valid. Two numbers are taken and an...

Popular

Subscribe