1. Whetting Your Appetite

In this section described when Python can be usable. For example, scripting, creating simple program with GUI, automate some daily work.

Also described strong points of Python, such as rapid development (write / compile / test / re-compile cycle), interactivity, extensibility, splitting into modules, simple integration, automation, batteries-included.

Python is an interpreted language, no compilation and linking is necessary (but possible with non-standard realizations).

Python can be used as “glue language”, to connect components together.


Main differences between C, Java, Go are:

  • The high-level data types allow you to express complex operations in a single statement;
  • Statement grouping is done by indentation instead of beginning and ending brackets;
  • Variable or argument declarations are not necessary.

Primary Python programming paradigm/paradigms is? Python is primarily object-oriented programming language, but also supports imperative, functional, and procedural paradigms.

Python typing is static or dynamic? Python is dynamically typed.

Python compiled or interpreted language? Interpreted language.

Do python have garbage collection feature? Yes, memory management is done with automatic garbage collection.

Python known for being clear and concise with readable syntax, what usually Python provides for code readability? Spaced indentation, simplified expression of complex things (declarative programming), etc.

Is Python programs fast? Generally considered slower than compiled languages, but optimized for rapid development and readability, in recent years there significant performance improvements, e.g. GIL removing.

Is Python high-level or low-level language? Python is high-level programming language.

Can I create some product usually faster with Python? Usually yes, python features including rapid development and connecting various components of programming system.