Script Home
  • The method of using Vundle to manage Vim plug-ins in Linux

    +Read more
    Author:zyq / Release:2018-4-23 / category:perl / crowd0 views time+ / sofa /
    preface is beyond doubt, Vim is a powerful tool for text file processing, capable of managing system configuration files and writing code. Through plug-ins, Vim can be extended to different levels of functions. In general, all plug-ins and attached configuration files are stored in the ~/.vim ...
  • Interpretation of vue-cli3.0 characteristics

    +Read more
    Author:zyq / Release:2018-4-22 / category:css, Script / crowd0 views time+ / sofa /
    has used vue-cli 3 in recent development projects. The experience can be said to be excellent, the template is more developed and the configuration is more concise. Some of the experience in the application process is summarized below. new project -g @vue/cli -g @vue/cli project Vue create m...
  • Implementation and application of neural network (BP) algorithm Python

    +Read more
    Author:zyq / Release:2018-4-19 / category:python / crowd0 views time+ / sofa /
    example for everyone to share the specific code for the implementation of neural network algorithms and applications by Python for your reference. The specific content is as follows: first uses Python to implement a simple neural network algorithm: import numpy as NP as. Tan_deriv (x): Retur...
  • Python implementation of shopping cart program

    +Read more
    Author:zyq / Release:2018-4-19 / category:AJAX, python / crowd0 views time+ / sofa /
    this example for everyone to share the program: Python shopping cart program, the specific content of the following requirements: startup, the user input salary, and then print commodity list allow users to purchase commodity user selection goods according to the commodity number, check...
  • Python deletes a character

    +Read more
    Author:zyq / Release:2018-3-21 / category:python / crowd0 views time+ / sofa /
    uses a python removal of the character is a very troublesome thing, different environments can use a variety of methods, such as regular expressions, del grammar, now released is a relatively simple method is to meet the character to jump past, not its operation, showing a perfect delete the cha...
  • Python replace the space in the text as a line of line

    +Read more
    Author:zyq / Release:2018-3-21 / category:python / crowd0 views time+ / sofa /
    jb51.txt welcome to jb51.net text I love you very much python coding: UTF-8 code # -*- -*- meet the 'spaces' def line delblankline (infile, outfile): infopen = open (infile,'r', encoding=, UTF-8) outfopen = open (outfile,'w', encoding=, UTF-8 "DB = (infopen.read) (db.replace) outfopen.write ...
  • The method of using Python3 replace () function

    +Read more
    Author:zyq / Release:2018-3-21 / category:python / crowd0 views time+ / sofa /
    describes the replace () method to replace old (old string) in the string into new (new string). If the third parameter Max is specified, the replacement is no more than max times. syntax replace () method syntax: str.replace (old, new[, max]) parameter -- the substring that will be repl...
  • Python removes a variety of implementations of the blank line

    +Read more
    Author:zyq / Release:2018-3-21 / category:python / crowd0 views time+ / sofa /
    jb51.txt 1:www.jb51.net 2:www.jb51.net 3:www.jb51.net test code 4:www.jb51.net 5:www.jb51.net 6:www.jb51.net 7:www.jb51.net 8:www.jb51.net 9:www.jb51.net 10:www.jb51.net 11:www.jb51.net 12:www.jb51.net 13:www.jb51.net 14:www.jb51.net 15: www.jb51.net 16:www.jb51.net python code code # -*- co...
  • Python odd and even rows separate the implementation code

    +Read more
    Author:zyq / Release:2018-3-21 / category:python / crowd0 views time+ / sofa /
    1:www.jb51.net 2:www.jb51.net 3:www.jb51.net example: 4:www.jb51.net 5:www.jb51.net 6:www.jb51.net 7:www.jb51.net 8:www.jb51.net 9:www.jb51.net 10:www.jb51.net 11:www.jb51.net 12: http://www.jb51.net 13:www.jb51.net 14:www.jb51.net 15:www.jb51.net 16:www.jb51.net python coding: -*- # functio...
  • Examples of Django user registration, login, logout, and user extension

    +Read more
    Author:zyq / Release:2018-3-19 / category:python / crowd1 views time+ / sofa /
    user part is the basic function of a website, Django is a very good package of this part, we only need to do some simple modifications on the basis of Django can achieve the result that we want first, I assume you to Django session, cookie and admin database, some have a certain understanding ...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security