Some built-in functions of python

Built in function mind map: https://www.processon.com/mindmap/5c10ca52e4b0c2ee256ac034 Built-in function Anonymous function The unified name of anonymous function is: < lambda > Usage scenario: used with sorted, map and filter   fn = lambda a, b : a + b # Define a very simple function. Do not use complex functions lambda ret = fn(3, 5) p ...

Posted by jimbob on Thu, 05 Dec 2019 01:16:29 -0800

pycharm's latest code, share it with you

The latest pycharm activation code, by November next year, a hardworking Python programmer In the past two days, I have been busy with the small projects arranged by the school, which are less updated for you. I will fill them up slowly and study hard at pycharm. If you have any questions, please ask me. I will try my best to help you answer th ...

Posted by Lillefix on Wed, 04 Dec 2019 21:14:46 -0800

python crawler project

python crawler scratch project (2) Crawling target: fangtianxia national rental information website (starting url: http://zu.fang.com/cities.aspx) Crawling content: City; name; rental method; price; house type; area; address; transportation Anti creep measures: set random user agent, set request delay operation 1. Start to create project 1 scr ...

Posted by stelthius on Wed, 04 Dec 2019 03:37:38 -0800

I'm going blind. I use Python to protect my eyes

background Recently, it's more and more hard to watch the computer at work, and my eyes are more and more uncomfortable. Occasionally, a few tears will come out. At this time, I finally realized that it must be excessive use of eyes. On average, I stare at the screen for no less than eight hours every day, and my eyes don't get pro ...

Posted by mckinney3 on Fri, 29 Nov 2019 23:01:47 -0800

pycharm crack permanent activation method

There are many activation codes on the Internet now, but they are all short-term. We need to always find new activation codes. Here is a way to activate permanently. First, we need to see the curative effect. By 2100, there will be 80 years left. Ha ha Method: Step 1: download the patch file JetbrainsCrack-release-enc.jar ...

Posted by mindfield on Tue, 26 Nov 2019 07:57:13 -0800

python crawls Douban book information

Crawling Top 100 cat's eye movies After that, I will climb the book information of Douban (mainly the information, score and proportion of the book, but not the comments). Original, reprint please contact me. Requirement: crawling all books under a certain type of label of Douban Language: python Support library: Regular, parse and search ...

Posted by Jarod on Tue, 12 Nov 2019 19:47:06 -0800

Python collects Himalayan audio, anytime, anywhere, listen to me

Preface The text and pictures of the article are from the Internet, only for learning and communication, and do not have any commercial use. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. PS: if you need Python learning materials, you can click the link below to get them by yours ...

Posted by PcGeniusProductions on Sun, 10 Nov 2019 10:11:01 -0800

python crawls top100 data for cat-eye movies

Recently there are crawler-related requirements, so I looked for a video (link in the end) on Station B and made a small program, which generally did not modify, but in the final storage, changed from txt to excel. Brief Requirements: Crawl Crawl Cat Eye Movie TOP100 List Data Use language: python Tools: PyCharm Involving libraries: re ...

Posted by PhantomCube on Thu, 07 Nov 2019 06:53:49 -0800

Flask custom time filter

About the Flask filter The function of the filter provided by Flask is limited, and it can't meet the user's requirements in many cases. Therefore, Flask provides the user with a template filter decorator, which is used to create user-defined filters Time display Regular users of blogs will notice that the general ...

Posted by westminster86 on Sat, 02 Nov 2019 06:05:03 -0700

Python 3 basic multiplication table

       Python : 3.7.3          OS : Ubuntu 18.04.2 LTS         IDE : pycharm-community-2019.1.3       Conda : 4.7.5    typesetting : Markdown   code_1 """ @Author : Xing Xin @Date : 2019/7/2 @Blog : www.cnblogs.com/xingchuxin @Gitee : gitee.com/zhichengjiu """ def main(): # The final value is 9 end_num = 9 # Row cou ...

Posted by grga on Thu, 31 Oct 2019 15:56:11 -0700