04976nam 2200697 a 450 991078522650332120200520144314.01-282-71248-997866127124871-84951-127-6(CKB)2670000000054750(EBL)944028(OCoLC)796383637(SSID)ssj0000426500(PQKBManifestationID)11295229(PQKBTitleCode)TC0000426500(PQKBWorkID)10373795(PQKB)11258427(Au-PeEL)EBL944028(CaPaEBR)ebr10442987(CaONFJC)MIL271248(CaSebORM)9781849511261(MiAaPQ)EBC944028(PPN)228001331(EXLCZ)99267000000005475020110223d2010 uy 0engur|n|---|||||txtccrPython 3 object oriented programming[electronic resource] harness the power of Python 3 objects /Dusty Phillips1st editionBirmingham, U.K. Packt Open Source20101 online resource (405 p.)Community experience distilledIncludes index.1-84951-126-8 Cover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Object-oriented Design; Object-oriented?; Objects and classes; Specifying attributes and behaviors; Data describes objects; Behaviors are actions; Hiding details and creating the public interface; Composition and inheritance; Inheritance; Inheritance provides abstraction; Multiple inheritance; Case study; Exercises; Summary; Chapter 2: Objects in Python; Creating Python classes; Adding attributes; Making it do something; Initializing the object; Explaining yourself; Modules and packagesOrganizing the modulesAbsolute imports; Relative imports; Who can access my data?; Case study; Exercises; Summary; Chapter 3: When Objects are Alike; Basic inheritance; Extending built-ins; Overriding and super; Multiple inheritance; The diamond problem; Different sets of arguments; Polymorphism; Case study; Exercises; Summary; Chapter 4: Expecting the Unexpected; Raising exceptions; Raising an exception; What happens when an exception occurs?; Handling exceptions; Exception hierarchy; Defining our own exceptions; Exceptions aren't exceptional; Case study; Exercises; SummaryChapter 5: When to Use Object-oriented ProgrammingTreat objects as objects; Using properties to add behavior to class data; How it works; Decorators: another way to create properties; When should we use properties?; Managing objects; Removing duplicate code; In practice; Or we can use composition; Case study; Exercises; Summary; Chapter 6: Python Data Structures; Empty objects; Tuples and named tuples; Named tuples; Dictionaries; When should we use dictionaries?; Using defaultdict; Lists; Sorting lists; Sets; Extending built-ins; Case study; Exercises; SummaryChapter 7: Python Object-oriented ShortcutsPython built-in functions; Len; Reversed; Enumerate; Zip; Other functions; Comprehensions; List comprehensions; Set and dictionary comprehensions; Generator expressions; Generators; An alternative to method overloading; Default arguments; Variable argument lists; Unpacking arguments; Functions are objects too; Using functions as attributes; Callable objects; Case study; Exercises; Summary; Chapter 8: Python Design Patterns I; Design patterns; Decorator pattern; Decorator example; Decorators in Python; Observer pattern; Observer exampleStrategy patternStrategy example; Strategy in Python; State pattern; State example; State versus strategy; Singleton pattern; Singleton implementation; Module variables can mimic singletons; Template pattern; Template example; Exercises; Summary; Chapter 9: Python Design Patterns II; Adapter pattern; Facade pattern; Flyweight pattern; Command pattern; Abstract factory pattern; Composite pattern; Exercise; Summary; Chapter 10: Files and Strings; Strings; String manipulation; String formatting; Escaping braces; Keyword arguments; Container lookups; Object lookups; Making it look rightStrings are UnicodeHarness the power of Python 3 objectsPython (Computer program language)Object-oriented programming (Computer science)Object-oriented programming languagesPython (Computer program language)Object-oriented programming (Computer science)Object-oriented programming languages.005.13006.76Phillips Dusty928590MiAaPQMiAaPQMiAaPQBOOK9910785226503321Python 3 object oriented programming2086981UNINA03969nam 22005893 450 99671670100331620250116080250.09781503641495150364149X10.1515/9781503641495(MiAaPQ)EBC31877939(Au-PeEL)EBL31877939(CKB)37200585400041(OCoLC)1485002553(DE-B1597)698228(DE-B1597)9781503641495(EXLCZ)993720058540004120250116d2025 uy 0engurcnu||||||||txtrdacontentcrdamediacrrdacarrierCommon Circuits Hacking Alternative Technological Futures1st ed.Redwood City :Stanford University Press,2025.©2025.1 online resource (230 pages)9781503640603 1503640604 9781503641488 1503641481 Front Cover -- Half-title -- Title Page -- Copyright -- Contents -- List of Illustrations -- Acknowledgments -- Preface: 00001010 Experiments with "Hacking" -- Introduction. Circuits in Common -- One. Noisebridge: An Experiment in Radical Openness -- Two. Altman: Yearning for Community -- Three. Chaihuo: Between Gifts and Commodities -- Four. NalaGinrut: Hacking as Spiritual Calling -- Five. Tokyo Hacker Space: Bricoleurs Respond to the Disaster -- Six. Gniibe: Hacking to Do No Harm -- Conclusion. Are Hackerspaces Prefiguring: Technopolitical Alternatives? -- Notes -- Bibliography -- Index -- Back Cover.How hackers facilitate community technology projects that counter the monoculture of "big tech" and point us to brighter, innovative horizons. A digital world in relentless movement—from artificial intelligence to ubiquitous computing—has been captured and reinvented as a monoculture by Silicon Valley "big tech" and venture capital firms. Yet very little is discussed in the public sphere about existing alternatives. Based on long-term field research across San Francisco, Tokyo, and Shenzhen, Common Circuits explores a transnational network of hacker spaces that stand as potent, but often invisible, alternatives to the dominant technology industry. In what ways have hackers challenged corporate projects of digital development? How do hacker collectives prefigure more just technological futures through community projects? Luis Felipe R. Murillo responds to these urgent questions with an analysis of the hard challenges of collaborative, autonomous community-making through technical objects conceived by hackers as convivial, shared technologies. Through rich explorations of hacker space histories and biographical sketches of hackers who participate in them, Murillo describes the social and technical conditions that allowed for the creation of community projects such as anonymity and privacy networks to counter mass surveillance; community-made monitoring devices to measure radioactive contamination; and small-scale open hardware fabrication for the purposes of technological autonomy. Murillo shows how hacker collectives point us toward brighter technological futures—a renewal of the "digital commons"—where computing projects are constantly being repurposed for the common good.Technology & Engineering / Social AspectsbisacshAnthropology of Technology.Computing Expertise.Hackerspaces.Hacking.Open Technology.Science and Technology Studies.Transnationality.Technology & Engineering / Social Aspects.303.4833Murillo Luis Felipe R1895505MiAaPQMiAaPQMiAaPQBOOK996716701003316Common Circuits4548413UNISA