Java self study - I/O Chinese problems

Coding Chinese in Java Step 1: coding concept The computer can only store numbers, and all characters will be converted into different numbers. Just like a chessboard, different words are in different positions, and different positions have different numbers. Some chessboards are very small, only numbers and English can be put Some are bigger, ...

Posted by Deposeni on Sun, 27 Oct 2019 21:44:42 -0700

Android 02 file storage

1. test 1. From the perspective of code visibility. Black box test, test code invisible through documents. Automated tests are tested by scripting. White box test, programmers write code to test. 2. Granularity from test. Unit test, integration test, system test. 3. From the level of violence. Pressur ...

Posted by shamilton on Sun, 27 Oct 2019 00:32:10 -0700

Deliberate practice: Python foundation -- Task07. File and file system

background We're going to use 17 days to "Deliberate practice of Python foundation" It is divided into the following tasks: Task01: variables, operators and data types (1day) Task02: condition and cycle (1day) Task03: list and tuple (2day) Task04: string and sequence (1day) Task05: function ...

Posted by AMCH on Sat, 26 Oct 2019 20:16:23 -0700

Noodle cart

1. noodle cart 1. Print out the goods in cycle first 2. The user inputs the number to select the product (judge whether it is a number and whether the number is within the range) 3 take out the commodity name and price 4. Judge whether the user balance is greater than the commodity price 5. If the balance is greater th ...

Posted by endlyss on Fri, 25 Oct 2019 09:11:35 -0700

Python tip challenge (16-25)

16. Printing of RMB amount When the bank prints the bill, it often needs to convert the RMB amount in Arabic numerals into capital letters. Now please complete such a procedure. In Chinese capitalization, 0 to 10 and 100, 1000 and 10000 are successively expressed as: one hundred twenty-three, four fift ...

Posted by andrewdunstall on Thu, 24 Oct 2019 01:39:16 -0700

Simply crawling the word cloud generated by the short comment of Douban in the movie clown

Introducer   I saw the Jekyll Phoenix movie a while ago, and I was very curious about what the audience would say about it after watching the movie. After watching the Douban short review, I thought that python would extract the most words in the short review and make a word cloud to see what the key words left for the audience. Grab da ...

Posted by boo_lolly on Wed, 23 Oct 2019 14:01:36 -0700

Making notes on the simple video player for the summer primary school class of senior Xuelei

Because the direction of the paper is divided (yes, it is divided, not chosen by oneself, there are many reasons. Postgraduate students, at the very beginning, in December, the reply was done in content development. Although it was very hopeless, it still needs to be done a little bit. The direction of ...

Posted by Cinds on Wed, 23 Oct 2019 09:45:03 -0700

Queue, interprocess communication, thread

Catalog Process mutex Multi process and rush to buy the remaining tickets at the same time Using locks to secure data queue Interprocess communication Producer and Consumer thread The concept of thread Two ways to create threads Method of thread ob ...

Posted by ondercsn on Tue, 22 Oct 2019 14:10:23 -0700

Python 3 | txt transfer to Excel | encode each data element with Pinyin + numbers | read multiple folder contents | import xlwt + xpinyin + os

Python 3 | txt transfer to Excel | encode each data element with Pinyin + numbers | read multiple folder contents | import xlwt + xpinyin + os I'm studying at zero school, and I'm bullied by my lovely elder martial sister. I do all kinds of chores to sort out forms, so I have this blog. I copied the d ...

Posted by tisource on Tue, 22 Oct 2019 11:08:51 -0700

Method injection of spring learning

Single bean injection multiple beans MyPrototype,MyController @Component @Scope("prototype") public class MyPrototype { } @Controller public class MyController { @Autowired MyPrototype myPrototype; public MyPrototype getMyPrototype() { return myPrototype; } } MyConfig @Configuration @ComponentScan(value="com.learn.annota ...

Posted by discostudio on Tue, 22 Oct 2019 08:46:44 -0700