Getting started with tkinter -- list box, Scrollbar, Scale
tkinter getting started (4) -- list box, scroll bar, Scale
1. List box, for multiple options
2. When there are many list boxes, the solution
3. scale component enables users to select a certain range of data
1. List box, for multiple options
import tkinter as tk
root = tk.Tk()#Generate top windo ...
Posted by xtian on Fri, 26 Jun 2020 20:25:19 -0700
Face recognition based on opencv+python+pycharm
Face recognition based on opencv+python+pycharm
catalog
preface
preparation in advance
Face detection
Sample collection
Sample training
epilogue
preface
I am a sophomore in the University, programming rookie. Recently, I did the final course design, and the topic I chose was face recognition. W ...
Posted by meritre on Fri, 19 Jun 2020 04:31:25 -0700
In order to make my girlfriend happy, I used Python to grab all the major recipe information (see how I did it)
preface:
In the holiday, often want to try their own cooking, kitchen this website is a good choice. Under the kitchen is one of the necessary sites, mainly provides a variety of food practices and cooking skills, including many kinds. Today, I will teach you to climb and take down the recipes in th ...
Posted by Roddy87 on Tue, 16 Jun 2020 22:03:11 -0700
What's the beauty value of your favorite female anchor? Today, I'll take you to test the beauty value of the live female anchor
preface
With the rise of live broadcasting, the career of anchor has gradually come into people's vision. Now each platform has the title of "master Huadan", "first brother", "first sister", etc. In fact, popularity is one aspect, but beauty is the hard power.
Next, I'll take you to the beauty test score of the anc ...
Posted by yoda69 on Sun, 31 May 2020 08:29:18 -0700
Python 100 line code easily crawls the 100G set diagram of Meizi net. I hope you have enough memory on your network disk [with source code]
preface
Recently, I was doing monitoring related supporting facilities, and found that many scripts are based on python. I heard a long time ago that its name is short of life. I learned python, which is not a joke. With the rise of artificial intelligence, machine learning and deep learning, most of the AI code on the market is written in Pyt ...
Posted by miasma on Tue, 26 May 2020 00:19:00 -0700
Challenge to crawl 100 videos per minute. As long as the network speed is fast enough, anti crawl will not catch up with me
preface
Most of the good videos are short videos! The same interface returns different videos to users
Today, I will take you down the video recommended by the system!
Knowledge points
1. Dynamic data capture demonstration
2. json data analysis method
3. Video data saving
Environment introduction
python 3.6
pycharm
requests
json
General thinkin ...
Posted by nvidia on Wed, 13 May 2020 06:56:07 -0700
manjaro Configuration Overview
1 Source
Arrange the speed of Chinese mirrors, select one.
sudo pacman-mirrors -i -c China -m rank
/etc/pacman.conf plus:
[archlinuxcn]
SigLevel=Optional TrustedOnly
Server=https://mirrors.ustc.edu.cn/archlinuxcn/$arch
To update:
sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring
2 Input Method
sudo pacman -S fcitx-im fcitx-confi ...
Posted by geroido on Sat, 09 May 2020 19:53:15 -0700
50 lines of code for you! Hand to hand teaching you how to make the video barrage into the desired shape
Preface
Station B as a barrage video website, has the so-called barrage culture, so let's see next, what is the most barrage in a video?
Knowledge points:
1. Basic process of reptile
2. Regular
3. requests
4. jieba
5. csv
6. wordcloud
Development environment:
Python 3.6
Pycharm
Python section
Step:
import reimport requestsimport csv
1. Det ...
Posted by hmmm on Tue, 05 May 2020 07:32:56 -0700
Python - modules and packages (common modules)
Modular
In Python, a. py file is called a module
Greatly improves code maintainability
You don't have to start from scratch to write code. When a module is written, it can be referenced elsewhere
vim mymod.py
import mymod
mymod.hello()
mymod.world()
package
What if different people write the same module name? ...
Posted by luke101 on Mon, 04 May 2020 09:22:38 -0700
Sesame HTTP: the pit of scikit learn Bayesian text classification
Basic steps:
1. Training material classification:
I refer to the official directory structure:
Put the corresponding text, a txt file and a corresponding article in each directory: as follows
It should be noted that the proportion of all materials should be kept at the same proportion (adjusted according to the training results, the ...
Posted by KevinCB on Sat, 02 May 2020 13:36:22 -0700