After the epidemic, Python made a visual travel strategy

  preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. What do you want to do most after the outbr ...

Posted by flyersman on Sat, 27 Jun 2020 08:49:04 +0200

Methods of python processing files and files (shutil, filecmp, MD5, tarfile, zip)

1, Advanced file processing interface shutil Is a high-level file operation toolIt is similar to advanced API, and its main strength lies in its better support for copying and deleting files. usage method Copyfile (src, dst) is copied from source src to dst. Of course, the premise is that the target address has writable permission. The exce ...

Posted by Dorin85 on Mon, 27 Apr 2020 08:14:45 +0200

os module of python (ipython, file, directory, permission, management)

What is an os module The os module provides the function interface functions of most operating systems. When the os module is imported, it will adapt to different operating system platforms and perform corresponding operations according to different platforms. When programming in python, it often deals with files and directories. At this time, ...

Posted by vixtay on Fri, 24 Apr 2020 06:19:52 +0200

Chapter 6 function oriented programming

Chapter VI functions 4.1 function definition and call 4.1.1 why to use function 1. Improve code reusability -- abstract and encapsulate as function 2. Decompose complex big problems into a series of small problems, divide and rule -- the idea of modular design 3. Facilitate code maintenance and m ...

Posted by SiriusB on Mon, 02 Mar 2020 06:01:33 +0100

Flatten the surface in Python [Repeat]

This question is already answered here: How do I make a flat list from a list? 45 answers Is there an easy way to understand lists to flatten lists of iterative objects, otherwise, if you don't think it's the best way to flatten such shallows, balance performance and readability? I tried to flatten such lists by understanding ...

Posted by johnny44 on Sun, 16 Feb 2020 02:51:22 +0100

Centos 7.4 Install Jupyter NoteBook + TensorFlow Tutorial

Preface Looking at the learning video these days, I see a very interesting thing Jupyter Notebook, but the video is installed locally.So I thought that if the server I bought was idle, I would take it out to install one so that it could be used in the cloud. 0. Installation Page I use pyenv's virtual environment directly to install here, and I ...

Posted by siwis on Thu, 08 Aug 2019 20:07:15 +0200

Pandas Data Analysis - Chapter 3 (Index)

Pandas Data Analysis - Chapter 3 (Index) The index object of pandas manages week labels and other metadata, and any array or other sequence labels used to build Series or DataFrame poems are converted to an index. For example In [84]: obj = pd.Series(range(3),index=list('abc')) ...

Posted by kmutz22 on Mon, 05 Aug 2019 10:24:29 +0200