Pyhton Expression Code - Romantic Christmas

Christmas is around the corner, so this time you'll use the turtle module to write a small, expressive program Development time: 2019-12-15 Development Tools: Sublime Development module: turtle Here's the turtle library. If you're not familiar with it, you can see my previous blog: turtle Library Related Knowledge Points   First, we need to cr ...

Posted by cx3op on Sat, 14 Dec 2019 20:49:03 -0800

The problem of dormitory in Luogu p2055 holiday hasn't been solved

I haven't been blogging for a long time. Because it's so konjaku. What can I do with this konjaku Today, I finally met a template problem (before that, but it's too konjak) But... Write code for 5 minutes, debug for 2 hours. Dividing line: returning to the main topic This is the common Hungarian algorithm. Almost. How to do this problem? 1: L ...

Posted by jon2s on Mon, 28 Oct 2019 08:51:07 -0700

Functions of Python Full Stack Road Series

function Function is the most basic program structure that Python provides for maximizing code reuse and minimizing code redundancy. Functional Formula: Encapsulate a function code into a function, so that it does not need to be repeated in the fu ...

Posted by RoBoTTo on Wed, 14 Aug 2019 06:29:33 -0700

Detailed crawler steps based on scrapy framework (including href grabbing without the Next Page button)

Out of octopus, scrapy has been used to climb a commodity website in the past two days, which could have been much faster. One day, I spent time on a line of code and finally changed a parameter around a big circle. I hope you will take less detours. Many of them are a summary of Mucho. com. https://www ...

Posted by medaswho on Fri, 19 Jul 2019 03:01:00 -0700

Easy to use less in an article

Less is a CSS preprocessing language. It extends the CSS language and adds functions such as variables, mixin s and functions. It makes CSS more maintainable, easy to make themes and expand. Installation of Less Less can be used on browser side, desktop client side and server side. Less compiler is commonly used with koala compiler( http:/ ...

Posted by fitzsic on Fri, 12 Jul 2019 19:23:45 -0700

Easy to use less in an article

Less is a CSS preprocessing language. It extends the CSS language and adds functions such as variables, mixin s and functions. It makes CSS more maintainable, easy to make themes and expand. Installation of Less Less can be used on browser side, desktop client side and server side. Less compiler is commonly used with koala compiler( http:/ ...

Posted by erax on Fri, 12 Jul 2019 19:23:26 -0700

Let me also say Emacs (2)-_Emacs is actually a combination of functions

Summary: Editors such as Vim and Sublime Text are essentially editors.emacs are essentially a combination of functions. Emacs is essentially a combination of functions How emacs differ from help Editors such as Vim and Sublime Text are essentially editors. For example, if we look at vim's help, it's in this style. For example, if i want to ...

Posted by akrocks_extreme on Wed, 26 Jun 2019 09:51:25 -0700

python advanced-module (14)

I. Modules in python Friends who have experience in C programming all know that if you want to quote sqrt function in C language, you must introduce math.h header file with the statement # include < math.h>, otherwise you can't call it normally. So in Python, what if you want to refer to some other functions? In Python, there is a conc ...

Posted by Heero on Sun, 19 May 2019 03:33:52 -0700

5. Enumeration and Annotation

Article 30: Replace the int constant with enum Enumeration type refers to a group of fixed constants constituting legitimate worthwhile type. For example, the seasons of the year, the planets in the solar system or the colors in a deck of cards. In development, we often use static final to define an int constant in classes. There are many short ...

Posted by shapiro125 on Tue, 14 May 2019 21:52:49 -0700

Change the installation directory of sublime's package and the use of Sublime REPL. Sublime runs node

Change the package installation path By default, the sublime installation package is in the C: Users user_name AppData Roaming Sublime Text 3 directory. To change, just create a new Data folder in the sublime installation directory, restart sublime, and then install the packages under Data. This is under the Data file after r ...

Posted by JustinM01 on Fri, 21 Dec 2018 17:57:05 -0800