Python Study Notes-Day1-Python basics, python-day1-python1. Translation of advanced languages into machine languages: Interpretation and compilation
Python is an interpreted language.
1.1 syntax common three error types
Syntax error (syntax errors)Running error (runtime errors)Semantic Error (semantic errors)
1.3 vari
update it by running Conda update.Second, simple testAnaconda comes with an editor Spyder that we can use later to write code.Spyder.exe placed in the installation directory Scripts inside, as mine is D:/anaconda3/scripts/spyder.exe, directly double-click to run. We can right-click to send to the desktop shortcut, it is more convenient to run later.We simply write a program to test the success of the installation, which is used to open a picture and
Python this thing seems to be very useful, but I don't know why it's been so hot.It is possible that this thing is too difficult to read ~ Read what, send God. Poor English people, the first look at the wrong, but also often misspelled, hehe!But it's a good thing to say.First, the configuration of the Python development environment1, first open the Python's official website https://www.python.org/downloads/
Python basic learning notes (Python environment) and python learning notes
Python first. Summarize the basic knowledge of Python.
I. Understanding Python
First, we need to know that the Python
Original link: http://www.kuqin.com/shuoit/20140728/341451.html
Many Python beginners want to know which version of Python they should start learning from. My answer to this question is "you learn the version of the tutorial you like and then check the differences between them." "
But what if you start a new project and have a choice? I would like to say that there is no right or wrong
meditation, and then on the paper heavily wrote the Hello World!, announced that he formally entered the calligraphy industry.In addition to the default installation of idle, there are integrated development environments such as Wingide, Pycharm, Pythonwin, Eclipse, Spyder, IPython, Komodo ( I use Pycharm, These development environment installs the configuration network to have the tutorial, own Baidu slightly ).1.2.2 Idle Simple and practicalThe sam
Sublime text familiar with Python syntax, with some plug-ins can also achieve the effect of the IDE: Setting up Sublime text 3 to full Stack Python development
Finally, a Python tutorial, using sublime to tap the sample code, is quick to get started: Python tutorial-Liaoche's official website
Compile: First copy the Makefile.config file, cancel the comment
CP Makefile.config.example Makefile.config
# CuDNN Acceleration Switch (uncomment to build with CuDNN).USE_CUDNN: = 1
# Uncomment to support layers written in Python (would link against Python libs)With_python_layer: = 1
Compile the Caffe and Python interfaces using the followin
Zero basic learning Python (1) Python environment installation, basic learning python Environment
Any advanced language requires a programming environment of its own. This is like writing. It requires paper and pen, writing on a computer, and text processing software, for example, OFFICE with different names. Pen, paper, and office software are the hardware or so
Python isProgramming LanguageIts name comes from a comedy. Perhaps the people who initially designed the Python language did not expect that today python will be so widely used in industry and scientific research.
What is Python?(Reproduced from Primus)
Eric Raymond, the famous author of free softwareArticleIn "How
0. How do people get started with Python? Is Python hard ?, Getting started with python
My life is short. I use Python. Why do we say this? Because we have a golden saying in automated testing: After learning Python, we can go to heaven ~
Not much nonsense. I believe many pe
Python Development history
Origin
The author of Python, Guido von Rossum, the Dutchman. Guido received a master's degree in mathematics and computer Science from the University of Amsterdam in 1982. However, even though he is a mathematician, he enjoys the pleasure of computer. In his words, despite his mathematical and computer credentials, he tends to do computer-related work and is passio
First lesson before getting started with python how to get started with python, first lesson before getting started with python
With the advent of the AI era, many articles have said: "If you don't know python, you don't want to say you are a programmer." This is a bit exaggerated, but I think the current
[Python] -- first understanding python, first understanding pythonPython InstallationWindows:
1. Download the installation package https://www.python.org/downloads/2?install the default installation path: C: \ python273. Configure the environment variable [Right-click the computer] -- "[attribute] --" [advanced system settings] -- "[advanced] --" [environment variable] -- "[in the second content find a line
Add c:\python27 to environment variable pathpython- C command [arg ]...,python- m module [arg] ...,Parameter passing: The argv variable in the sys module>>>//Interactive modeIt's not customary to use indentation to represent a block of statements.if The_world_is_flat: ... Print " Be careful not to fall off! " not to fall off!The indentation before the print statement is not minimalPython 2.7.8 Learning Note (001)
:
Fast computing Speed: NumPy and pandas are written in C language, pandas is based on NumPy, is an upgrade version of NumPy.
Consume less resources: using a matrix operation, it will be much faster than Python's own dictionary or list
Second, installation
There are two installation methods, the first of which is to install using the Anaconda Integration Pack environment, and the second is to install using the PIP command
1. Anaconda Integration Pack Environment installation
To use
[Learn Python with me] multiple threads in Python and multiple threads in python
In fact, I feel that Python multithreading is similar to Java's multithreading mechanism, but it is more flexible than JAVA's multithreading. In the early implementation of Python multithreading
[Python ①] python introduction, installation and configuration, and python introduction Configuration
Start learning python today and record some of your experiences and knowledge points. If you have any questions or omissions, please let me know. All subsequent codes are written in
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.