Month: December 2022
-
Swapping of two numbers
Before Swapping :a = 10b = 2 After Swapping:a = 2b = 10 To do the swapping we have different approaches. 1. Swapping using a temporary variable2. Swapping without using a temporary variable3. Swapping using pointers NOTE: We do not use of the second method in embedded system software writing. Because it would have to…
-
How to make UART Serial Console using Pyserial, Tkinter in python
Screenshot The serial console is written in a python programming language. The GUI is made using the Tkinter library and the serial interface functions are provided by the pyserial library. you can install pyserial from command prompt(windows)/terminal(linux) Python Code
-
How to install and also uninstall python packages using PIP
Python’s functionality can be extended with scripts that are made to do different tasks. They are sometimes super easy to work with and can perform a myriad of tasks with just a few lines of code. You can browse through many packages here: https://pypi.org/ to install these packages you need to have python software already…
-
How to make an Alarm Clock using Tkinter and Python
To make the python code into an executable. I followed this guide How to make a python script into an executable file. Python Code
-
How to make a python script into an executable file
To run a python script. You have to open python in either the command prompt or its IDLE. We can make use of pyinstaller module. Which will take your script and add all the dependencies and create a standalone executable file which you can use just like any other software. To install pyinstaller open your…
-
How to make a calculator in Python using Tkinter module
Python Code
