Script Home
  • 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 ...
  • Analysis of Python prime number screening method

    +Read more
    Author:zyq / Release:2018-3-19 / category:python / crowd0 views time+ / sofa /
    principle: prime number, which means that in a natural number greater than 1, except for 1 and the integer itself, it can not be divided by other natural numbers. It plays an important role in encryption applications. For example, the widely known RSA algorithm is based on factoring problem of...

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