LearnPython.com
Skip navigation
Courses
Python Library
Articles
Log in
Create free account
fullName
User profile menu open
Open user profile menu
fullName
Dashboard
My Profile
Payment & Billing
Log out
MENU
CLOSE
Courses
Articles
Dashboard
My Profile
Payment & Billing
Log in
Create free account
Log out
Articles
15 Jun 2022
Soner Yıldırım
How to Open and Run Python Files in the Terminal
Do you want to learn how to open or run Python files in the terminal? Read this article. A Python file or script is written in the Python language and saved with a ".py" extension. In this article, we focus on how to interact with Python files. We will learn how to create and open Python files in the terminal. We will also demonstrate how to run Python files in the terminal and redirect the output of the script to a file.
Read more
13 Jun 2022
Xavier Rigoulet
Where Can I Find Good Python List Exercises?
Do you feel like you forgot everything you ever knew about Python lists? Wish you could find good practice Python list exercises? This article will share our top picks. Here is the thing… Practice makes perfect! This is especially true when talking about programming. It’s not enough to watch some videos without putting your newly-acquired skills into practice. Python can belearned quickly, but you still need to solidify your knowledge and practice your coding skills.
Read more
10 Jun 2022
Luke Hande
How to Work with Date and Time in Python
Working with date and time data in Python is an important skill. This article will demonstrate the most important Python date and time modules. Working with dates and times in Python can present some unique challenges. The number of days in a month can change, which can complicate a seemingly simple calculation of the number of days between two dates. Leap years make this more complex if you’re working with data spanning several years.
Read more
8 Jun 2022
Jakub Romanowski
I Took the Python Basics Track... Here's What Happened!
It's time for me to share my story with you. In this article, you will find out how I started learning Python, why I chose the Python Basics track at LearnPython.com, and what pushed me toward programming. Changing my career path shows that anyone can start coding. I started working in media while still a student. I liked how fast everything was; I liked being right in the middle of the action.
Read more
6 Jun 2022
Kamila Ostrowska
Three Months Python: Ready for a Job Interview?
Three months may seem like a very tight deadline. But it can be exactly the amount of time you need. Preparation for a Python job interview depends on your motivation and the learning path you choose. Let’s say that you have an interview for your dream Python job in three months. Your first move is to re-check all requirements for the position. It turns out that you need to be able to code Python at a certain level.
Read more
3 Jun 2022
Kateryna Koidan
Python Coding Project Ideas for Beginners
Need to practice your Python coding skills but can’t think of a beginner-level project? Check out our seven Python project ideas! Coding projects are the best way for beginners to get their first programming experience. In this article, I’ll suggest a few Python projects aimed at developing a variety of skills, like web scraping, building simple games, or even developing machine learning models. Why Should You Do Your Own Project?
Read more
30 May 2022
Marko Calasan
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.
Read more
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.
Read more
25 May 2022
Kateryna Koidan
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.
Read more
23 May 2022
Soner Yıldırım
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.
Read more
««
«
1
2
3
15
16
17
33
»
»»