FUN PYTHON PROJECTS
Improve your coding skills
Automate your tweets with Python
Working with Python is fairly easy as programming
languages go. You can do a lot more with it than just
have it say Hello World, though, such as using it in
conjunction with social media network Twitter!
In this tutorial, you’ll learn how to work with
APIs – a way to interface with other programs and
services – using Python and Twython, with the result
being you can send tweets via Python code. This
includes tweets with photos attached, and allows
you to view a feed of tweets as well. Great for robots
or online bots.
magpi.cc/twitterapi
GET STARTED WITH
THE TWITTER API
SHAKESPEAREAN
INSULT GENERATOR
Python can be used for practical, interesting
projects; however, it’s always important to
have a bit of fun, like with this Shakespearean
insult generator.
It will teach you about some basic programming
concepts, such as reading and writing data in CSV
format using Python, manipulating lists, choosing
random items from a list, and how to create a basic
graphical user interface (GUI). These GUI skills
can easily be translated to a lot of different Python
projects and make them much easier to use.
magpi.cc/shakespeareaninsults
Make cursing fun
FEATURE
New year, new projects! magpi.cc 59