Skip to content

19818794/alx-higher_level_programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alx-higher_level_programming

This Python Project was done during Full Stack Software Engineering studies at ALX school.

General

Why Python programming is awesome

Who created Python

Who is Guido van Rossum

Where does the name Python come from

What is the Zen of Python

How to use the Python interpreter

How to print text and variables using print

How to use strings

What are indexing and slicing in Python

What is the official Python coding style and how to check your code with pycodestyle

if/else, loops, functions

Why indentation is so important in Python

How to use the if, if ... else statements

How to use comments

How to affect values to variables

How to use the while and for loops

How is Python's for different from C's?

How to use the break and continues statements

How to use else clauses on loops

What does the pass statement do, and when to use it

How to use range

What is a function and how do you use functions

What does return a function that does not use any return statement

Scope of variables

What's a traceback

What are the arithmetic operators and how to use them

import & modules

How to import functions from another file

How to use imported functions

How to create a module

How to use the built-in function dir()

How to prevent code in your script from being executed when imported

How to use command line arguments with your Python programs

Data Structures: Lists, Tuples

What are lists and how to use them

What are the differences and similarities between strings and lists

What are the most common methods of lists and how to use them

How to use lists as stacks and queues

What are list comprehensions and how to use them

What are tuples and how to use them

When to use tuples versus lists

What is a sequence

What is tuple packing

What is sequence unpacking

What is the del statement and how to use it

More Data Structures: Set, Dictionary

What are sets and how to use them

What are the most common methods of set and how to use them

When to use sets versus lists

How to iterate into a set

What are dictionaries and how to use them

When to use dictionaries versus lists or sets

What is a key in a dictionary

How to iterate over a dictionary

What is a lambda function

What are the map, reduce and filter functions

Exceptions

What's the difference between errors and exceptions

What are exceptions and how to use them

When do we need to use exceptions

How to correctly handle an exception

What's the purpose of catching exceptions

How to raise a builtin exception

When do we need to implement a clean-up action after an exception

Classes and Objects

What is OOP

"first-class everything"

What is a class

What is an object and an instance

What is the difference between a class and an object or instance

What is an attribute

What are and how to use public, protected and private attributes

What is self

What is a method

What is the special init method and how to use it

What is Data Abstraction, Data Encapsulation, and Information Hiding

What is a property

What is the difference between an attribute and a property in Python

What is the Pythonic way to write getters and setters in Python

How to dynamically create arbitrary new attributes for existing instances of a class

How to bind attributes to object and classes

What is the dict of a class and/or instance of a class and what does it contain

How does Python find the attributes of an object or class

How to use the getattr function

Test-driven development

What’s an interactive test

Why tests are important

How to write Docstrings to create tests

How to write documentation for each module and function

What are the basic option flags to create tests

How to find edge cases

More Classes and Objects

What is OOP

"first-class everything"

What is a class

What is an object and an instance

What is the difference between a class and an object or instance

What is an attribute

What are and how to use public, protected and private attributes

What is self

What is a method

What is the special init method and how to use it

What is Data Abstraction, Data Encapsulation, and Information Hiding

What is a property

What is the difference between an attribute and a property in Python

What is the Pythonic way to write getters and setters in Python

What are the special str and repr methods and how to use them

What is the difference between str and repr

What is a class attribute

What is the difference between a object attribute and a class attribute

What is a class method

What is a static method

How to dynamically create arbitrary new attributes for existing instances of a class

How to bind attributes to object and classes

What is and what does contain dict of a class and of an instance of a class

How does Python find the attributes of an object or class

How to use the getattr function

Everything is object

What is an object

What is the difference between a class and an object or instance

What is the difference between immutable object and mutable object

What is a reference

What is an assignment

What is an alias

How to know if two variables are identical

How to know if two variables are linked to the same object

How to display the variable identifier (which is the memory address in the CPython implementation)

What is mutable and immutable

What are the built-in mutable types

What are the built-in immutable types

How does Python pass variables to functions

Inheritance

What is a superclass, baseclass or parentclass

What is a subclass

How to list all attributes and methods of a class or instance

When can an instance have new attributes

How to inherit class from another

How to define a class with multiple base classes

What is the default class every class inherit from

How to override a method or attribute inherited from the base class

Which attributes or methods are available by heritage to subclasses

What is the purpose of inheritance

What are, when and how to use isinstance, issubclass, type and super built-in functions

Input/Output

How to open a file

How to write text in a file

How to read the full content of a file

How to read a file line by line

How to move the cursor in a file

How to make sure a file is closed after using it

What is and how to use the with statement

What is JSON

What is serialization

What is deserialization

How to convert a Python data structure to a JSON string

How to convert a JSON string to a Python data structure

Almost a circle

What is Unit testing and how to implement it in a large project

How to serialize and deserialize a Class

How to write and read a JSON file

What is *args and how to use it

What is **kwargs and how to use it

How to handle named arguments in a function

Releases

No releases published

Packages

No packages published