pipenv learning record
3 advanced usage
3.1 creating virtual environment based on Pipfile
pipenv install
Practical examples are as follows: Here, delete the current virtual environment first, and then recreate the virtual environment. You can see that the recreated environment is the same as that before deletion. Not only the virtual environment is recreated ...
Added by kaizix on Wed, 26 Jan 2022 18:34:36 +0200
Winter vacation Python Tour
Winter vacation Python Tour
The club requires self-study of Python, and the card is played every three days. It can be said that it is very friendly to lazy people like me who have no motivation to learn.)
1.23~1.25
The 23rd was very motivated, but I touched it later(
Next time, you must not be so degenerate. You learn very little
Chapter ...
Added by sunwukung on Wed, 26 Jan 2022 16:31:01 +0200
Python phase 3 learning day04
1, JavaScript Foundation
1, JavaScript overview
1. What is JavaScript
1) JS introduction
JS, for short, is a browser interpreted language, which is nested in HTML files and handed to the browser for interpretation and execution. It is mainly used to realize the dynamic effect of web pages, user interaction, front and back-end data trans ...
Added by KirstyBurgoine on Wed, 26 Jan 2022 15:15:47 +0200
A simple CA authentication system based on Java and Python
Implement a simple CA system, which includes the following functions:
Certificate generation: after the user provides a Certificate Signing Request (CSR) and public key, the system will automatically generate a certificate for the user and issue it through email. Two types of certificates for SSL and code signing are supported.Certificate revo ...
Added by rrhody on Wed, 26 Jan 2022 13:37:37 +0200
Method of converting medical record pictures from pdf to text
Task: extract medical records. Some medical records exist in pdf books, but these PDFs are in picture format. These contents need to be converted into text content.Idea: convert the pdf file into a single picture set, and then ocr recognize the single picture, and splice the recognized text.Use pypdf2 module to read pdf and binary content, and ...
Added by kevinjo on Wed, 26 Jan 2022 12:20:45 +0200
Explain Python modules, packages and libraries in detail
1. ModulePython module is a file containing Python definitions and statements (that is, a script file ending in. py);The file name is the module name and the file suffix is py;Within a module, the module name can be__ name__ Method.Definition moduleDefine a module Fibo, that is, create a Fibo Py file# fibo.py# Fibonacci numbers module
def fib ...
Added by bughunter2 on Wed, 26 Jan 2022 11:22:02 +0200
Baidu picture downloader 2.0
I wrote a Baidu picture downloader some time ago, and found that many people need to use it. To tell you the truth, the baidu picture downloader written before is relatively LOW. Today, I just had time to upgrade it.
The way to obtain the complete source code is at the end of the article. If necessary, you can download it directly.
Two bugs hav ...
Added by iceblossom on Wed, 26 Jan 2022 10:27:34 +0200
poetry - Python environment management tool
The use of poetry in Python package management
Poetry is a Python virtual environment and dependency management tool. I used pipenv before. I came into contact with poetry when learning httprunner recently. Poetry is similar to pipenv, and also provides packaging and publishing functions. Official documents: https://python-poetry.org/docs/
py ...
Added by Brandito520 on Wed, 26 Jan 2022 09:42:46 +0200
Chapter 3 Docker and programming language
Docker lifecycle and DockerfileDocker lifecycleDuring the operation of the container, no matter what operation is carried out, once the container exits or restarts, the data in it will be cleared, which is the life cycle of the container.Dockerfile and command linedirectory structuretke-lesson3
├── Dockerfile
├── sources.list sources.list file ...
Added by itisprasad on Wed, 26 Jan 2022 09:19:58 +0200
PyQt5 Usage Summary
Recently, a GUI applet has been developed with pyqt5, which is summarized here~
install
Install pyqt5 and pyqt5 tools
pip install pyqt5
pip install pyqt5-tools
Integrate PyQt in PyCharm
Because I use PyCharm to develop, I integrate PyQt to improve efficiency. The operation steps are as follows 1. Open [file - > Settings - > tools ...
Added by Yola on Wed, 26 Jan 2022 07:56:55 +0200