Cargando…

Implementing stateful objects or state machines in Python /

This lesson is a recipe from the Python Cookbook that explores the problem of wanting to implement a state machine or an object that operates in a number of different states, without littering your code with a lot of conditionals. It teaches key solutions such as encoding each operational state as a...

Descripción completa

Detalles Bibliográficos
Autores principales: Jones, Brian (Autor), Beazley, David (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: O'Reilly Media, Inc., 2016.
Edición:1st edition
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a22000007i 4500
001 OR_on1019733677
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |n|||||||||
008 180116s2016 xx o 000 0 eng
040 |a UIU  |b eng  |e pn  |c UIU  |d OCLCO  |d OCLCF  |d C6I  |d OCLCQ  |d OCLCO  |d OCLCQ 
020 |a 9781491965283 
020 |a 1491965282 
020 |z 9781491966150 
029 1 |a AU@  |b 000067105111 
035 |a (OCoLC)1019733677 
049 |a UAMI 
100 1 |a Jones, Brian,  |e author. 
245 1 0 |a Implementing stateful objects or state machines in Python /  |c Jones, Brian. 
250 |a 1st edition 
264 1 |b O'Reilly Media, Inc.,  |c 2016. 
300 |a 1 online resource (20 pages) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
520 |a This lesson is a recipe from the Python Cookbook that explores the problem of wanting to implement a state machine or an object that operates in a number of different states, without littering your code with a lot of conditionals. It teaches key solutions such as encoding each operational state as a separate class and arranging for one class to delegate to another class, or directly manipulating certain attributes of instances. What you'll learn--and how you can apply it Learn how to implement a state machine or an object that operates in a number of different states, but doesn't litter your code with a lot of conditionals. You'll also learn how to encode each operational state as a separate class and arrange for one class to delegate to the other class. Finally, see how to directly manipulate the class attribute of instances. This lesson is for you because ... You're an experienced Python programmers who is looking to deepen your understanding of the language and modern programming idioms, such as the advanced techniques used by libraries, frameworks, and applications. Prerequisites Moderate experience as a Python programmer Materials or downloads needed none 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Python (Computer program language) 
650 6 |a Python (Langage de programmation) 
650 7 |a Python (Computer program language)  |2 fast  |0 (OCoLC)fst01084736 
700 1 |a Beazley, David,  |e author. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781491965283/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP