Python Tutorial Bitwise Operators

Publié le: 07 novembre 2016
sur la chaîne: Jayanam
3,383
42

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
G+: https://plus.google.com/+JayAnAm
Twitter:   / jayanamgames  
Facebook:   / jayanamgames  
Patreon:   / jayanam  
Indiegogo:   / jayanamgames  


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Tutorial Bitwise Operators durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Jayanam 07 novembre 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,383 fois et il a aimé 42 téléspectateurs. Bon visionnage!