Summary of python's Usage of Common Built-in Functions

One of the built-in function python object types can be directly used without importing any additional modules. They are all encapsulated in the built-in module _builtins_ and implemented in C language. They are optimized in a large number and run ve ...

Posted on Sat, 07 Sep 2019 01:13:27 -0700 by swallace

The Setting of call_back for Keas Model Training and Preservation

1. Model training fit(x=None, y=None, batch_size=None, epochs=1, verbose=1, callbacks=None, validation_split=0.0, validation_data=None, shuffle=True, class_weight=None, sample_weight=None, initial_epoch=0, steps_per_epoch=None, vali ...

Posted on Fri, 06 Sep 2019 23:12:29 -0700 by kylera

Django Builds Personal Blog: A Praise Function Based on Local Storage

Suppose your blog has been successfully deployed online. You wrote a lot of good articles, interacted with fans and felt a sense of accomplishment. Now you want to go a step further and strive to improve the quality of articles, make them more popular with readers, and create first-class blogs in the circle. The question is how to judge an arti ...

Posted on Fri, 06 Sep 2019 08:07:18 -0700 by matthewlesh

Upgrade of PostgreSQL Large Version

0. Explanation The experiment was upgraded from pg10 to pg11 1. Source code installation, compiling new version itm_pg@oracle-> cd postgresql-11.1 Use the new data directory itm_pg@oracle-> ./configure --prefix=/home/itm_pg/pgsql11.1 --with-pe ...

Posted on Fri, 06 Sep 2019 02:34:44 -0700 by preston_stone

Python Initial Python Decorator

Python Initial Python Decorator 1. The principle of openness and closure: (1) Opening up code extensions It is impossible for any program to think about all its functions at the beginning of its design without any updates or modifications in the future. So we have to allow code to expand and add new functions. (2) Modifying source code is close ...

Posted on Fri, 06 Sep 2019 00:56:32 -0700 by Salis

Preliminary Study on Test Framework of Linear Interface Based on java

In the process of using the java language as an interface test, it is found that the simplicity of the java language is not as simple as that of scripting languages, such as python. Many functions Python can be accomplished in a few ways, one line of code, several lines of java are required, and sometimes it is not easy to understand.Recently I ...

Posted on Thu, 05 Sep 2019 19:50:52 -0700 by simulant

Traversal of Graphs: BFS and DFS

title:'Traversal of graphs: BFS and DFS' date: 2019-09-03 19:24:07 tags: python, data structure categories: Computer theory Ergodicity of Graphs BFS (breadth-first search) Principle and procedure of the algorithm According to the breadth-fir ...

Posted on Thu, 05 Sep 2019 01:24:13 -0700 by LanceT

Python AttributeError: 'Module' object has no attribute 'STARTF_USESHOWINDOW'

Scholars have to be ambitious to learn, not to learn, not to learn, not to become a broad talent, not to aspire to become a scholar. —— Zhuge Liang Du Jinyang Today's new colleague's installation environment encountered a puzzling problem: AttributeError: 'Module' object has no attribute 'STARTF_USESHOWINDOW' It seems that none ...

Posted on Thu, 05 Sep 2019 01:19:59 -0700 by Rai_de

Web Crawler Learning Notes

Web Crawler Learning Notes (2) 1 Data "Python Web Crawler from Introduction to Practice" Tang Song, Chen Zhiquan. Mainly for Python 3 under windows platform. Lessons on Rookie Birds - "python" 2 Notes 2-1 Python Foundati ...

Posted on Wed, 04 Sep 2019 22:53:00 -0700 by JayFM

The sum of two numbers [of moderate difficulty]

Topics Two non-empty linked lists are given to represent two non-negative integers. Among them, their respective digits are stored in reverse order, and each of their nodes can only store one digit. If we add the two numbers together, we return a new list to represent their sum. You can assume that neither of these numbers will begin with ze ...

Posted on Wed, 04 Sep 2019 21:16:52 -0700 by monkuar