Create free account
User profile menu open
Open user profile menu
Payment & Billing
Payment & Billing
Create free account
1 Jun 2022
Python Course of the Month – Working With Strings in Python
It doesn't matter if you write very short Python scripts or complex, advanced Python applications. Being able to work with strings in Python is essential to becoming a confident programmer. For those who want to improve their Python skills, we have chosen the interactive course Working with Strings in Python as the Python Course of the Month for June 2022! This is not a Python course for absolute beginners. If you have never written a line of code or are not familiar with the basic Python syntax, I recommend you start with our Python Basics track and come back later for more.
30 May 2022
Python’s String format() Cheat Sheet
Everything you need to know about formatting strings in Python and the Python formatting mini-language. You may know all kinds of ways to manually manipulate strings in Python – maybe you learned from our Working with Strings in Python course (part of the Python Basics track). Today you will learn about how Python handles string formatting, or the art of combining a string with dynamic data in such a way that it is easily legible by either a human reader or an expecting machine.
27 May 2022
Juliano Luiz Faccioni
5 Ways to Create a Dictionary in Python
Want to step up your Python game? Learn how to create dictionaries in Python from many different sources, including reading from JSON files and combining two dictionaries. So, you've already figured out how to use dictionaries in Python. You know all about how dictionaries are mutable data structures that hold key-value pairs. You understand you must provide a key to the dictionary to retrieve a value. But you may not have realized dictionaries in Python come in all shapes and sizes and from all kinds of sources.
25 May 2022
How Do You Write a Main Function in Python?
If you are just starting with Python, you might not be aware yet of the best practice of defining functions. In this guide, I’ll explain how including a main() function, though not required in Python, can structure your programs in a logical way and ensure that your functions are executed only when expected. The Python ecosystem is very rich in modules, packages, libraries, and frameworks. It is sometimes challenging for beginners to understand the difference between these concepts, but basically they’re all forms of organizing Python code.
23 May 2022
How to Uppercase the First Letter of a Word in Python
Start manipulating textual data by learning how to uppercase the first letter in Python. In this article, we focus on a specific string operation in Python: how to change the letter case of the first letter in a word. A word may consist of uppercase and lowercase letters. We need to consider this because "Python" and "python" are two different strings in Python. Here is an article that discusses the case-sensitiveness of Python in great detail.
20 May 2022
Emad Bin Abid
How to Sort a List of Tuples in Python
Are you confused about sorting lists of tuples in Python? Want to know how to sort them efficiently? This introduction will cover everything you need to know to master this type of sorting. Lists and tuples are essential data structures in Python. In several cases, you may have to sort a list of tuples. This post will teach you how to utilize the sorted() function and the sort() method and the distinctions between the two.
18 May 2022
Upgrade Your Home Office and Write Better Python Code
Is working from home affecting the quality of your Python code? These suggestions will help you code better from your home office! During the pandemic, most of us experienced working from home. Some of us enjoyed it; whereas others suffered from lack of motivation and developed procrastination into an art form. The home office has its pros and cons, for the company as well as for the employee. Setting up a productive home office requires space, equipment and an attitude that will push us toward reaching goals when our motivation is dropping.
16 May 2022
Python Jobs and Salaries in 2022
Python is one of the hottest programming languages. But what are the benefits of a Python job? Why is it worth learning? In the late 1980s, Guido van Rossum started designing the Python programming language. The goal was for it to be a general purpose language; this idea – along with its beginner-friendly nature – made Python very popular over the next decades. Python can be a perfect choice as a first programming language.
13 May 2022
What Are Generators in Python?
Have you ever dealt with datasets so large that your computer's memory couldn’t handle them? Have you ever wondered if there could be a way to interrupt a function in the middle before resuming it? Here is where Python generators come into the picture. Python generators are a way to create custom iterators. You can read more about iterators here. Before we continue, if you are not familiar with Python terminology, check our articles about Python terms for beginners and more Python terms.
11 May 2022
5 Tips for Learning Python From Scratch
Want to become a professional programmer? Heard you should start learning Python? Well, you heard right! Whether you have already decided to learn Python or you are just getting into it, I have 5 tips for you on how to do it right. In this article, I will show you how to approach learning Python effectively. I tested all the learning tips myself. As you are reading this article, you most likely find yourself in the same boat as I was some time ago.