Python novice's skills, master the sense of fullness in hand!
โ the following are some practical Python skills and tools I have collected for a long time. I hope they can be helpful to novices who have just learned python. โโ
1. Exchange variables
x = 6
y = 5
x, y = y, x
print x
>>> 5
print y
>>> 6
2.if statement in line
print "Hello" if True else "World"
>>> Hello
3 ...
Posted by cheikhbouchihda on Thu, 07 Oct 2021 22:39:35 +0200
Write an automatic reminder program for your girlfriend in python
The background of the event is that there are often many trivial things that need to be done at a certain time point. Relying on manpower alone is prone to deviation, especially for players who are easy to get confused. So I started to write a set of code, which can send messages through wechat as needed. Whether it is a memo to serve as an au ...
Posted by ManInBlack on Thu, 07 Oct 2021 21:23:48 +0200
Crawler | Python grabs all answers under the question (with complete code)
Hello, I'm ๐
[year of fighting]
This issue introduces you step by step how to crawl all the Q & a related data. I hope it will be helpful to you.
Target website:
https://www.zhihu.com/question/368550554
Crawl field: crawl the release time, author, approval number, content, etc. of all answers under the question (other fields ca ...
Posted by jv2222 on Wed, 29 Sep 2021 23:50:28 +0200
Crawling of crawling cases Details of the National Drug Administration Cosmetics Production License (crawling dynamic loading data)
1. Experimental Purpose
To crawl the State Drug Administration( Service Platform for Cosmetics Production License Information Management System (nmpa.gov.cn) (Details of cosmetics production (specific information about each enterprise), when we entered the first page of this website, we found that it was structured with 15 pieces of json-type ...
Posted by akreation on Mon, 27 Sep 2021 18:03:42 +0200
Python program development -- Chapter 4 dictionary and collection
1, Dictionary
Dictionary is a kind of mapping type, that is, key value combination. The elements in the dictionary are unordered. Keys can be strings, numbers or tuples, but lists cannot be used.
(1) Dictionary creation
Create a dictionary by using curly braces, or {}, which can contain multiple key value pairs (key value), with colon: ...
Posted by YAOMK on Sun, 26 Sep 2021 09:51:32 +0200
Python Crawler Self-Study Notes Scrapy Framework
Python has many useful frameworks, and the Scrapy framework is the most important one in the crawling world.
1. Installation and Startup
Installation (Command Line)
pip3 install scrapy
Create a scrapy project (command line goes to the directory where the scrapy project is to be created):
scrapy startproject Project Name
Create a crawle ...
Posted by scheols on Fri, 24 Sep 2021 20:11:25 +0200
Write an RPA example using TagUI and Robocorp
RPA example
RPA software
There are many open source RPA software, which will be used next TagUI,Robocorp and WeAutomate Studio As an example, WeAutomate Studio is Huawei's RPA tool, and the developer designer has a 3-month trial period.
TagUI
TagUI is maintained by AI Singapore. It is an RPA command line interface tool that can run on any m ...
Posted by juneym on Sat, 11 Sep 2021 05:05:56 +0200
2021-09-09--python Operator List Derivation with Less Product
A little python knowledge a day
Does it not smell when you add up more???
Section XIV
Operators and public methods
Operator, supports container types
# Multiple variables are assigned to the same value, one to one,
str1, str2 = "abc", "def" # Character string
list1, list2 = [1, 2], [3, 4] # list
t1, t2 = (11, 21), (31, 41) # Tuple tuple ...
Posted by KMC1499 on Thu, 09 Sep 2021 18:34:27 +0200
selenium crawls 51job every minute to get job recruitment details. 100000 data is not a dream
In the era of big data, data has become the most important foundation. Whether it is data mining, data analysis, machine learning or deep learning in artificial intelligence, data is the foundation. Without data, there will be no later development.
The following is the position data of 51job network for data analysis. Environmental Science:
p ...
Posted by DavidP123 on Sat, 04 Sep 2021 03:26:04 +0200