Tag: Python
-
Run a Python program in a terminal that opens automatically
I have developed a Python program called ping_script.py, which runs on a Raspberry Pi and continuously pings a hostname and save the results to text file. For checking purpose, I want to display the ongoing pinging process on a 5″ LCD display when the Raspberry Pi starts up. To get the job done, I tackle… Read more
-
Using Openpyxl in Python to read/write Excel file
Please find the full program in the GitHub link below https://github.com/FelixT123/CS-Student/tree/main/Openpyxl Openpyxl is the most common library for Python to read/write Excel file. I spent half a day to familiar myself with how the library operates. Below are a few snapshots when the program is running Asked to type the file name of the PNG image… Read more
-
MasterMind game programmed in Python
To access the full code, please go to the following link: (Choose the one programmed in Python) https://github.com/FelixT123/CS-Student/tree/main/MasterMind The same MaserMind game developed using Python instead of Matlab that I created earlier. The logic flow and user interface in Python remain unchanged from that in Matlab. Below are a few snapshots when the program is… Read more