Script Home
  • Python machine learning theory and real battle (two) decision tree

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    decision tree is supervised machine learning method. There is a scene in the movie "shameless bastard" game, the pub has several people to play 20 games, the rules of the game is a fan out of a target of the card (a person, also may be the thing, and the Riddler) questions, many people can only ...
  • Python three method instance code for traversing file directories

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    example code is the main implementation of the python file directory operation, there are three methods, the specific code is as follows. #coding:utf-8 # method 1: import OS def visitDir recursive directory traversal (path): Li = os.listdir (path) for P in li: pathname = os.path.join (path, P)...
  • Case analysis of Python re module findall () function

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    This paper is a study of re (findall) function module related content, first look at the example code: > > > import re > > > s = "adfad asdfasdf asdfas asdfawef ASD adsfas > > > reObj1 = re.compile ((w +) '(s+w+) > > >'); reObj1.findall (s) [('adfad asdfasdf...
  • Python enumerate index iterative code analysis

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    The main topic of this paper is the problem of Python enumerate index iteration, which is described as follows. index iteration Python, iteration is always the element itself, rather than the index of elements. is indeed indexed for an ordered set. Sometimes, we do want to get the index in t...
  • The answer and analysis of 5 good Python interview questions

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    The main content of this article is to share with you some of the T topics in the Python interview, and give the answers and analyze it, specifically as follows. This is the original 5 Great Python Interview Questions, at the same time, thank you for pointing out my turtle @ non oversight, no s...

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