Hello everyone, I am spicy.
As a very qualified and standard programmer, of course, I have my own entertainment method, and I will occasionally rectify a wave of leisure time, but my rectification method is more special. It can be collected slowly to study slowly to study slowly. EssenceFriends with bad relationships should be used with caution! I have lost a few fake friends therefore
directory
python3.7
pyinstaller library -used to pack the program into EXE executable files.
Rotary: PIP Install Pyinstaller
pyinstaller Packing command: pyinstaller -f -w file name.py
This program can play with the object. PS: If there is no object, you can New one
Create files:
code is as follows:
# -*- coding: utf-8 -*-
# Set the pier, remember to save the file in UTF-8 format
import tkinter.messagebox
while True:
tkinter.messagebox.showerror('Your computer is going to explode!')
After saving, open the command line to enter the file path:
Use the command to pack the program:
Find the .exe file to open in the distal folder:
This will always circulate the pop -up window, and the task manager can end the task in the process. PS: Objects are irritable! Intersection Intersection
If your friend or roommate is very rolled, you can use this program to let him give up the inner roll and have been happy with you.PS: The relationship is not easy to use! I have lost a few fake friends_
# -*- coding: utf-8 -*-
# Set the pier, remember to save the file in UTF-8 format
import webbrowser
while True:
webbrowser.open('https://www.huya.com/26200503')
Packaging process refers to the above, the running results are as follows:
and then …
Careful warning: Don’t send it to those who are working! Or friends who are not iron! Intersection Intersection
Okay, it’s updated here. If you try it, you will give you a few more next time. By the way, many people are looking for some of the previous source code, learning routes, and videos. I blame me for not knowing it. There is a small card underneath, just find me directly.