GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - digo4/Introduction-to-Python: Here I introduce newbies to the fascinating world of python!

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
demo_data
demo_data
 
 
images
images
 
 
.DS_Store
.DS_Store
 
 
Basics.py
Basics.py
 
 
Introduction_2_Python.ipynb
Introduction_2_Python.ipynb
 
 
Introduction_2_Python.md
Introduction_2_Python.md
 
 
LICENSE
LICENSE
 
 
Numpy_ pandas_ matplotlib_seaborn_tutorial.ipynb
Numpy_ pandas_ matplotlib_seaborn_tutorial.ipynb
 
 
README.md
README.md
 
 

Repository files navigation

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

Introduction

Python is a high-level, versatile programming language known for its readability, simplicity, and broad applicability. It was created by Guido van Rossum and first released in 1991. Python's design philosophy emphasizes code-readability and ease of use, making it a popular choice for beginners and experienced developers alike.

Here's a brief introduction to key aspects of Python:

  1. Syntax: Python uses a clean and straightforward syntax that emphasizes readability. It uses indentation to define code blocks, eliminating the need for braces or other explicit block delimiters. Example:
if x > 0:
    print("Positive number")
else:
    print("Non-positive number")
  1. Interpreted and High Level: Python is an interpreted language, meaning that it does not need to be compiled before execution. This makes development and debugging more interactive. It is also a high-level language, abstracting away many low-level details, which simplifies programming.

  2. Dynamic Typing: Python is dynamically typed, meaning you don't need to explicitly declare variable types. The interpreter infers types during runtime. Example :

x = 5           # Integer
y = "Hello"     # String
z = 3.14        # Float
  1. Rich Standard Library: Python comes with a comprehensive standard library that includes modules for various tasks, such as file I/O, regular expressions, networking, and more. This reduces the need for external dependencies.
  2. Object-Oriented: Python supports object-oriented programming (OOP), encapsulating data and behavior into objects. It allows for the creation and manipulation of classes and objects. Example:
class Dog:
    def __init__(self, name):
        self.name = name

    def bark(self):
        print(f"{self.name} says Woof!")

my_dog = Dog("Buddy")
my_dog.bark()

  1. Community and Ecosystem: Python has a large and active community of developers. The Python Package Index (PyPI) hosts a vast collection of third-party libraries and frameworks that extend Python's capabilities, making it suitable for a wide range of applications.
  2. Versatility: Python is used in various domains, including web development, data science, artificial intelligence, machine learning, automation, scripting, and more. It is often considered a "glue" language due to its ability to integrate components written in different languages.
  3. Popular Frameworks: Python has popular frameworks and libraries that simplify complex tasks. Some examples include Django and Flask for web development, NumPy and Pandas for data science, TensorFlow and PyTorch for machine learning, and many more.

Getting Started

To get started with Python, you need to install the Python interpreter on your system. You can download it from the official Python website. Once installed, you can run Python scripts from the command line or use integrated development environments (IDEs) like VSCode, PyCharm, or Jupyter notebooks for interactive development. On a personal note, I like Jupyter notebook a lot, because besides providing a neat IDE for executing and debugging code, it comes pre-installed with lots of modules like Numpy, Pandas, Matplotlib, Seborn, Scikitlearn etc.

Installation

  1. Install a Python interpreter : https://www.python.org/
  2. Install Anaconda Navigator : https://anaconda.org/anaconda/anaconda-navigator

Starting up Jupyter notebook

About

Here I introduce newbies to the fascinating world of python!

Topics

matplotlibnumpyospandaspythonseaborn

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.