Setup the EasyPHP Dashboard

This article assumes you have installed the EasyPHP Devserver in your Local Environment. Please click here to complete these steps before moving forward if you have not done so. Start EasyPHP Navigate to the Taskbar and right-mouse-click over the EasyPHP Devserver icon to display a pop-up similar to below. Next, click the Devserver 17 menu … Read more

CSV to MySQL Table [EasyPHP + PHPMyAdmin]

This article assumes you have installed and set up the EasyPHP Devserver in your Local Environment. Please click here to complete these steps before moving forward if you have not done so. Ensure the following steps are completed before moving forward: Start EasyPHP Open the Dashboard Start the HTTP and Database servers As a precursor … Read more

How to Erase Contents of a File

Problem Formulation and Solution Overview In this article, you’ll learn how to erase the contents of a file in Python. To make it more fun, we have the following running scenario: Let’s say you have a Python script that retrieves the daily stock exchange prices for five (5) Tech Companies and saves it to prices.txt. … Read more

How to Open Multiple Files in Python

Problem Formulation and Solution Overview In this article, you’ll learn how to open multiple files in Python. πŸ’¬ Question: How would we write Python code to open multiple files? We can accomplish this task by one of the following options: Method 1: Open Multiple Text Files using open() Method 2:Open Multiple Text Files using open() … Read more

How to Check if a Variable is an Integer

Problem Formulation and Solution Overview In this article, you’ll learn how to check if a variable is an integer data type in Python. During your career as a Pythonista, you will encounter many times where you need to test if a variable is an integer or not. πŸ’¬ Question: How would we write Python code … Read more

5 Best Ways to Reverse a Python Dictionary

Problem Formulation and Solution Overview In this article, you’ll learn how to reverse a Dictionary in Python. To make it more fun, we have the following running scenario: We have a Python Dictionary containing three (3) users who are signed up at the Finxter Academy. The current key:value pairs consist of username:id. The owner would … Read more