Python Tutorial Bitwise Operators

preview_player
Показать описание
In this Python tutorial for beginners I show the bitwise operators logical AND / OR and I demonstrate how to use them in a real world example, in which a custom class (User) is created with access rights. These rights are implemented using a bit representation that can be accessed using the bitwise operators.

Table of contents:

* 00:00 Intro
* 00:30 Simple example for variables as decimals and bits
* 01:35 Printing out as decimal and bit
* 02:30 The AND operator
* 03:13 The OR operator
* 04:00 Access rights example
* 05:30 The Python User class
* 09:25 Outro

See my social profiles here
Рекомендации по теме
Комментарии
Автор

Nicely done. Not only was the bitwise operation clear, but the application is practical.

CWDillon
Автор

Great video! Congratulations! And Thank you!

mauriciodarocha
Автор

This video is really helpful. Thanks :)

mahreenathar
visit shbcf.ru