[Android] [Android] custom fillet image. You can set whether any corner is fillet in xml

[Android] [Android] custom fillet image. You can set whether any corner is fillet in xml This blog has been included in my android development summary - Click [Android development summary] This blog has a reference blog[ android customize a fillet ImageView] Compared with the original blog, this blog has the following imp ...

Posted by eddy556 on Sat, 28 Mar 2020 10:19:36 -0700

How to use python crawler to crawl from a chapter novel to a whole station novel

  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 http://t. ...

Posted by rinventive on Sat, 28 Mar 2020 08:08:42 -0700

Python3 Standard Library: xml.etree.ElementTree XML Manipulation API

1. xml.etree.ElementTree XML Manipulation API The ElementTree library provides tools for parsing XML using event-based and document-based API s, searching for parsed documents using XPath expressions, and creating new documents or modifying existing ones. 1.1 Parsing XML documents Parsed XML documents are represented in memory by ElementTree an ...

Posted by bobc on Thu, 26 Mar 2020 20:48:03 -0700

Introduction and use of ZeroMQ

What I wrote last time Introduction and use of ZeroMQ (1) Pipeline pattern PipeLine mode is used for task allocation, usually in multi-level PipeLine, one or several nodes push the work to many workers, and then push the results to one or several collectors in turn. This pattern is reliable in most cases, because it does not drop messages un ...

Posted by |Adam| on Thu, 26 Mar 2020 02:15:09 -0700

2020Python job 15 -- decorator 2 + iterator

@2020.3.24 (Q1) Homework:1. Compile the parametric decorator explained in class def auth(db_type = 'file'): def inner(func): def wrapper(*args, **kwargs): inp_name = input("your name:").strip() inp_pwd = input("your password:").strip() if db_type == 'file': with open(r'd ...

Posted by JayNak on Wed, 25 Mar 2020 07:33:21 -0700

2020Python job 15 -- decorator 2 + iterator

@2020.3.24 (Q1) Homework:1. Compile the parametric decorator explained in class def auth(db_type = 'file'): def inner(func): def wrapper(*args, **kwargs): inp_name = input("your name:").strip() inp_pwd = input("your password:").strip() if db_type == 'file': with open(r'd ...

Posted by jv2222 on Wed, 25 Mar 2020 07:31:33 -0700

Rich text parser

From http://blog.csdn.net/stephen2wong/article/details/72235930 RichText Rich text parser on Android platform Streaming operation Low invasiveness Support Html and Markdown format text Support image click and long press events Link click event and long press event Support setting pictures in loading and loading errors Suppo ...

Posted by perrio on Tue, 24 Mar 2020 09:19:19 -0700

Children learn data structure (4): merging and sorting

Before learning to merge and sort, please have a general look Eight sorting algorithms that programmers must master (1) Basic ideas Merge sorting is to merge two (or more) ordered tables into a new ordered table, that is, to divide the sequence to be sorted into several subsequences, each subsequence is ordered. Then the ordered su ...

Posted by maddog720 on Mon, 23 Mar 2020 08:15:44 -0700

[NLP] Text Classification and Generalization (rnn, cnn, word2vec, TfidfVectorizer)

1. Emotional Analysis of Chinese Comments (keras+rnn) 1.1 Required Libraries 1.2 Pre-training Word Vector 1.3 Word Vector Model 1.4 Training corpus (dataset) 1.5 participle and tokenize 1.6 Index Length Standardization 1.7 Reverse tokenize 1.8 Building an embedding matrix 1.9 padding and truncatin ...

Posted by d3vilr3d on Sun, 22 Mar 2020 19:07:16 -0700

json operation for Golang

JavaScript Object Representation (JSON) is a standard Protocol for sending and receiving structured information.JSON is not the only standard Protocol among similar protocols.XML (7.14), ASN.1, and Google's Proocol Buffers are similar protocols and have their own features, but JSON is the most widely used because of its simplicity, readability ...

Posted by GregArtemides on Sun, 22 Mar 2020 00:00:01 -0700