💻Python is an interpreted high-level programming language for general-purpose programming.

Joined July 2015
Photos and videos
Scraping all images from a web page using urllib to request URLs and creating a BeautifulSoup object to parse HTML DOM elements ••• ••• ••• ••• ••• ••• ••• ••• #learnpyinstagram.com/p/BlHYja4h3Ka/…

1
Creating a mass file renaming tool with 🐍 Python! Working with the os library and directories can be tricky... instagram.com/p/Bk_NLw6hcVu/…

Django is a powerful framework for using Python as a backend. It is well structured and allows… instagram.com/p/Bh-CS7qhIob/

1
Here are two different ways to format strings in Python. You can also concatenate strings using… instagram.com/p/Bhj4P88BJwF/

I’ve uploaded some Python code to GitHub. Feel free to clone the repository and play around with… instagram.com/p/BhaC1SMH1Mz/

It’s good to learn at least one sorting algorithm when studying a new language. Sorting is… instagram.com/p/BhR1uAVHNK7/

A standard implementation of linear search in Python. Linear search is not the fastest algorithm… instagram.com/p/BhIg6bInX24/
This is an implementation of the __str__ method. The __str__ method returns a string… instagram.com/p/BhCa0vKn58v/

A basic implementation of the ROT13 cipher. The ROT13 cipher shifts each letter to the letter in… instagram.com/p/Bg4F0IgHOM3/
The pprint module lets you print data with cleaner formatting. For this example, JSON data is… instagram.com/p/BgpkSi1h5kk/
This is my new logo! 🐍💻 ••• ••• ••• ••• ••• ••• ••• ••• #learnpy #learnpython #pythoninstagram.com/p/BgkoGUOBwsw/

Get the directory of the current file. This is useful for Python projects that have a specific… instagram.com/p/Bgho2a-h0nf/
A basic example of using the os module to create and walk through directories. There are also… instagram.com/p/Bgb5UTlh9eY/

It is often very important to work off of design models. It may seem mundane (especially with a… instagram.com/p/BgWv8FbB3en/

Someone asked me what the significance of “dunder” methods are. Dunder methods are methods with… instagram.com/p/BgT204UB6U6/

Make your own iterable class. Built-in iterable objects in Python have implementations of the… instagram.com/p/BgQO9eVh59b/

Logging is great for debugging and understanding the behavior of a program. With the logging… instagram.com/p/BgNkX4KBh8w/
I added logging to my text comparison script! Lately I have been really fascinated with adding… instagram.com/p/BgKayAWhAKo/
The collections library also included a module called namedtuple. You can create simple,… instagram.com/p/BgIUtNtBaIF/