Tag:interpreter

  • The typical usage, principle analysis and development of – m in Python

    Time:2020-2-17

    When Python is used on the command line, it can receive about 20 options. The syntax format is as follows: python [-bBdEhiIOqsSuvVWx?] [-c command | -m module-name | script | – ] [args] This article wants to talk about the special “- M” option:On its typical usage, principle analysis and development process. First, let’s use […]

  • Java version of ruby interpreter jruby 1.7.14 released

    Time:2020-2-3

    Jruby 1.7.14 is released, which is now available for download: http://www.jruby.org/download Jruby 1.7 is mainly for compatibility with ruby 1.9.3. The improvement records are as follows: 30 issues solved Fixed potential memory leak in jar file source Invokedynamic is disabled by default because it starts slowly in rails applications Load / require internal refactoring and […]

  • Spider class and crawlespider class of scrapy

    Time:2020-2-2

    Scrapy shell The command-line tool used to debug the scrapy project code. At startup, some objects of scrapy are predefined   Set shell Scrapy’s shell is based on the Python interpreter shell in the running environment In essence, it is to call the shell by command and predefine the objects to be used at startup […]

  • Set command of shell

    Time:2020-1-23

    Introduction to set command Set command is a command that beginners seldom touch, but it is very usefulbash) Set command is a built-in command of shell interpreter, which is used to set properties of shell interpreter, so as to control some behaviors of shell interpreter. ➜ ~/programming/test $ type set set is a shell builtin […]

  • Introduction to BASH

    Time:2020-1-15

    Genaral Bash (gnux bouene again shell) is a UNIX shell written for GNU plan. It is the default shell used by many linux platforms. Shell is a command interpreter and an insulating layer between the operating system kernel and the user.It can also be said to be a powerful computer language, which is called interpretive […]

  • Christmas 30 years ago, python prologue was written

    Time:2020-1-15

    During Christmas in 1989, Guido van Rossum, who had obtained his master’s degree in mathematics and computer from the University of Amsterdam, was determined to develop a new language interpreter to kill the boredom of Christmas. As an inheritance of ABC language, Python is one of the most popular languages at present. Python (Python) was […]

  • Christmas 30 years ago, the python prologue was written

    Time:2019-12-29

    During Christmas in 1989, Guido van Rossum, who had obtained his master’s degree in mathematics and computer from the University of Amsterdam, was determined to develop a new language interpreter to kill the boredom of Christmas. As an inheritance of ABC language, Python is one of the most popular languages at present. Python (Python) was […]

  • Python data analysis – (numpy library, Matplotlib library, pandas Library)

    Time:2019-12-28

    1. outline Data analysis containsBasic statistics, distribution / cumulative statistics, data feature extraction, data mining, progressive system. 2. Content organization The required libraries include numpy library, Matplotlib library, pandas library, etc. 3. Programming tools AnacondaDownload address: www.continue.ioCheck the installed packages in the CONDA environment, of course — you can also create a new CONDA environment.Order? […]

  • Json.parse is faster than object literal syntax

    Time:2019-12-4

    Written in front Original address: https://www.bram.us/2019/11/25/faster-javascript-apps-with-json-parse/ The original text contains the video of oil pipe. If you have a ladder and good English, you can click the link to watch it. For readers who are too long to read becauseJSONGrammatical ratioJavascriptThe syntax of is simpler, so parsingJSONRatio analysisJavascriptMore efficient. When a web app needs to […]

  • Django project: Project Environment Building — I. creating Django project

    Time:2019-10-20

    Project environment construction I. create Django project 1. Create a python virtual environment Create a python virtual environment on the virtual machine, because the actual project deployment, the real Linux mkvirtualenv -p /usr/bin/python3.6 tzproject 2. Create Django project 1. Install Django Choose to install the latest version 2.1.10 of Django 2.1. X pip install django==2.1.10 […]

  • Multithreading of Concurrent Programming

    Time:2019-10-13

    Concurrent programming Concurrent (pseudo): Because the execution speed is very fast, people can’t feel it. Parallel (true): Create 10 simultaneous operations thread Single-process, single-threaded applications print(‘666’) What exactly is a thread? What is a process? Python does not own this thing, the thread and process of the operating system invoked in Python (pseudo thread). Multithreading […]