Python Fundamentals and Scripting Languages
What is a Scripting Language?
• Language program, textual or language enhancement, is the language of the program that handles the application software. "Conduct" is usually treated with non-"program", which independently administers any other application.
IBM JCL – 3 Basic Commands
• The Project Decree, which determines the work, and all information about the work, such as invoicing, prudence, and limitations and vacancies.
• EXEC study, which determines the program for the stairs, and information about certificates.
• DD (Data Access) verification of the data file can be used for actions and detailed information on the file. DD Declaration can be at any level.
Example Shell Script from Ousterhout
• Choose | grep text | toilet
there
- Choose a program that reads the previous production documentation
- Grep is a program that reads the lines of production and production of "texts";
- WC is a program that counts on the doorstep.
- "|" is the control tube that leads the program for the program to participate in the next program.
Modern Scripting Languages
• It is possible to write a complete program of this
• "Fast and dirty" program is often used now -
- Quick results
- a small program; for example, system services
Python advocates admit that it is more than Perl and other textual languages - simply writing large programs.
Perl
• Attract the writing style, it has powerful RegExp
• Supports several different types: it is important, a purpose for action, work, but
- He has added the last minutes.
- geography literature
- There is little to read in many other languages
• Many ways to talk about the same:
- "TIMTOWTDI": There are more than one way to do it
- strengthens the reading; I support the writing ability
Why a Lot of People Like Python Better Than Perl
• A clear way to do a lot of things
• "a minor problem", "small"
- Perl has a large number of "mathematical" accounting accounts that are unnecessary and complicated.
- Python allows the user to focus on the problems that try to have time to try to remember how to implement some of the features.
Versions
• It is the production section 2.6.4 and 3.1.1
• Both types are stable and suitable for use
• Python 2: The game is also there
• Python 3: Important reforms
- You can not go through the past.
- Most features are the same or similar, but some early programs will lead to relaxation.
Part of the philosophy of Python - Do not do the language spoken in the language.
Comments
Post a Comment