Summary of Python programming skills

Source: Internet
Author: User

For Python programming, you do not need to have specific programming knowledge or experience in Python programming, you will learn by running the Python script provided in this Guide on your smartphone.

Python program development for smartphones on S60 is simple and quick. To run the Python program on your Nokia S60 smartphone, do the following: Install *. the sisfile is called the "Python for Series 60" Python parser. You can get it for free on the Pys60 project website. (Note: different mobile phone models may have different versions of Pys60 installed. Here I provide an additional reference)

Write a python script on PC/Mac and save it *. py file to put your *. the py file is transmitted to the mobile phone through Bluetooth or data cable and does not need to be compiled or installed. "Python for Series 60" is an ideal choice for building applications on the S60 system. Because it is easy and fast. It achieves the same effect in the real and simulated environments. You only need to know the programming knowledge of some scripting languages to understand the programming of Python scripts and create applications in a very short time.

What Python?
Python is an open-source programming language developed by Guido Van rosum. Python is an interpreted, interactive, and object-oriented programming language. It is often compared with Tcl, Perl, Scheme or Java. Python is gaining popularity.

Python has a very clear syntax structure. Python has modules, classes, exceptions, very advanced dynamic data types, dynamic input, and other features. What is "Python for Series 60 "? Python for Series 60 enables the Python programming language to run on the S60 platform. It is a Nokia "Modify/enhance" version running on mobile devices.

Currently, Python for Series 60 is built on Python 2.2.2. It supports many Python standard library modules and contains a small number of special modules on mobile platforms, such:
◆ GUI Components
◆ Bluetooth
◆ GPRS network
◆ GSM region information
◆ SMS Short Message
◆ Camera control
◆ Supported mobile devices
◆ (January 2006 ):
◆ Nokia 3230, Nokia 3250, Nokia 6630, Nokia 6600, Nokia 7610, Nokia 6670, Nokia N-Gage QD, N70, N90
◆ Python for Series 60 Functions
◆ GUI: menu, table, selection list, input box, dialog box, notification
◆ Image: color, style attribute, full screen rendering, image and Icon display
◆ Key event
◆ Socket: TCP/IP, Bluetooth (RFCOMM, OBEX)
◆ Message (SMS)
◆ Network (HTTP, FTP ,...)
◆ File system operations, file reading, XML, RSS
◆ Camera and Telephone Control
◆ Calendar operations
◆ Region (phone number)
◆ Content operations
◆ Use C ++ to compile Python extensions
◆ Build standard applications

IT usually involves a lot of tasks, but few resources are needed to support these tasks. This has become a public secret. Any IT solution that promises to improve coding efficiency and reduce software costs should be carefully considered. A significant advantage of Python is that it can save a lot of money in the Software creation and maintenance phase of the enterprise.

The software costs in these two phases account for 50% to 95% of the total cost of the entire software lifecycle. The clear and readable Syntax of Python makes the software code exceptionally easy to understand, and even the strong feeling for programmers who are not initially engaged in and developing the original project.

Although some programmers oppose the extensive use of spaces in Python code, almost everyone acknowledges that the readability of Python code is far better than that of C or Java, the latter two adopt special character mark code block structures, loops, functions, and other programming structures to start and end.

Those who advocate Python programming also claim that using these characters may produce significant differences in programming style, making it difficult for those who are responsible for maintaining the code to read the code. Python's clear syntax makes it a learning curve and programming language. Experienced programmers may even master the basic knowledge of Python within one day, but they will be able to get started after at most one week, programming Language experts will certainly be much faster than their knowledge of C, C ++, Java, and even Perl.

The biggest benefit of Python due to its clear syntax may be a significant reduction in development time. A developer engaged in enterprise-level application development told me that the development time of his unit was greatly reduced by the adoption of Python.

At the same time, it did not bring any negative impact to the software performance, he said: "In our business, developing new products quickly is much more important than developing software products with amazing performance, the development time is much more expensive than the software optimization in hourly calculation ).

  1. Introduction to Python system files
  2. How to correctly use Python Functions
  3. Detailed introduction and analysis of Python build tools
  4. Advantages of Python in PythonAndroid
  5. How to Use the Python module to parse the configuration file?

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.