Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
- Ebooks
- Programming
- Python
- Python 3 Object Oriented Programming. If you feel it’s time you learned object-oriented programming techniques, this is the perfect book for you. Clearly written with practical exercises, it’s the painless way to learn how to harness the power of OOP in Python
E-book details
Log in, If you're interested in the contents of the item.
Python 3 Object Oriented Programming. If you feel it’s time you learned object-oriented programming techniques, this is the perfect book for you. Clearly written with practical exercises, it’s the painless way to learn how to harness the power of OOP in Python
Ebook
Object Oriented Programming is a very important aspect of modern programming languages. The basic principles of Object Oriented Programming are relatively easy to learn. Putting them together into working designs can be challenging.This book makes programming more of a pleasure than a chore using powerful Python 3 object-oriented features of Python 3. It clearly demonstrates the core OOP principles and how to correctly implement OOP in Python. Object Oriented Programming ranks high in importance among the many models Python supports. Yet, many programmers never bother learning the powerful features that make this language object oriented.The book teaches when and how OOP should be correctly applied. It emphasizes not only the simple syntax of OOP in Python, but also how to combine these objects into well-designed software.This book will introduce you to the terminology of the object-oriented paradigm, focusing on object-oriented design with step-by-step examples. It will take you from simple inheritance, one of the most useful tools in the object-oriented programmer's toolbox, all the way through to cooperative inheritance, one of the most complicated. You will be able to raise, handle, define, and manipulate exceptions.You will be able to integrate the object-oriented and the not-so-object-oriented aspects of Python. You will also be able to create maintainable applications by studying higher level design patterns. You'll learn the complexities of string and file manipulation, and how Python distinguishes between binary and textual data. Not one, but two very powerful automated testing systems will be introduced to you. You'll understand the joy of unit testing and just how easy they are to create. You'll even study higher level libraries such as database connectors and GUI toolkits and how they apply object-oriented principles.
- Python 3 Object Oriented Programming
- Table of Contents
- Python 3 Object Oriented Programming
- Credits
- About the Author
- About the Reviewers
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 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
- Inheritance
- Case study
- Exercises
- Summary
- 2. Objects in Python
- Creating Python classes
- Adding attributes
- Making it do something
- Initializing the object
- Explaining yourself
- Modules and packages
- Organizing the modules
- Absolute imports
- Relative imports
- Organizing the modules
- Who can access my data?
- Case study
- Exercises
- Summary
- Creating Python classes
- 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
- Basic inheritance
- 4. Expecting the Unexpected
- Raising exceptions
- Raising an exception
- What happens when an exception occurs?
- Handling exceptions
- Exception hierarchy
- Defining our own exceptions
- Exceptions arent exceptional
- Case study
- Exercises
- Summary
- Raising exceptions
- 5. When to Use Object-oriented Programming
- Treat 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
- 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
- Summary
- 7. Python Object-oriented Shortcuts
- Python 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
- Python built-in functions
- 8. Python Design Patterns I
- Design patterns
- Decorator pattern
- Decorator example
- Decorators in Python
- Observer pattern
- Observer example
- Strategy pattern
- Strategy 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
- 9. Python Design Patterns II
- Adapter pattern
- Facade pattern
- Flyweight pattern
- Command pattern
- Abstract factory pattern
- Composite pattern
- Exercises
- Summary
- 10. Files and Strings
- Strings
- String manipulation
- String formatting
- Escaping braces
- Keyword arguments
- Container lookups
- Object lookups
- Making it look right
- Strings are Unicode
- Converting bytes to text
- Converting text to bytes
- Mutable byte strings
- File IO
- Placing it in context
- Faking files
- Storing objects
- Customizing pickles
- Serializing web objects
- Exercises
- Summary
- Strings
- 11. Testing Object-oriented Programs
- Why test?
- Test-driven development
- Unit testing
- Assertion methods
- Additional assertion methods in Python 3.1
- Reducing boilerplate and cleaning up
- Organizing and running tests
- Ignoring broken tests
- Assertion methods
- Testing with py.test
- One way to do setup and cleanup
- A completely different way to set up variables
- Test skipping with py.test
- py.test extras
- How much testing is enough?
- Case Study
- Implementing it
- Exercises
- Summary
- Why test?
- 12. Common Python 3 Libraries
- Database access
- Introducing SQLAlchemy
- Adding and querying objects
- SQL Expression Language
- Introducing SQLAlchemy
- Pretty user interfaces
- TkInter
- PyQt
- Choosing a GUI toolkit
- XML
- ElementTree
- Constructing XML documents
- lxml
- ElementTree
- CherryPy
- A full web stack?
- Jinja Templating
- The CherryPy blog web application
- A full web stack?
- Exercises
- Summary
- Database access
- Index
- Title: Python 3 Object Oriented Programming. If you feel it’s time you learned object-oriented programming techniques, this is the perfect book for you. Clearly written with practical exercises, it’s the painless way to learn how to harness the power of OOP in Python
- Author: Dusty Phillips
- Original title: Python 3 Object Oriented Programming. If you feel it’s time you learned object-oriented programming techniques, this is the perfect book for you. Clearly written with practical exercises, it’s the painless way to learn how to harness the power of OOP in Python.
- ISBN: 9781849511278, 9781849511278
- Date of issue: 2010-07-26
- Format: Ebook
- Item ID: e_2x3v
- Publisher: Packt Publishing