Python basic tutorial - Introduction to web crawler

Foreword Python is a high-level programming language with interpretive, object-oriented and dynamic data types. It was invented by Guido van Rossum at the end of 1989 and the first public release was released in 1991. Since its launch, Python has been welcomed by the majority of developers. It has its excellence in the fields of website develo ...

Added by Joe Haley on Fri, 18 Feb 2022 18:01:15 +0200

Django learning 3 based on pycham -- ORM

What is ORM? ORM, Object Relational Mapping (ORM) pattern, is a technology to solve the mismatch between object-oriented and relational databases. In other words, ORM acts as a translation function. Install third-party libraries pip install mysqlclient Create database What exactly can ORM help us do? Create, delete and modify tabl ...

Added by souravsasi123 on Sat, 12 Feb 2022 18:51:00 +0200

Common methods of string learning in Python

catalogue 1. Join() function splicing: sep.join (iterable) 2. Case conversion: (1) Method upper (): converts lowercase letters to uppercase letters. (2) Method lower(): converts uppercase letters to lowercase letters. (3) Method title (): the first letter of all words is uppercase, and the rest are lowercase (4) Method capitalize(): conve ...

Added by gr8dane on Thu, 03 Feb 2022 02:44:52 +0200

Share the 7 tips of "Python extreme optimization and speed-up" taught by "Grandma Wang" downstairs!

Python is a scripting language. Compared with C/C + +, it has some shortcomings in efficiency and performance. However, there are many times when the efficiency of Python is not as exaggerated as expected. Let's move on to the topic. 1. Code optimization principle This article will introduce a lot of techniques to speed up the running of ...

Added by ronniebrown on Thu, 03 Feb 2022 01:33:00 +0200

PyCharm tutorial: how to build a Sphinx website in Python?

The JetBrain technology exchange group has been opened, and you can join the QQ search group number "786598704" PyCharm Is a Python IDE with a set of tools that can help users improve their efficiency when developing with Python language. In addition, the IDE provides some advanced functions for professional Web development under the ...

Added by the apprentice webmaster on Sat, 29 Jan 2022 15:59:49 +0200

Introduction to Tensorboard and common functions

Tensorboard Tensorboard is a built-in visualization tool of tensorflow. It visualizes the information of the log file output by tensorflow program, which makes the understanding, debugging and optimization of tensorflow program more simple and efficient. The visualization of tensorboard depends on the log file output by the tensorboard program ...

Added by designsubway on Sat, 29 Jan 2022 06:45:05 +0200

python tourism project

Display of small tourism projects The project adopts Vant UI as the UI of the project. The rapid prototyping interface, Vant's official address: https://vant-contrib.gitee.io/vant/#/zh-CN/home The front-end page is formed by Vue cli, and the back-end relies on Django and uses Api communication to complete it quickly Front page display Mai ...

Added by crazykid on Fri, 28 Jan 2022 20:12:31 +0200

Splicing and mixing of pictures

Effect screenshot Introduction to experimental environment Install PIL, numpy, numexpr and other modules pip install pillow pip install numpy pip install numexpr Experimental principle Experimental steps Get resources Experimental materials After downloading, unzip resources Zip and photos Zip file. ● resources / photos: folder ...

Added by ajcalvert on Thu, 27 Jan 2022 20:31:56 +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

[LeetCode algorithm note Python(PyCharm running)] sword finger Offer 24 Reverse linked list

Write in front Xiaobian found it difficult to understand the detailed process of recursion when brushing questions. His head is like a ball of paste, always with big question marks? We didn't understand the detailed logic until we debugged with PyCharm, so a detailed PyCharm running program is attached for debugging and understanding. Tit ...

Added by pneudralics on Tue, 25 Jan 2022 03:25:57 +0200