Python: Journey from Novice to Expert. Journey from Novice to Expert Fabrizio Romano, Dusty Phillips, Rick van Hattem
(ebook)
(audiobook)
(audiobook)
- Autorzy:
- Fabrizio Romano, Dusty Phillips, Rick van Hattem
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Dostępne formaty:
-
PDFePubMobi
Opis
książki
:
Python: Journey from Novice to Expert. Journey from Novice to Expert
Python is a dynamic and powerful programming language, having its application in a wide range of domains. It has an easy-to-use, simple syntax, and a powerful library, which includes hundreds of modules to provide routines for a wide range of applications, thus making it a popular language among programing enthusiasts.This course will take you on a journey from basic programming practices to high-end tools and techniques giving you an edge over your peers. It follows an interesting learning path, divided into three modules. As you complete each one, you’ll have gained key skills and get ready for the material in the next module.The first module will begin with exploring all the essentials of Python programming in an easy-to-understand way. This will lay a good foundation for those who are interested in digging deeper. It has a practical and example-oriented approach through which both the introductory and the advanced topics are explained. Starting with the fundamentals of programming and Python, it ends by exploring topics, like GUIs, web apps, and data science.In the second module you will learn about object oriented programming techniques in Python. Starting with a detailed analysis of object-oriented technique and design, you will use the Python programming language to clearly grasp key concepts from the object-oriented paradigm. This module fully explains classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions with an emphasis on when you can use each principle to develop well-designed software.With a good foundation of Python you will move onto the third module which is a comprehensive tutorial covering advanced features of the Python language. Start by creating a project-specific environment using venv. This will introduce you to various Pythonic syntax and common pitfalls before moving onto functional features and advanced concepts, thereby gaining an expert level knowledge in programming and teaching how to script highest quality Python programs.
Wybrane bestsellery
-
Promocja
Ta zwięzła publikacja przyda się profesjonalistom, którzy lubią drobne ulepszenia prowadzące do dużych korzyści. Zrozumiale wyjaśniono w niej, na czym polega proces tworzenia czystego i niezawodnego kodu. W rozsądnej dawce podano zagadnienia teoretyczne, takie jak sprzężenie, kohezja, zdyskontowane przepływy pieniężne i opcjonalność. Porządkowanie kodu jest tu przedstawione jako element codziennej pracy programisty, prowadzący do poprawy struktury całego projektu. W książce znalazło się mnóstwo praktycznych przykładów, dzięki którym można wypróbować wybrane techniki, najlepiej sprawdzające się w danym przypadku.- PDF + ePub + Mobi
- Druk 24 pkt
(24,95 zł najniższa cena z 30 dni)
24.95 zł
49.90 zł (-50%) -
Promocja
Głębokie sieci neuronowe mają niesamowity potencjał. Osiągnięcia ostatnich lat nadały procesom uczenia głębokiego zupełnie nową jakość. Obecnie nawet programiści niezaznajomieni z tą technologią mogą korzystać z prostych i niezwykle skutecznych narzędzi, pozwalających na sprawne implementowanie programów uczących się z danych.- Druk 89 pkt
(89,50 zł najniższa cena z 30 dni)
89.50 zł
179.00 zł (-50%) -
Promocja
Ta książka zawiera opis podstawowych wzorców, zasad i praktyk przydatnych podczas analizy dziedzin biznesowych, ułatwiających zrozumienie ich strategii i dostosowanie architektury do potrzeb biznesu, aby umożliwić zbudowanie solidnej implementacji logiki biznesowej. Omówiono tu narzędzia i techniki podejmowania decyzji projektowych, a także istotniejsze wzorce projektowe. Dużo uwagi poświęcono kodowi i różnym sposobom implementacji logiki biznesowej systemu. Opisano również techniki i strategie stosowania DDD w rzeczywistych projektach. Ciekawym elementem jest zaprezentowanie związków projektowania dziedzinowego z innymi ważnymi metodologiami i wzorcami.- PDF + ePub + Mobi
- Druk 39 pkt
(39,50 zł najniższa cena z 30 dni)
39.50 zł
79.00 zł (-50%) -
Promocja
Dave Thomas i Andy Hunt napisali pierwsze wydanie tej wpływowej książki w 1999 roku, aby pomóc swoim klientom tworzyć lepsze oprogramowanie i na nowo odnaleźć radość z kodowania. Nauki płynące z tamtego wydania pomogły wielu pokoleniom programistów zbadać istotę rozwoju oprogramowania, niezależnie od stosowanego języka, frameworka, czy metodologii. Filozofia pragmatycznego programisty stała się inspiracją dla setek książek, przewodników internetowych oraz audiobooków, a także tysiący karier i historii sukcesu. Teraz, dwadzieścia lat później, w tym nowym wydaniu ponownie pokazano, co to znaczy być nowoczesnym programistą. W książce poruszono tematy począwszy od osobistej odpowiedzialności i rozwoju zawodowego, a kończywszy na technikach architektonicznych pozwalających utrzymywać kod, który jest elastyczny oraz łatwy do przystosowania do konkretnych warunków oraz wielokrotnego wykorzystania. Przeczytaj tę książkę, a dowiesz się, w jaki sposób:- PDF + ePub + Mobi
- Druk 38 pkt
(38,50 zł najniższa cena z 30 dni)
38.50 zł
77.00 zł (-50%) -
Promocja
W tej książce w sposób jasny i bardzo interesujący przedstawiono uniwersalne zasady architektury oprogramowania wraz z szeregiem wskazówek dotyczących stosowania tych reguł w praktyce. Wyczerpująco zaprezentowano tu dostępne rozwiązania i wyjaśniono, dlaczego są one tak istotne dla sukcesu przedsięwzięcia. Publikacja jest wypełniona bardzo praktycznymi rozwiązaniami problemów, z którymi musi się mierzyć wielu programistów. Szczególnie cenne są uwagi dotyczące zapobiegania częstemu problemowi, jakim jest stopniowa utrata jakości kodu w miarę postępu projektu. Ta książka obowiązkowo powinna się znaleźć w podręcznej biblioteczce każdego architekta oprogramowania, analityka systemowego, projektanta i menedżera!- PDF + ePub + Mobi
- Druk 44 pkt
(44,50 zł najniższa cena z 30 dni)
44.50 zł
89.00 zł (-50%) -
Promocja
Jeśli nie znasz GitHuba, to w tej krótkiej książce znajdziesz wszystkie informacje niezbędne do rozpoczęcia pracy z tym systemem: tylko tyle i aż tyle. Jest to znakomity przewodnik dla menedżerów projektu i produktu, udziałowców i innych członków zespołu, którzy chcą wziąć udział w realizacji projektu. To także doskonały poradnik dla programistów, którzy dopiero uczą się obsługi GitHuba.- PDF + ePub + Mobi
- Druk 16 pkt
(16,45 zł najniższa cena z 30 dni)
16.45 zł
32.90 zł (-50%) -
Promocja
O tym, ile problemów sprawia niedbale napisany kod, wie każdy programista. Nie wszyscy jednak wiedzą, jak napisać ten świetny, „czysty” kod i czym właściwie powinien się on charakteryzować. Co więcej – jak odróżnić dobry kod od złego? Odpowiedź na te pytania oraz sposoby tworzenia czystego, czytelnego kodu znajdziesz właśnie w tej książce. Podręcznik jest obowiązkową pozycją dla każdego, kto chce poznać techniki rzetelnego i efektywnego programowania.- PDF + ePub + Mobi
- Druk 39 pkt
(39,50 zł najniższa cena z 30 dni)
39.50 zł
79.00 zł (-50%) -
Promocja
Mistrz czystego kodu. Kodeks postępowania profesjonalnych programistów Podręcznik profesjonalnego programisty! Robert C. Martin, znany jako Uncle Bob, to jeden z prawdziwych gwiazdorów branży IT, człowiek o niezwykłej charyzmie, rewelacyjnym podejściu do słuchaczy i poczuciu humoru. O jego czas wciąż biją się konferencje branżowe. Poza działalności- PDF + ePub + Mobi
- Druk 24 pkt
(24,50 zł najniższa cena z 30 dni)
24.50 zł
49.00 zł (-50%) -
This insightful guide explores principles, best practices, and techniques for designing sustainable, scalable software systems with Kotlin. You'll discover real-world examples to help you create software systems that evolve easily over time.
W przygotowaniu
Powiadom mnie, gdy książka będzie dostępna -
Authors Irena Cronin and Robert Scoble answer the question of what Spatial Computing is and help you to understand where an augmented reality - where humans and machines can interact in a physical space – came from and where it's going.
W przygotowaniu
Powiadom mnie, gdy książka będzie dostępna
O autorach książki
Fabrizio Romano was born in Italy in 1975. He holds a master's degree in Computer Science Engineering from the University of Padova. He’s been working as a professional software developer since 1999. Fabrizio has been part of Sohonet’s Product Team since 2016. In 2020, the Television Academy honored them with an Emmy Award in Engineering Development for advancing remote collaboration.
Dusty Phillips jest kanadyjskim programistą i autorem książek o programowaniu. Pracował dla rządów, startupów i sieci społecznościowych. Obecnie zajmuje się pisaniem powieści fantastycznych.
Rick van Hattem is an experienced programmer, entrepreneur, Stack Overflow veteran, and software/database architect with more than 20 years of programming experience, including 15 years with Python. He has extensive experience with high-performance architecture featuring large amounts of concurrent users and/or data. Rick has founded several start-ups and has consulted many companies, including a few Y Combinator start-ups and several large businesses
Fabrizio Romano, Dusty Phillips, Rick van Hattem - pozostałe książki
-
Promocja
Python is a dynamic programming language. It is known for its high readability and hence it is often the first language learned by new programmers. Python being multi-paradigm, it can be used to achieve the same thing in different ways and it is compatible across different platforms. Even if you find writing Python code easy, writing code that is e- PDF + ePub + Mobi 107 pkt
(29,90 zł najniższa cena z 30 dni)
107.10 zł
119.00 zł (-10%) -
Promocja
Updated with the latest Python syntax and libraries, this second edition will help you to learn about abstract design patterns and their implementation in Python 3. You’ll also get to grips with classes, data encapsulation, inheritance, polymorphism, abstraction, and exceptions, and be able to develop well-designed software.- PDF + ePub + Mobi 134 pkt
(29,90 zł najniższa cena z 30 dni)
134.10 zł
149.00 zł (-10%) -
Nowość Promocja
This book will help you explore the foundations of Python programming and learn how Python can be used to achieve results.- PDF + ePub 116 pkt
(129,00 zł najniższa cena z 30 dni)
116.10 zł
129.00 zł (-10%) -
Promocja
Oto przyjazny przewodnik dla programistów Pythona, wyczerpująco wyjaśniający wiele zagadnień programowania obiektowego, takich jak dziedziczenie, kompozycja, polimorfizm, tworzenie klas i struktur danych. W książce szczegółowo omówiono zagadnienia obsługi wyjątków, testowania kodu i zastosowania technik programowania funkcyjnego. Opisano też dwa potężne zautomatyzowane systemy testowe: unittest i pytest. Zaprezentowano tematykę utrzymania złożonego oprogramowania napisanego w sposób zorientowany obiektowo, a także podano wskazówki odnoszące się do jego rozbudowy. Ważną częścią przewodnika jest omówienie zasad programowania współbieżnego we współczesnym Pythonie. Co ważne, poszczególne zagadnienia zostały zilustrowane diagramami UML, czytelnymi przykładami i studiami przypadków.- PDF + ePub + Mobi
- Druk 74 pkt
(74,50 zł najniższa cena z 30 dni)
74.50 zł
149.00 zł (-50%) -
Promocja
This book delves into the advanced features of the Python programming language and teaches you how they can be utilized to write powerful Python code and packages- PDF + ePub 89 pkt
(29,90 zł najniższa cena z 30 dni)
89.91 zł
99.90 zł (-10%) -
Promocja
This book will help you explore the foundations of Python programming and learn how Python can be used to achieve results.- PDF + ePub + Mobi 125 pkt
(29,90 zł najniższa cena z 30 dni)
125.10 zł
139.00 zł (-10%) -
Promocja
Being familiar with object-oriented design is an essential part of programming in Python. This new edition includes all the topics that made Python Object-Oriented Programming an instant Packt classic. Moreover, it’s packed with updated content to reflect more recent changes in the core Python libraries and cover modern third-party packages.- PDF + ePub 116 pkt
(29,90 zł najniższa cena z 30 dni)
116.10 zł
129.00 zł (-10%) -
Promocja
This Learning Path is a thorough and practical introduction to Python. You will learn all about Python data structures, its most common algorithms, and its objects, and use all these to create clever applications that will transform your business.- PDF + ePub + Mobi 161 pkt
(29,90 zł najniższa cena z 30 dni)
161.10 zł
179.00 zł (-10%) -
Promocja
If you want to develop complete Python web apps with Django, then this Learning Path is for you. You will walk through Python programming techniques, and them implement them for creating four professional Django projects, teaching you how to solve common problems and develop RESTful web services with Django and Python. You will learn how to build a blog application, a social image bookmarking website, an online shop and an e-learning platform.- PDF + ePub + Mobi 179 pkt
(29,90 zł najniższa cena z 30 dni)
179.10 zł
199.00 zł (-10%) -
Promocja
This new edition includes all the topics that made Python 3 Object-Oriented Programming an instant Packt classic. It’s also packed with updated content to reflect recent changes in the core Python library and covers modern third-party packages that were not available on the Python 3 platform when the book was first published.- PDF + ePub + Mobi 206 pkt
(29,90 zł najniższa cena z 30 dni)
206.10 zł
228.99 zł (-10%)
Ebooka "Python: Journey from Novice to Expert. Journey from Novice to Expert" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "Python: Journey from Novice to Expert. Journey from Novice to Expert" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "Python: Journey from Novice to Expert. Journey from Novice to Expert" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły książki
- Tytuł oryginału:
- Python: Journey from Novice to Expert. Journey from Novice to Expert
- ISBN Ebooka:
- 978-17-871-2076-1, 9781787120761
- Data wydania ebooka :
- 2016-08-31 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- 1
- Rozmiar pliku Pdf:
- 10.6MB
- Rozmiar pliku ePub:
- 8.6MB
- Rozmiar pliku Mobi:
- 19.7MB
Spis treści książki
- Python: Journey from Novice to Expert
- Table of Contents
- Python: Journey from Novice to Expert
- Python: Journey from Novice to Expert
- Credits
- Preface
- What this learning path covers
- What you need for this learning path
- Who this learning path is for
- Reader feedback
- Customer support
- Downloading the example code
- Errata
- Piracy
- Questions
- 1. Module 1
- 1. Introduction and First Steps Take a Deep Breath
- A proper introduction
- Enter the Python
- About Python
- Portability
- Coherence
- Developer productivity
- An extensive library
- Software quality
- Software integration
- Satisfaction and enjoyment
- What are the drawbacks?
- Who is using Python today?
- Setting up the environment
- Python 2 versus Python 3 the great debate
- Installing Python
- Setting up the Python interpreter
- About virtualenv
- Your first virtual environment
- Your friend, the console
- How you can run a Python program
- Running Python scripts
- Running the Python interactive shell
- Running Python as a service
- Running Python as a GUI application
- How is Python code organized
- How do we use modules and packages
- Pythons execution model
- Names and namespaces
- Scopes
- Object and classes
- Guidelines on how to write good code
- The Python culture
- A note on the IDEs
- Summary
- 2. Built-in Data Types
- Everything is an object
- Mutable or immutable? That is the question
- Numbers
- Integers
- Booleans
- Reals
- Complex numbers
- Fractions and decimals
- Immutable sequences
- Strings and bytes
- Encoding and decoding strings
- Indexing and slicing strings
- Tuples
- Strings and bytes
- Mutable sequences
- Lists
- Byte arrays
- Set types
- Mapping types dictionaries
- The collections module
- Named tuples
- Defaultdict
- ChainMap
- Final considerations
- Small values caching
- How to choose data structures
- About indexing and slicing
- About the names
- Summary
- 3. Iterating and Making Decisions
- Conditional programming
- A specialized else: elif
- The ternary operator
- Looping
- The for loop
- Iterating over a range
- Iterating over a sequence
- Iterators and iterables
- Iterating over multiple sequences
- The while loop
- The break and continue statements
- A special else clause
- The for loop
- Putting this all together
- Example 1 a prime generator
- Example 2 applying discounts
- A quick peek at the itertools module
- Infinite iterators
- Iterators terminating on the shortest input sequence
- Combinatoric generators
- Summary
- Conditional programming
- 4. Functions, the Building Blocks of Code
- Why use functions?
- Reduce code duplication
- Splitting a complex task
- Hide implementation details
- Improve readability
- Improve traceability
- Scopes and name resolution
- The global and nonlocal statements
- Input parameters
- Argument passing
- Assignment to argument names don't affect the caller
- Changing a mutable affects the caller
- How to specify input parameters
- Positional arguments
- Keyword arguments and default values
- Variable positional arguments
- Variable keyword arguments
- Keyword-only arguments
- Combining input parameters
- Avoid the trap! Mutable defaults
- Return values
- Returning multiple values
- A few useful tips
- Recursive functions
- Anonymous functions
- Function attributes
- Built-in functions
- One final example
- Documenting your code
- Importing objects
- Relative imports
- Summary
- Why use functions?
- 5. Saving Time and Memory
- map, zip, and filter
- map
- zip
- filter
- Comprehensions
- Nested comprehensions
- Filtering a comprehension
- dict comprehensions
- set comprehensions
- Generators
- Generator functions
- Going beyond next
- The yield from expression
- Generator expressions
- Some performance considerations
- Don't overdo comprehensions and generators
- Name localization
- Generation behavior in built-ins
- One last example
- Summary
- map, zip, and filter
- 6. Advanced Concepts OOP, Decorators, and Iterators
- Decorators
- A decorator factory
- Object-oriented programming
- The simplest Python class
- Class and object namespaces
- Attribute shadowing
- I, me, and myself using the self variable
- Initializing an instance
- OOP is about code reuse
- Inheritance and composition
- Accessing a base class
- Multiple inheritance
- Method resolution order
- Static and class methods
- Static methods
- Class methods
- Private methods and name mangling
- The property decorator
- Operator overloading
- Polymorphism a brief overview
- Writing a custom iterator
- Summary
- Decorators
- 7. Testing, Profiling, and Dealing with Exceptions
- Testing your application
- The anatomy of a test
- Testing guidelines
- Unit testing
- Writing a unit test
- Mock objects and patching
- Assertions
- A classic unit test example
- Making a test fail
- Interface testing
- Comparing tests with and without mocks
- Boundaries and granularity
- A more interesting example
- Test-driven development
- Exceptions
- Profiling Python
- When to profile?
- Summary
- Testing your application
- 8. The Edges GUIs and Scripts
- First approach scripting
- The imports
- Parsing arguments
- The business logic
- Second approach a GUI application
- The imports
- The layout logic
- The business logic
- Fetching the web page
- Saving the images
- Alerting the user
- How to improve the application?
- Where do we go from here?
- The tkinter.tix module
- The turtle module
- wxPython, PyQt, and PyGTK
- The principle of least astonishment
- Threading considerations
- Summary
- First approach scripting
- 9. Data Science
- IPython and Jupyter notebook
- Dealing with data
- Setting up the notebook
- Preparing the data
- Cleaning the data
- Creating the DataFrame
- Unpacking the campaign name
- Unpacking the user data
- Cleaning everything up
- Saving the DataFrame to a file
- Visualizing the results
- Where do we go from here?
- Summary
- 10. Web Development Done Right
- What is the Web?
- How does the Web work?
- The Django web framework
- Django design philosophy
- The model layer
- The view layer
- The template layer
- The Django URL dispatcher
- Regular expressions
- Django design philosophy
- A regex website
- Setting up Django
- Starting the project
- Creating users
- Adding the Entry model
- Customizing the admin panel
- Creating the form
- Writing the views
- The home view
- The entry list view
- The form view
- Tying up URLs and views
- Writing the templates
- Setting up Django
- The future of web development
- Writing a Flask view
- Building a JSON quote server in Falcon
- Summary
- 11. Debugging and Troubleshooting
- Debugging techniques
- Debugging with print
- Debugging with a custom function
- Inspecting the traceback
- Using the Python debugger
- Inspecting log files
- Other techniques
- Profiling
- Assertions
- Where to find information
- Troubleshooting guidelines
- Using console editors
- Where to inspect
- Using tests to debug
- Monitoring
- Summary
- Debugging techniques
- 12. Summing Up A Complete Example
- The challenge
- Our implementation
- Implementing the Django interface
- The setup
- The model layer
- A simple form
- The view layer
- Imports and home view
- Listing all records
- Creating records
- Updating records
- Deleting records
- Setting up the URLs
- The template layer
- Home and footer templates
- Listing all records
- Creating and editing records
- Talking to the API
- Deleting records
- Implementing the Falcon API
- The main application
- Writing the helpers
- Coding the password validator
- Coding the password generator
- Writing the handlers
- Coding the password validator handler
- Coding the password generator handler
- Running the API
- Testing the API
- Testing the helpers
- Testing the handlers
- Where do you go from here?
- Summary
- 1. Introduction and First Steps Take a Deep Breath
- 2. Module 2
- 1. Object-oriented Design
- Introducing object-oriented
- Objects and classes
- Specifying attributes and behaviors
- Data describes objects
- Behaviors are actions
- Hiding details and creating the public interface
- Composition
- Inheritance
- Inheritance provides abstraction
- Multiple inheritance
- Case study
- Exercises
- Summary
- 2. Objects in Python
- Creating Python classes
- Adding attributes
- Making it do something
- Talking to yourself
- More arguments
- Initializing the object
- Explaining yourself
- Modules and packages
- Organizing the modules
- Absolute imports
- Relative imports
- Organizing the modules
- Organizing module contents
- Who can access my data?
- Third-party libraries
- 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
- Abstract base classes
- Using an abstract base class
- Creating an abstract base class
- Demystifying the magic
- Case study
- Exercises
- Summary
- Basic inheritance
- 4. Expecting the Unexpected
- Raising exceptions
- Raising an exception
- The effects of an exception
- Handling exceptions
- The exception hierarchy
- Defining our own exceptions
- Case study
- Exercises
- Summary
- Raising exceptions
- 5. When to Use Object-oriented Programming
- Treat objects as objects
- Adding behavior to class data with properties
- Properties in detail
- Decorators another way to create properties
- Deciding when to use properties
- Manager objects
- Removing duplicate code
- In practice
- Case study
- Exercises
- Summary
- 6. Python Data Structures
- Empty objects
- Tuples and named tuples
- Named tuples
- Dictionaries
- Dictionary use cases
- Using defaultdict
- Counter
- Lists
- Sorting lists
- Sets
- Extending built-ins
- Queues
- FIFO queues
- LIFO queues
- Priority queues
- Case study
- Exercises
- Summary
- 7. Python Object-oriented Shortcuts
- Python built-in functions
- The len() function
- Reversed
- Enumerate
- File I/O
- Placing it in context
- 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. Strings and Serialization
- 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
- Regular expressions
- Matching patterns
- Matching a selection of characters
- Escaping characters
- Matching multiple characters
- Grouping patterns together
- Getting information from regular expressions
- Making repeated regular expressions efficient
- Matching patterns
- Serializing objects
- Customizing pickles
- Serializing web objects
- Case study
- Exercises
- Summary
- Strings
- 9. The Iterator Pattern
- Design patterns in brief
- Iterators
- The iterator protocol
- Comprehensions
- List comprehensions
- Set and dictionary comprehensions
- Generator expressions
- Generators
- Yield items from another iterable
- Coroutines
- Back to log parsing
- Closing coroutines and throwing exceptions
- The relationship between coroutines, generators, and functions
- Case study
- Exercises
- Summary
- 10. Python Design Patterns I
- The decorator pattern
- A decorator example
- Decorators in Python
- The observer pattern
- An observer example
- The strategy pattern
- A strategy example
- Strategy in Python
- The state pattern
- A state example
- State versus strategy
- State transition as coroutines
- The singleton pattern
- Singleton implementation
- The template pattern
- A template example
- Exercises
- Summary
- The decorator pattern
- 11. Python Design Patterns II
- The adapter pattern
- The facade pattern
- The flyweight pattern
- The command pattern
- The abstract factory pattern
- The composite pattern
- Exercises
- Summary
- 12. Testing Object-oriented Programs
- Why test?
- Test-driven development
- Unit testing
- Assertion methods
- Reducing boilerplate and cleaning up
- Organizing and running tests
- Ignoring broken tests
- Testing with py.test
- One way to do setup and cleanup
- A completely different way to set up variables
- Skipping tests with py.test
- Imitating expensive objects
- How much testing is enough?
- Case study
- Implementing it
- Exercises
- Summary
- Why test?
- 13. Concurrency
- Threads
- The many problems with threads
- Shared memory
- The global interpreter lock
- Thread overhead
- The many problems with threads
- Multiprocessing
- Multiprocessing pools
- Queues
- The problems with multiprocessing
- Futures
- AsyncIO
- AsyncIO in action
- Reading an AsyncIO future
- AsyncIO for networking
- Using executors to wrap blocking code
- Streams
- Executors
- Case study
- Exercises
- Summary
- Threads
- 1. Object-oriented Design
- 3. Module 3
- 1. Getting Started One Environment per Project
- Creating a virtual Python environment using venv
- Creating your first venv
- venv arguments
- Differences between virtualenv and venv
- Bootstrapping pip using ensurepip
- ensurepip usage
- Manual pip install
- Installing C/C++ packages
- Debian and Ubuntu
- Red Hat, CentOS, and Fedora
- OS X
- Windows
- Summary
- Creating a virtual Python environment using venv
- 2. Pythonic Syntax, Common Pitfalls, and Style Guide
- Code style or what is Pythonic code?
- Formatting strings printf-style or str.format?
- PEP20, the Zen of Python
- Beautiful is better than ugly
- Explicit is better than implicit
- Simple is better than complex
- Flat is better than nested
- Sparse is better than dense
- Readability counts
- Practicality beats purity
- Errors should never pass silently
- In the face of ambiguity, refuse the temptation to guess
- One obvious way to do it
- Now is better than never
- Hard to explain, easy to explain
- Namespaces are one honking great idea
- Conclusion
- Explaining PEP8
- Duck typing
- Differences between value and identity comparisons
- Loops
- Maximum line length
- Verifying code quality, pep8, pyflakes, and more
- flake8
- Pep8
- pyflakes
- McCabe
- flake8
- Pylint
- flake8
- Common pitfalls
- Scope matters!
- Function arguments
- Class properties
- Modifying variables in the global scope
- Overwriting and/or creating extra built-ins
- Modifying while iterating
- Catching exceptions differences between Python 2 and 3
- Late binding be careful with closures
- Circular imports
- Import collisions
- Scope matters!
- Summary
- Code style or what is Pythonic code?
- 3. Containers and Collections Storing Data the Right Way
- Time complexity the big O notation
- Core collections
- list a mutable list of items
- dict unsorted but a fast map of items
- set like a dict without values
- tuple the immutable list
- Advanced collections
- ChainMap the list of dictionaries
- counter keeping track of the most occurring elements
- deque the double ended queue
- defaultdict dictionary with a default value
- namedtuple tuples with field names
- enum a group of constants
- OrderedDict a dictionary where the insertion order matters
- heapq the ordered list
- bisect the sorted list
- Summary
- 4. Functional Programming Readability Versus Brevity
- Functional programming
- list comprehensions
- dict comprehensions
- set comprehensions
- lambda functions
- The Y combinator
- functools
- partial no need to repeat all arguments every time
- reduce combining pairs into a single result
- Implementing a factorial function
- Processing trees
- itertools
- accumulate reduce with intermediate results
- chain combining multiple results
- combinations combinatorics in Python
- permutations combinations where the order matters
- compress selecting items using a list of Booleans
- dropwhile/takewhile selecting items using a function
- count infinite range with decimal steps
- groupby grouping your sorted iterable
- islice slicing any iterable
- Summary
- 5. Decorators Enabling Code Reuse by Decorating
- Decorating functions
- Why functools.wraps is important
- How are decorators useful?
- Memoization using decorators
- Decorators with (optional) arguments
- Creating decorators using classes
- Decorating class functions
- Skipping the instance classmethod and staticmethod
- Properties smart descriptor usage
- Decorating classes
- Singletons classes with a single instance
- Total ordering sortable classes the easy way
- Useful decorators
- Single dispatch polymorphism in Python
- Contextmanager, with statements made easy
- Validation, type checks, and conversions
- Useless warnings how to ignore them
- Summary
- Decorating functions
- 6. Generators and Coroutines Infinity, One Step at a Time
- What are generators?
- Advantages and disadvantages of generators
- Pipelines an effective use of generators
- tee using an output multiple times
- Generating from generators
- Context managers
- Coroutines
- A basic example
- Priming
- Closing and throwing exceptions
- Bidirectional pipelines
- Using the state
- Summary
- What are generators?
- 7. Async IO Multithreading without Threads
- Introducing the asyncio library
- The async and await statements
- Python 3.4
- Python 3.5
- Choosing between the 3.4 and 3.5 syntax
- A simple example of single-threaded parallel processing
- Concepts of asyncio
- Futures and tasks
- Event loops
- Event loop implementations
- Event loop policies
- Event loop usage
- Processes
- Asynchronous servers and clients
- Basic echo server
- The async and await statements
- Summary
- Introducing the asyncio library
- 8. Metaclasses Making Classes (Not Instances) Smarter
- Dynamically creating classes
- A basic metaclass
- Arguments to metaclasses
- Accessing metaclass attributes through classes
- Abstract classes using collections.abc
- Internal workings of the abstract classes
- Custom type checks
- Using abc.ABC before Python 3.4
- Automatically registering a plugin system
- Importing plugins on-demand
- Importing plugins through configuration
- Importing plugins through the file system
- Order of operations when instantiating classes
- Finding the metaclass
- Preparing the namespace
- Executing the class body
- Creating the class object (not instance)
- Executing the class decorators
- Creating the class instance
- Example
- Storing class attributes in definition order
- The classic solution without metaclasses
- Using metaclasses to get a sorted namespace
- Summary
- Dynamically creating classes
- 9. Documentation How to Use Sphinx and reStructuredText
- The reStructuredText syntax
- Getting started with reStructuredText
- Inline markup
- Headers
- Lists
- Enumerated list
- Bulleted list
- Option list
- Definition list
- Nested lists
- Links, references, and labels
- Images
- Substitutions
- Blocks, code, math, comments, and quotes
- Conclusion
- The Sphinx documentation generator
- Getting started with Sphinx
- Using sphinx-quickstart
- Using sphinx-apidoc
- Sphinx directives
- The table of contents tree directive (toctree)
- Autodoc, documenting Python modules, classes, and functions
- Sphinx roles
- Getting started with Sphinx
- Documenting code
- Documenting a class with the Sphinx style
- Documenting a class with the Google style
- Documenting a class with the NumPy style
- Which style to choose
- Summary
- The reStructuredText syntax
- 10. Testing and Logging Preparing for Bugs
- Using examples as tests with doctest
- A simple doctest example
- Writing doctests
- Testing with pure documentation
- The doctest flags
- True and False versus 1 and 0
- Normalizing whitespace
- Ellipsis
- Doctest quirks
- Testing dictionaries
- Testing floating-point numbers
- Times and durations
- Testing with py.test
- The difference between the unittest and py.test output
- The difference between unittest and py.test tests
- Simplifying assertions
- Parameterizing tests
- Automatic arguments using fixtures
- Cache
- Custom fixtures
- Print statements and logging
- Plugins
- pytest-cov
- pytest-pep8 and pytest-flakes
- Configuring plugins
- Mock objects
- Using unittest.mock
- Using py.test monkeypatch
- Logging
- Configuration
- Basic logging configuration
- Dictionary configuration
- JSON configuration
- Ini file configuration
- The network configuration
- Logger
- Usage
- Configuration
- Summary
- Using examples as tests with doctest
- 11. Debugging Solving the Bugs
- Non-interactive debugging
- Inspecting your script using trace
- Debugging using logging
- Showing call stack without exceptions
- Debugging asyncio
- Handling crashes using faulthandler
- Interactive debugging
- Console on demand
- Debugging using pdb
- Breakpoints
- Catching exceptions
- Commands
- Debugging using ipdb
- Other debuggers
- Debugging services
- Summary
- Non-interactive debugging
- 12. Performance Tracking and Reducing Your Memory and CPU Usage
- What is performance?
- Timeit comparing code snippet performance
- cProfile finding the slowest components
- First profiling run
- Calibrating your profiler
- Selective profiling using decorators
- Using profile statistics
- Line profiler
- Improving performance
- Using the right algorithm
- Global interpreter lock
- Try versus if
- Lists versus generators
- String concatenation
- Addition versus generators
- Map versus generators and list comprehensions
- Caching
- Lazy imports
- Using optimized libraries
- Just-in-time compiling
- Converting parts of your code to C
- Memory usage
- Tracemalloc
- Memory profiler
- Memory leaks
- Reducing memory usage
- Generators versus lists
- Recreating collections versus removing items
- Using slots
- Performance monitoring
- Summary
- 13. Multiprocessing When a Single CPU Core Is Not Enough
- Multithreading versus multiprocessing
- Hyper-threading versus physical CPU cores
- Creating a pool of workers
- Sharing data between processes
- Remote processes
- Distributed processing using multiprocessing
- Distributed processing using IPyparallel
- ipython_config.py
- ipython_kernel_config.py
- ipcontroller_config.py
- ipengine_config.py
- ipcluster_config.py
- Summary
- 14. Extensions in C/C++, System Calls, and C/C++ Libraries
- Introduction
- Do you need C/C++ modules?
- Windows
- OS X
- Linux/Unix
- Calling C/C++ with ctypes
- Platform-specific libraries
- Windows
- Linux/Unix
- OS X
- Making it easy
- Calling functions and native types
- Complex data structures
- Arrays
- Gotchas with memory management
- Platform-specific libraries
- CFFI
- Complex data structures
- Arrays
- ABI or API?
- CFFI or ctypes?
- Native C/C++ extensions
- A basic example
- C is not Python size matters
- The example explained
- static
- PyObject*
- Parsing arguments
- C is not Python errors are silent or lethal
- Calling Python from C handling complex types
- Summary
- Introduction
- 15. Packaging Creating Your Own Libraries or Applications
- Installing packages
- Setup parameters
- Packages
- Entry points
- Creating global commands
- Custom setup.py commands
- Package data
- Testing packages
- Unittest
- py.test
- Nosetests
- C/C++ extensions
- Regular extensions
- Cython extensions
- Wheels the new eggs
- Distributing to the Python Package Index
- Summary
- 1. Getting Started One Environment per Project
- A. Bibliography
- Index
Packt Publishing - inne książki
-
Promocja
Master the craft of offensive security using Python. Gain holistic understanding of web security, exploit vulnerabilities, automate security tasks, and fortify your defenses to succeed in the ever-evolving cybersecurity landscape.- PDF + ePub 98 pkt
(29,90 zł najniższa cena z 30 dni)
98.10 zł
109.00 zł (-10%) -
Promocja
A comprehensive book that equips you with essential techniques to assess, exploit, and secure APIs against cyber threats.- PDF + ePub 116 pkt
(29,90 zł najniższa cena z 30 dni)
116.10 zł
129.00 zł (-10%) -
Promocja
This edition, updated and expanded, addresses feedback from readers and the latest industry developments. It offers invaluable insights into various cybersecurity roles, from SOC Analyst to Penetration Tester, with a focus on succeeding in interviews- PDF + ePub 116 pkt
(29,90 zł najniższa cena z 30 dni)
116.10 zł
129.00 zł (-10%) -
Promocja
Learn how to use Zabbix for building scalable and customizable enterprise monitoring solutions through detailed recipes, guiding you to overcome issues in infrastructure performance and enhance your monitoring setup by leveraging Zabbix 7 features.- PDF + ePub 134 pkt
(29,90 zł najniższa cena z 30 dni)
134.10 zł
149.00 zł (-10%) -
Promocja
This Packt bestseller will help you master the important areas of the Django framework as you build practical projects from scratch. You’ll learn how to progressively create more complex web apps and fill in gaps in the official documentation.- PDF + ePub 125 pkt
(29,90 zł najniższa cena z 30 dni)
125.10 zł
139.00 zł (-10%) -
Promocja
The OSINT Handbook book helps you understand the significance of open-source intelligence and master advanced techniques and tools, equipping you with the skills you need to navigate the digital landscape effectively.- PDF + ePub 85 pkt
(29,90 zł najniższa cena z 30 dni)
85.49 zł
94.99 zł (-10%) -
Promocja
This PostgreSQL book gets you up to speed with PostgreSQL 16. It helps you get quick solutions to all your basic and advanced DBA challenges with a hands-on approach that helps you resolve problems while understanding the reasoning- PDF + ePub 134 pkt
PostgreSQL 16 Administration Cookbook. Solve real-world Database Administration challenges with 180+ practical recipes and best practices
Gianni Ciolli, Boriss Mejías, Jimmy Angelakos, Vibhor Kumar, Simon Riggs
(29,90 zł najniższa cena z 30 dni)
134.10 zł
149.00 zł (-10%) -
Promocja
PostgreSQL has become a widely adopted database engine thanks to its robust enterprise capabilities. This edition will not only help you get up and running with the latest changes in PostgreSQL but will also focus on its most important features; like transactions, security, replication, backup and restore, extensions and more.- PDF + ePub 116 pkt
(29,90 zł najniższa cena z 30 dni)
116.10 zł
129.00 zł (-10%) -
Promocja
Security assessment in the ICS environment is often a challenging task that requires divergent thinking. Pentesting Industrial Control Systems covers the nuts and bolts of specifically what to look for when securing an industrial control system.- PDF + ePub 125 pkt
(29,90 zł najniższa cena z 30 dni)
125.10 zł
139.00 zł (-10%) -
Build scalable applications from the ground up. Learn foundational concepts, design and implement pipelines, and deploy confidently. This comprehensive guide equips you with the skills to excel in the world of natural language processing.
W przygotowaniu
Powiadom mnie, gdy książka będzie dostępna
Dzięki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep@ebookpoint.pl
Proszę wybrać ocenę!
Proszę wpisać opinię!
Książka drukowana
* pola obowiązkowe
Proszę czekać...
Oceny i opinie klientów: Python: Journey from Novice to Expert. Journey from Novice to Expert Fabrizio Romano, Dusty Phillips, Rick van Hattem (0) Weryfikacja opinii następuje na podstawie historii zamowień na koncie Użytkownika umiejszczającego opinię.