Marco Education Python Basic grammar full explanation video data sharing

Source: Internet
Author: User
Python is purely free software, and the source code and interpreter CPython follow the GPL (GNU general public License) agreement. Python syntax is simple and clear, and one of the features is to force whitespace (white space) to be indented as a statement.

Python has a rich and powerful library. It is often nicknamed the glue language and is able to easily connect a variety of modules made in other languages, especially in C + +. A common application scenario is to use Python to quickly build a prototype of a program (sometimes even the final interface of the program) and then rewrite it in a more appropriate language, such as a graphics rendering module in a 3D game, with a particularly high performance requirement, and can be rewritten in C + + with a specially requested part. It is then encapsulated as an extension class library that Python can call. It is important to note that you may need to consider platform issues when you use the Extended class library, and some may not provide cross-platform implementations.

Python is an object-oriented and interpreted computer programming language, which has a rich and powerful library with concise and clear syntax. "Marco Education python Basic grammar full video" takes you from shallow to deep learning Python basic grammar, deep understanding of the characteristics of Python language.

Video playback address: http://www.php.cn/course/306.html

Teachers teach in a clear, well-organized, layered analysis, interlocking, rigorous argumentation, structural rigorous, with the logical power of thinking to attract students ' attention, with reason to control the course of classroom teaching. By listening to the teaching of teachers, students not only learn knowledge, but also receive the training of thinking, but also by the teachers rigorous study attitude of edification and infection.

The difficulty of this course:

For beginners, the first is to learn to configure the development environment, followed by the study of Python syntax, such as looping statements and other basic knowledge of learning, but also the use of the adorner introduction.

Referencing an Excel table

1, need to download xlrd;

2. Reference XLRD Library: Import xlrd

3. Get Excel Table values:

BK = Xlrd.open_workbook (' D:\\del_tools\\python\\setup\\test\\data.xls ')  #打开excel表sh = Bk.sheet_by_name (' Sheet1 ')  #打开表格的工作表usermobile = Sh.cell_value (1,0)  #获取工作表中对应表格的值 <br><br># Note: The type of uesermobile is float, and if it is a mobile number, this value will be displayed as 13800138000.0;<br><br> #send_keys () method, the parameter requirement is a string type, So the float type is converted to String type: str (int (float x));

Four, processing home pop-up window

Idea: To see if there is no popup window element, there is no pop-up window, there is a pop window exists.

Instance:

#处理开屏广告def init_case (self):    print (U ' process open ad ')    try:        sleep (3)        #查看弹窗是否存在        el = Self.driver.find_ element_by_id ("Id/llstorage")        print "Not exict"        Pass

Except Exception,ex:

Sleep (3)        os.system ("adb shell input tap +" "+str (629) +" "+str (290))        print ' exict '        sleep (2)
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.