Python, PyCharm 2017 Installation Tutorial, Including Registration Code

Copyright Statement: This article is the original article of blogger [limin13215]. Welcome to reprint it. Reprint the link address: http://blog.csdn.net/limin2928/article/details/69267184! Catalog (?)[+] [Introduction]: I knew it a long time ago Python It's a very powerful scripting language. I haven't had a thorough understanding ...

Posted by mhenke on Fri, 07 Jun 2019 13:15:30 -0700

Who does this keyword point to?

Preface Let's do a little test first. If all the answers are right, congratulations, you don't have to look down. Topic 1 <script> var str = 'zhangsan'; function demo() { var str = 'lisi'; alert(this.str); } window.demo(); // ?? var obj = { str: "wangwu", say: function() { ...

Posted by Gabriel_Haukness on Wed, 05 Jun 2019 16:04:54 -0700

BOM Browser Object Model

BOM Abbreviation of Browser object model, Browser object model 1. Common Objects Windows Window, browser Window Global variables and global functions are defined using the window method Global variables are attributes of windows and can be accessed directly by window.a. Browser Width: window.innerWidth Browser Height: window.innerHeight ...

Posted by jkeppens on Wed, 05 Jun 2019 13:28:39 -0700

Android custom pop-up menus and dialogs

In Android development, there may be many custom layout requirements, such as custom popup windows and custom dialogs. Don't say much, just put on the picture. First, customize PopUpWindow 1.popupWindow protected void showPopWindow(View view, final int pos){ WindowManager wm= (WindowManager) myContext.getSystemService(Context.WI ...

Posted by sparks on Tue, 04 Jun 2019 15:12:56 -0700

Python 2 / Python 3 summary of solutions to the problem of empty line and Chinese encoding when writing csv files

Copyright Statement: This article is the original article of the blogger, reproduced please indicate.   Running environment: Python 2.7.13           python3.6.0        windows    IDE: pycharm Background: When crawling, you need to write in csv format, but find that the contents of the csv file are empty and display one line, which ...

Posted by jblallement on Tue, 04 Jun 2019 12:49:52 -0700

RxJava journey from scratch (2) ---- RxJava operator

This article only parses operators in standard packs.For expansion packs, due to low usage, readers should consult the documentation for their own needs. Create Operation The following operators are used to create Observable. Create: It is easier to create an Observable from scratch using OnSubscribe.It is important to note that when ...

Posted by scald on Mon, 03 Jun 2019 20:38:03 -0700

Setting up ftp server on Aliyun CentOS7

When I was again toyed with various outbound and inbound rules, and after the search engine helped me out of the mud, I decided to write down this experience. 1. Deployment of FTP Server 1.1 Installation of vsftpd _The author uses Aliyun's ECS server (this is not an advertisement, but a reminder: P), the operating system is CentOS7. F ...

Posted by meckr on Mon, 03 Jun 2019 20:28:48 -0700

Source Code Reading Analysis-Window s Basic Principle and System Architecture

After doing android for a while, we began to hear some people say AMS, WMS, Windows, Windows Manager, Windows Manager Service and so on. We may understand these words, but we don't necessarily have an architecture map in mind. This time we will understand them from the perspective of source code. Before reading this article, I hope you can take ...

Posted by TheDeadPool on Mon, 03 Jun 2019 17:54:41 -0700

View those things (2) -- Understanding MeasureSpec

Measure is the first step in the process of drawing View. To understand the measurement process of View, we must first understand MeasureSpec. Literally, MeasureSpec means "measurement specification". In fact, it determines the measurement process of View to a certain extent. Specifically, it contains the dimension information of a V ...

Posted by pedrokas on Sun, 02 Jun 2019 16:25:54 -0700

Source Code Analysis of Android Cursor

1. Purpose of this paper Android ContentProvider provides a mechanism for data exchange between processes. and data base The query of the query is the application of this mechanism. So what is Cursor that app gets by querying the database through Uri? Why can we provide data for another process? In this paper, getContentResolver().query( ...

Posted by yes3no2 on Sun, 02 Jun 2019 13:50:29 -0700