How to Use IDEL (python GUI) in Python Development,
This article describes how to use IDEL (python GUI) in Python development. We will share this with you for your reference. The details are as follows:
After installing Python, we hope to use the python GUI to run some of our programs. How can we use the Python GUI?
After reading this blog, you may use the Python GUI to write your own program.
Let's take a look at how Python GUI is used!
1. Create a new file
Create a new file with the following name:
Test_hello.py
2. Open a file using Python GUI
We can choose test_hello.py, right-click --> Edit with IDLE (that is, Python GUI)
Write the following program:
# Define a variable hello = "hello" # print the variable "hello" print (hello) ######################################## ####### test_list = [1, 2, 3, 4, "hongten"] for I in range (1, 10): test_list.append (I) print (test_list)
The Python GUI is presented as follows:
3. Run the program
Click Run --> Run Module F5
For example:
To run the program.
4. Running Effect
The running effect is as follows:
5. Provides the debug function.
After running the program, we have the deBug option. We can enable the deBug function.
Debug running effect:
Summary:
The overall functionality of the software is not much, so you can use it more than a few times. Finally, I hope this tutorial will help the cainiao who just came into contact with me with Python.