Small Program Cloud Development Practical-Pocket Tool "Today in History"

Preface This project is a small program based on cloud development. This article selects a page in the project - today in history to share cloud development, which will involve cloud functions and cloud databases. As it is a practical project, the basic knowledge of small programs should be transferred to the official documents. This article w ...

Posted on Mon, 29 Jul 2019 23:10:37 -0700 by aznkidzx

Installation of labelme and batch conversion of json files under Win10 system

Installation of labelme and batch conversion of json files under Win10 systemInstallation environment: windows 10, anaconda3, Python 3.6 Because the framework maskrcnn needs json data set, before installing labelme environment and running in-depth learning, I installed anaconda3, in which pyhton is version 3.7. After searching for informati ...

Posted on Mon, 29 Jul 2019 21:36:36 -0700 by chris_2001

Pandas Data Processing Practice

1. Format the crawled data *Refer to Bookschina crawl case* 1. Date format processing:'2018-01-01 / ' def str_time(value): new_value = value.replace('/','') return pd.to_datetime(new_value.strip()) data['book_time'] = data['book_time'].apply(str_time) data.drop_duplicates(inplace=True)# ...

Posted on Mon, 29 Jul 2019 18:13:49 -0700 by unclemid

Python 3 Web Crawler Actual Warfare-38, Dynamic Rendering Page Crawling: The Use of Splash

Splash is a JavaScript rendering service, a lightweight browser with HTTP API. It also connects Twisted and QT libraries in Python. With Splash, we can also achieve dynamic rendering of pages. 1. Functional introduction With Splash, we can achieve the following functions: Asynchronous rendering of mu ...

Posted on Mon, 29 Jul 2019 07:09:50 -0700 by phppaper

Python Web Crawler-Analog Ajax Request Crawling Microblog

Python simulates Ajax requests Sometimes when we crawl a page with requests, the result may be different from what we see in the browser: we can see the normal page data in the browser, but we can not get the result with requests. This is because requests get the original HTML static documents, whil ...

Posted on Sun, 28 Jul 2019 06:43:10 -0700 by gijs25

Warehouse Page P3 for Docker Learning

Visit Docker Warehouse Repository is a place where mirrors are stored centrally. One confusing concept is Registry. In fact, the registered server is the specific server that manages the warehouse. There can be multiple warehouses on each server, and there are multiple mirrors under each warehouse. In ...

Posted on Thu, 25 Jul 2019 20:49:53 -0700 by bughunter2

Introduce the differences between Set, Map, WeakSet and WeakMap

1.set Basic Usage ES6 provides a new data structure Set. It is similar to an array, but the values of members are unique and there are no duplicate values. Set itself is a constructor for generating Set data structures. const s = new Set(); [2, 3, 5, 4, 5, 2, 2].forEach(x => s.add(x)); for ( ...

Posted on Thu, 25 Jul 2019 01:08:51 -0700 by adiwood

Django-views view

1.HttpResponce function HttpResponce(content,content_type=None,status=None,charset=None,*args,**kwargs) Content: The content returned to the view function content_type: The type returned to the view function text/html HTML text text/plain plain text text/css text/javascript Application/xml XML text app ...

Posted on Thu, 25 Jul 2019 00:44:32 -0700 by dreamkiller23

curl commands and HTTP requests

Introduction to curl Curl is an http client running on the command line. Using the curl command, you can make an http request and return the result. I believe that many developers like to use graphical interface tools (for example Postman ) Conduct API debugging. But I think understanding curl command-line tools will bring great help to develo ...

Posted on Wed, 24 Jul 2019 20:09:20 -0700 by Enlightened

JQuery-based draggable list table plug-in TadaTables

Preface In recent projects, TadaTables, a form plug-in that can drag columns to adjust the column position order, is the only plug-in that I have found so far. In the process of searching the usage method, we find that there are not many available cases, and most of them are unknown. This article will give a comprehensive introduction to the ...

Posted on Wed, 24 Jul 2019 19:53:49 -0700 by plezops