File type: the.py python源文件 由python解释器执行.pyc python源码编译后生成的文件(字节代码)编译方法: 源码文件中使用py_compile模块 import py_compile py_complie.compile(‘***.py‘) .pyo python源码优化编译后后文件 python -O -m compile ***.py (无需要源码中使用 compile模块) -O 表示优化 -m 表示模块 Python variablesA variable is an area of computer memory that can store values within a specified range, and the value can be changedThe python under variable is a reference to a dataVariableThe python under variable is a reference to a dataV
project, so that corrective measures can be taken in a timely manner when the actual progress of the project significantly deviates from the plan.2. Scope of Application of the review
All projects of the software department;
Major issues of the software department; (TBD)3. Responsibilities
Role
Responsibilities and tasks
Project Manager
1
, Digital methodchmod u/g/o/a +/-/= rwx fileU: The owner of the fileg; user groupsO: OthersA:all Everyone+: Increase Permissions-: Insurance rights=: Set curveDigital method: R:4 w:2 x:1-:0 (0 does not have any permissions)chmod 777 File1x corresponding folder (directory) execution for accessible or forbidden accessModify file Owner: ChownChown user name file or directoryModify file belongs to group: CHGRPC
Basic knowledge Review Article 2 tomcat and web Application Deployment, Article 2 tomcat
Preface this article describes some of the attributes of tomcat and the simple deployment of web programs, which may be a better deployment method in actual development, but it is also a basis.1: tomcat
We all know that tomcat requ
Basic knowledge Review Chapter 1 servlet learning and understanding, Chapter 1 servlet
As for servlet, I believe that I have learned java, and I have recently sorted out the basic knowledge so that I can better understand ssm or ssh. Next I will start from1: Servlet Interface
Servlet has five methods. The functions of each method are briefly described below.1.1:
Database Review 1)The DBMS does not purge redundant data, and if a select-out attribute is required, no duplicates are required to declare the keyword distinct:select distinct a1 from t1Properties can be manipulated when select, such as subtraction operations on numeric properties(2) WHERE clauseThe WHERE clause lists the assertions about the attributes in the r
Basic Review of Javascript (2) js scope, javascriptjs
This is the last article in the expression series from simple to deep, but recently the team has been busy and never been busy! However, if you like expressions, please rest assured that some basic principles of Javascript are common in your work, so I decided to spend some time organizing the basic knowledge and sharing it with you. A training PPT will
I have written an article about the reconstruction of the command module: OEA autoui reconstruction (1)-Automatic Command generation. Command auto-generated refactoring is a "Forward war" of This refactoring. We try to use OO to optimize the original process-based interface auto-generated process to support better scalability. The Automatic Generation of commands is relatively independent, so the reconstruction is performed independently. At present,
SQL Server summary and Review (2) for more information, see.
SQL Server summary and Review (2) If you want to learn, refer to it.
1. ranking function and PARTITION
The Code is as follows:
-- All dataSELECT * FROM dbo. student AS a inner join dbo.
These days, the interview, the interview when a lot of knowledge point is also very unfamiliar, this two days first to review the Java Foundation, there is a period of time did not write a blog, today, first talk about the conversion of the system.1. Binary number of the original code, complement and anti-code1): For positive number of the original code, complement and anti-code are the same, not discussed
instructionsAfter EXEC is executed, you can use a variable such AS @ ROWCOUNT to view the number of affected rows. You cannot run the function on the EXEC string in the EXEC parameter, such AS cast (xx as varchar ), for EXEC parameters, only strings can be added or the overall string can be used.
13. WAITFORWaitfor time
14. Summary of Stored Procedures1) it is more scientific to replace @ ERROR with TRY/CATCH. One @ ERROR is not intuitive with TRA/CATCH, and the other is to encounter an ERROR
When source and bash/sh execute scripts, they want to take immediate effect. General settings for environment variables with source, generic scripts are used Bash/shWhen looking at the hard disk space, the storage is not enough, because I node no more, small files, resulting in I node is not.[[Email protected] Desktop]# df-hFilesystem Size used Avail use% mounted on/dev/sda2 197G 89G 99G 48%/Tmpfs 3.8G 1.5M 3.8G 1%/DEV/SHM/DEV/SDA1 190M 41M 140M 23%/b
return {};4 Else if(expencted = =Actual)5 return{"Functionx","OK"};6 Else 7 return{"Functionx", expected, actual};8}1 int arr[]; 2 int *p1[]; 3 int (*P2) [P2] is a pointer to an array of 10 integers3.assert preprocessing macro is actually a preprocessing variable that behaves like an inline function, and the Assert macro uses an expression as his condition: assert (expr); First, if
operator:P rintf ("Odd \ n");Bitwise operation AAMP;1?PRINTF ("Odd!\n"):p rintf ("even \ n");Writing a binary output function H.char character occupies 3 bytes, cannot use char I. Array special declaration, definition method int ages[5] = {[2] = 4, [4] = 1};int count = 5;int Ages[count]; Error: int D[count] = {1,2,3,4,5}; The array size must use a constant array
[NOIP review] Chapter 2: Dynamic PlanningI. Backpack Problems
1. Wikioi 1014 Packing ProblemDescription
Description
There is a box with a capacity of V (positive integer, 0
It is required that any number of n items be loaded into the box, so that the remaining space of the box is minimized.
Input description
Input Description
An integer v indicates the b
Mysql SQL Statement Review 2 -- Regular Expressions and mysql Regular Expressions
Here, we will briefly review the usage of Regular Expressions in mysql when filtering data. This mainly refers to an example for each usage or a brief description.
The REGEXP keyword is used to filter data using regular expressions.
Basic character match:
SELECT prod_name FROM prod
name as expressionCreate default Sex_default as ' woman 'Use default values:Sp_binddefault sex_default, ' Mag_emp.sexinfo 'To view the default values:Sp_helpconstraint mag_empTo dismiss the default value:Sp_unbinddefault ' table name. Column name ', ' default value 'Sp_unbinddefault ' Mag_emp.sexinfo ', Sex_defaultDelete default values:Drop Default Sex_defaultTwo methods for implementing data integrity are compared:1. Object level different database
Code Review (2), codereview
1. ListView Optimization
BindView function is used to handle data and view Binding operations.
GetItem and getItemId functions are not rewritten as needed, but must be modified according to the actual situation of their own applications. For example, getItemId does not necessarily return position, you can also return the ID of the ele
environment: Win7 pycharmce_2017.2 python3.6.2
Take one last review. 3.list and tuple
The list is also a data type. You can delete, add elements at any timeAnd the elements in the list are not restricted by type, as opposed to arrays in C, or int or char. and the list can
>>> a=[1,2,3, ' Hi ', [4, ' hi~ ']]
>>> a
[1, 2, 3, ' Hi ', [4, ' hi~ ']]
>>> a[0]
Introduction: PWM for a lot of software engineers may be familiar and unfamiliar with PWM to adjust the LED brightness For example, its essence is in every period of cutting corners, the overall performance of the LED under-voltage brightness of different effects. As you can see the seven color lantern its principle is similar, just with 3 PWM control red, green, blue three colors of the lamp output brightness, and then combined with the principle of mixing color to show the colorful effect ~Wri
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.