Skip to main content

Python Overview

Python is a high-level, general-purpose programming language known for its readability and ease of use. Its design philosophy emphasizes code readability with the use of significant indentation, making it a popular choice for a wide range of programming tasks.

Key Features​

  • Readability: Clear and readable syntax that promotes code readability.
  • Versatility: Suitable for various programming tasks, including web development, data analysis, artificial intelligence, scientific computing, and more.
  • Extensive Libraries: A vast standard library and numerous third-party packages available.
  • Community Support: Strong community support with extensive documentation and resources.
  • Cross-Platform: Available on multiple platforms, including Windows, macOS, and Linux.

Our Version​

We offer multiple versions of Python optimized for performance and stability on Ubuntu Server 20.04. Below are the details of our setup:

Python on Ubuntu Server 20.04​

  • Python 3.9: The latest stable release in the Python 3.x series, offering new syntax features, standard library improvements, and optimizations.
  • Python 3.8: Provides additional features and performance improvements over previous versions, including assignment expressions and positional-only parameters.
  • Python 3.7: Introduces several new features such as data classes, customized access to module attributes, and postponed evaluation of type annotations.
  • Python 3.6: Includes syntax improvements like formatted string literals and underscores in numeric literals.
  • Python 2.7: The final release in the Python 2.x series, providing long-term support for legacy Python 2.x codebases.

Key Benefits​

  • Latest Features: Access to the latest features and improvements in the Python language.
  • Stability and Performance: Optimized for performance and stability on Ubuntu Server 20.04.
  • Compatibility: Support for both Python 3.x and Python 2.x codebases.

Getting Started with Python​

  1. Accessing Python: Log in to your server using SSH with the credentials provided during setup.
  2. Installing Packages: Use pip to install additional Python packages as needed.
    pip install package_name
  3. Creating Virtual Environments: Use venv to create isolated Python environments.
    python3 -m venv myenv
    source myenv/bin/activate
  4. Running Python Scripts: Execute Python scripts using the appropriate Python version.
    python3.9 myscript.py
  5. Using Python REPL: Access the Python interactive shell for quick testing and development.
    python3.9

Resources​