Python QA Part-1: Getting Started

1. What are the six main reasons that people choose to use Python?

Software quality, developer productivity, program portability, support libraries, component integration, and simple enjoyment. Of these, the quality and productivity themes seem to be the main reasons that people choose to use Python.

2. Name four notable companies or organizations using Python today.

Google, Industrial Light & Magic, EVE Online, Jet Propulsion Labs, Maya, ESRI, and many more. Almost every organization doing software development uses Python in some fashion, whether for long-term strategic product development or for short-term tactical tasks such as testing and system administration.

3. Why might you not want to use Python in an application?

Python’s downside is performance: it won’t run as quickly as fully compiled languages like C and C++. On the other hand, it’s quick enough for most applications, and typical Python code runs at close to C speed anyhow because it invokes linked-in C code in the interpreter. If speed is critical, compiled extensions are available for number-crunching parts of an application.

4. What can you do with Python?

You can use Python for nearly anything you can do with a computer, from website
development and gaming to robotics and spacecraft control.

5. What’s the significance of the Python import this statement?

Import this triggers an Easter egg inside Python that displays some of the design
philosophies underlying the language. You’ll learn how to run this statement in
the next chapter.

6. Why does “spam” show up in so many Python examples in books and on the Web?

Spam” is a reference from a famous Monty Python skit in which people trying to order food in a cafeteria are drowned out by a chorus of Vikings singing about spam. Oh, and it’s also a common variable name in Python scripts….


Thank you for reading.!

Part-2

One Comment

  1. Pingback: Python QA Part-2: Getting Started – ITantz.com

Leave a Reply