15 May 2023 Xavier Rigoulet How to Print a Newline in Python Do you know how to print a newline in Python? Do you struggle with multiple print() statements whenever you want to start a new line in your Python script? In this article, we’ll explore how to overcome this pitfall. Newline is a feature related to the Python print()function. Maybe you already understand why you should learn Python but you’re unsure about Python printing techniques. That’s okay; this article will help you out. Read more 10 Apr 2023 Xavier Rigoulet How to Delete a File in Python Need to safely delete files and directories in Python? This article will show you how! How do you delete a file or a bunch of files programmatically? You can do so with the help of Python. In this article, we will cover how to delete a file, a batch of files, or a directory using Python. Let's get started – without deleting the root folder! But first, let’s answer a basic question: Read more 13 Mar 2023 Xavier Rigoulet Best Visual Studio Code Extensions for Python What do you use to write Python code? Have you heard about these Python-friendly extensions to the popular Visual Studio Code editor? Visual Studio Code (VS Code) is an editor that works with many programming languages. It’s designed to make your life as a Python developer easier – especially when you use VS Code’s Python-specific extensions. But first, let's start with a bit of background on the Python programming language. Read more 13 Feb 2023 Xavier Rigoulet Is Python Hard to Learn? Have you heard about Python? And if so, have you ever wondered if it's hard to learn? In this article, I will tell you what Python is and why learning it in 2023 is a good idea. Python is a computer programming language widely used for web development, scientific computing, data analysis, Artificial Intelligence, and many other applications. It is considered one of the world's most popular programming languages and is consistently ranked as a top language by various reports. Read more 6 Feb 2023 Xavier Rigoulet Printing a List in Python – 10 Tips and Tricks Do you know there are many ways to print a list in Python? This article will explore some of my best tips and tricks for printing a list in Python. The Python print() function is an essential built-in function, and it is important to use alongside Pythonlists. To learnhow a Python list works, what kind of data structure it is, and why it is essential to Python and programming in general, it's best to take our Python Data Structure course. Read more 2 Jan 2023 Xavier Rigoulet Python Jobs to Choose in 2023 Learning Python is one of the best ideas if you are thinking about career development. In this article I will show you why. Read and find out which Python job is perfect for you. You’ve heard it over and over: Learn Python, get a Python job, freelance as a Python developer... You keep hearing how great Python skills can be. And you start to wonder if you should jump on the bandwagon. Read more 12 Dec 2022 Xavier Rigoulet Should I Learn Python or Java in 2023? Which programming language do you learn first: Python or Java? In this article, we try to answer these and other burning questions. We have been talking about Python for years now. You may be wondering when the craze will fade. You may even think it is already too late to jump on the bandwagon! It begs the question of whether learning Python is still worth it. Python and Java are two of the most popular programming languages, ranking first and third, respectively, according to the October 2022 TIOBE Index. Read more 7 Nov 2022 Xavier Rigoulet 10 Useful Tips for Writing Python Scripts Would you like some helpful tips for Python scripts? Read on to get some advice from a pro! In this article, I will give you some Python tips and tricks alongside script examples to help you make the best out of Python. First, let's define what a Python script is. A Python script is a set of instructions written in Python to ask the computer to perform some tasks. Read more 10 Oct 2022 Xavier Rigoulet Is Python Still Worth Learning? Is Python worth learning in 2022? This is a valid question, and we’ll answer it in this article. Let's start with some important data. According to the latest Stack Overflow Survey, Python ranks high among the most popular technologies. It is also high up among the loved and highest among the wanted technologies. The IEEE Spectrum ranking also points to Python as the most popular language in 2022. Why is Python so popular as a programming language? Read more 22 Aug 2022 Xavier Rigoulet How to Decrement a Python for Loop Do you know how to decrement in Python? It’s easy! You can do it with a simple for loop, and I’ll show you how. Unlike other programming languages (such as C++) Python has no decrement operator (i.e. similar to the -- in C++). In Python, we state the beginning and the end of the iteration with the number of steps in between. If you need a refresher on the Python for loop, read Kateryna's article on writing forloops in Python, then come back here. Read more «« « 1 2 3 4 » »»