22 Jul 2022 Xavier Rigoulet Your First Programming Language: Python vs. C++ You’ve decided to learn computer programming! It’s a great idea, but which programming language should you learn? This article will compare two of today’s most popular languages, Python and C++. In this article, I will help you decide which programming language to learn by comparing two of the most popular: Python vs. C++, and if you do not believe me, the TIOBE index ranks the popularity of programming languages. As you can see, Python is the most popular; C++ comes in fourth, behind C and Java. Read more 13 Jul 2022 Xavier Rigoulet How to Improve Your Python Skills In this article, I’ll show you how you can improve your Python skills. Discover what you can do better, faster, and more effectively as you learn Python like never before! You’re all set! You started to learn Python, and your Python home office is ready. But you wonder what to do after completing your first Python course. Or maybe you want to improve your Python skills and increase your market value. 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 13 May 2022 Xavier Rigoulet 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. Read more 12 Apr 2022 Xavier Rigoulet How to Write “Greater Than or Equal To” in Python Comparison operators are an important part of Python programming. In this article, let’s explore how to use the greater than or equal to comparison in Python. Many programming beginners wonder how to write “greater than or equal to” in Python. Well, to write greater than or equal to in Python, you need to use the >= comparison operator. It will return a Boolean value – either True or False. Read more 31 Mar 2022 Xavier Rigoulet How to Sort a List Alphabetically in Python What if you have a list of strings (text items) and you need to sort them alphabetically? In this article, we’ll show you how to sort a list in Python. A sorting algorithm puts elements of a list into a particular order. They help reduce the complexity of a problem and can even optimize other algorithms. Because of its complexity, sorting is one of the most important problems in computer science. Read more 24 Mar 2022 Xavier Rigoulet A Guide to the Python argparse Module Want to write more professional, cleaner-looking code? Use the Python argparse module. This article will show you how to build a command line interface in Python with argparse. In Python, argparse is one of those modules that can help you write more professional and better-looking Python code. This is because argparse makes it easy to write user-friendly command-line interfaces. By the end of this article, you will have acquired a solid knowledge of the argparse module – you can even use the article as your Python argparse cheat sheet. Read more 8 Mar 2022 Xavier Rigoulet How to Use virtualenv in Python Have you tried to install a Python package for a new project, just to see your other projects break because of some compatibility issues? You can avoid this with the help of virtualenv in Python. virtualenv is a tool that allows you to create virtual environments in Python and manage Python packages. It helps you avoid installing packages globally; global installations can result in breaking some system tools or other packages. Read more 15 Feb 2022 Xavier Rigoulet Working With iCalendar in Python In my previous article on How to Work With the Calendar and Arrow Python Modules, we explored how to use calendars in Python. But what about iCal files? In this article, we will discuss how to work with iCalendar in Python, write and read iCal files, and parse a calendar from a URL like Google Calendar. But first, what is an iCal file? The iCalendar (Internet Calendaring and Scheduling Core Object Specification) format allows users to store and exchange calendaring and scheduling information such as events and to-dos. Read more 20 Jan 2022 Xavier Rigoulet Your Guide to pyenv This is your guide to pyenv for changing and switching between Python versions. pyenv lets you switch between Python versions. Running multiple Python versions can be a challenge; pyenv makes it easier to change versions of Python. It's simple and discreet, and it follows the UNIX tradition of the single-purpose tool that does one thing well. It's useful for developers who need access to different versions of the language and those who want to use the latest version of Python without upgrading their entire system. Read more «« « 1 2 3 4 » »»