|
Каталог файлов
В категории материалов: 64 Показано материалов: 41-50 |
Страницы: « 1 2 3 4 5 6 7 » |
Сортировать по:
Дате ·
Названию ·
Рейтингу ·
Комментариям ·
Загрузкам ·
Просмотрам
Год: 2010 Автор: Dusty Phillips Издательство: Packt Publishing ISBN: 978-1849511261 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Количество страниц: 404 Описание: 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. Harness the power of Python 3 objects; it’s not just a scripting language What you will learn from this book Implement objects in Python by creating classes and defining methods Separate different objects into a taxonomy of classes, and describe the properties and behaviors of those objects via the class interface Design public interfaces using abstraction, encapsulation, and information hiding Turn your designs into working software by learning the Python syntax Share implementation using inheritance Add functionality to the existing classes and built-ins using inheritance Share similar code between classes by abstracting it into a parent class Raise, handle, define, and manipulate exceptions using special error objects Understand when to use object-oriented features, and more importantly when not to Learn what design patterns are, and why they are different in Python Uncover the simplicity of unit testing and why it’s so important in Python Utilize common Python 3 modules, libraries, and frameworks |
Год: 2010 Автор: John M. Hughes Издательство: O'Reilly Media ISBN: 0596809565, 978-0596809560 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Количество страниц: 622 Описание: Learn how to develop your own applications to monitor or control instrumentation hardware. Whether you need to acquire data from a device or automate its functions, this practical book shows you how to use Python's rapid development capabilities to build interfaces that include everything from software to wiring. You get step-by-step instructions, clear examples, and hands-on tips for interfacing a PC to a variety of devices. Use the book's hardware survey to identify the interface type for your particular device, and then follow detailed examples to develop an interface with Python and C. Organized by interface type, data processing activities, and user interface implementations, this book is for anyone who works with instrumentation, robotics, data acquisition, or process control. Understand how to define the scope of an application and determine the algorithms necessary, and why it's important Learn how to use industry-standard interfaces such as RS-232, RS-485, and GPIB Create low-level extension modules in C to interface Python with a variety of hardware and test instruments Explore the console, curses, TkInter, and wxPython for graphical and text-based user interfaces Use open source software tools and libraries to reduce costs and avoid implementing functionality from scratch |
Год: 2010 Автор: John Goerzen, Brandon Rhodes Издательство: Apress ISBN: 1430230037, 978-1430230038 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Количество страниц: 370 Описание: This second edition of Foundations of Python Network Programming targets Python 2.5 through Python 2.7, the most popular production versions of the language. Python has made great strides since Apress released the first edition of this book back in the days of Python 2.3. The advances required new chapters to be written from the ground up, and others to be extensively revised. You will learn fundamentals like IP, TCP, DNS and SSL by using working Python programs; you will also be able to familiarize yourself with infrastructure components like memcached and message queues. You can also delve into Network server designs, and compare threaded approaches with asynchronous event-based solutions. But the biggest change is this edition's expanded treatment of the web. The HTTP protocol is covered in extensive detail, with each feature accompanied by sample Python code. You can use your HTTP protocol expertise by studying an entire chapter on screen scraping and you can then test lxml and BeautifulSoup against a real-world web site. The chapter on web application programming now covers both the WSGI standard for component interoperability, as well as modern web frameworks like Django. Finally, all of the old favorites from the first edition are back: E-mail protocols like SMTP, POP, and IMAP get full treatment, as does XML-RPC. You can still learn how to code Python network programs using the Telnet and FTP protocols, but you are likely to appreciate the power of more modern alternatives like the paramiko SSH2 library. If you are a Python programmer who needs to learn the network, this is the book that you want by your side. What you’ll learn Understand low level networking Handle sending and receiving email including composing and decoding emails, SMTP, POP and IMAP Program the lower levels of web application programming such as FastCGI and WSGI and HTTP itself Learn how to use memcached and message qeues using Python Access web services using Python Master multitasking with threads, forking, and asynchronous communication Who this book is for This book will be of interest to python programmers who need to program networked applications using Python. From web application developers, to systems integrators, to system administrators—this book has everything you need to know. |
Год выпуска: 2007 Автор: Mark Summerfeld Формат: PDF Качество: Отсканированные страницы Количество страниц: 643 ISBN-10: 0132354187 ISBN-13: 978-0132354189 Описание: As PyQt’s creator, I’m delighted to see that this book has been written. Although I served as one of the book’s technical reviewers, I’m happy to confess that I learned a few things myself. The PyQt documentation covers the APIs of all the PyQt classes. This book shows you how to use all those classes, how to combine them to create dialogs, main windows, and entire applications—all of which look good and work well, with no arbitrary limits, and using a programming language that is a joy to use. What I particularly like about the book is that the examples aren’t trivial ones designed to illustrate a simple point, but are potentially useful in their own right. Theway that different approaches are considered will reward the reader who wants to develop a deeper understanding of how to apply PyQt to the development of large scale, production quality applications. |
Год выпуска: 2008 Автор: Tarek Ziadé Жанр: Python Programming Издательство: Packt Publishing Серия: Open Source ISBN: 184719494X Формат: PDF Качество: eBook (изначально компьютерное) Количество страниц: 350 pages Описание: Expert Python Programming Best practices for designing, coding, and distributing your Python software * Learn Python development best practices from an expert, with detailed coverage of naming and coding conventions * Apply object-oriented principles, design patterns, and advanced syntax tricks * Manage your code with distributed version control * Profile and optimize your code * Proactive test-driven development and continuous integration |
Год: 2010 Автор: Marty Alchin Издательство: Apress ISBN: 978-1-4302-2757-1, 978-1-4302-2758-8 Язык: Английский Формат: PDF Качество: Изначально компьютерное (eBook) Количество страниц: 369 Описание: You’ve learned the basics of Python, but how do you take your skills to the next stage? Even if you know enough to be productive, there are a number of features that can take you to the next level in Python. Pro Python explores concepts and features normally left to experimentation, allowing you to be even more productive and creative. In addition to pure code concerns, Pro Python will develop your programming techniques and approaches, which will help make you a better Python programmer. Not only will this book help your code, it will also help you understand and interact with the many established Python communities, or even start your own. * Take your Python knowledge and coding skills to the next level. * Write clean, innovative code that will be respected among your peers. * Make your code do more with introspection and metaprogramming. * Design complete frameworks and libraries (two are included in the book!). What you’ll learn * Write strong Python code that will be respected in the Python community. * Understand the reasons behind big design decisions in Python. * Write programs that can reconfigure themselves in Python. * Disguise your code as different types of objects in Python. * Inspect just about any object in Python. * Prepare your code for international audiences. * Ensure code quality with rigorous testing. This book is for intermediate to advanced Python programmers who are looking to understand how and why Python works the way it does and how they can take their code to the next level. Учебник по высокоуровневому языку программирования общего назначения. |
Год: 2010 Автор: Хахаев И.А. Издательство: Альт Линукс ISBN: 978-5-905167-02-7 Серия: Библиотека ALT Linux Язык: Русский Формат: PDF Качество: Изначально компьютерное (eBook) Количество страниц: 126 Описание: Это учебно-методический комплекс "Практикум по алгоритмизации и программированию на Python", который предназначен для начального знакомства с основными алгоритмами и с программированием на языке Python в интегрированных средах разработки (IDE) Geany и Eric. Комплекс состоит из учебного пособия, в котором рассматриваются типовые задачи в рамках базового курса информатики для средней школы (с учётом требований ЕГЭ), алгоритмы их решения и реализация этих алгоритмов на языке Python и методических указаний для учителей, где описываются особенности IDE Geany и IDE Eric, а также причины и особенности обучения программированию на Python. Кроме того, комплекс дополняется примерами программ по каждому разделу учебного пособия (32 файла с примерами вариантов разобранных задач.). Там, где это возможно, приводится универсальное решение, которое с минимальными исправлениями может быть реализовано на других языках программирования высокого уровня и параллельно даётся решение с использованием специфики языка Python. Дополнительно в пособии описываются основы моделирования и программирования графики в Python с использованием модуля turtle и кросс-платформенной библиотеки Tkinter. Книга будет полезна как в учебном процессе, так и для самостоятельных занятий. |
Год выпуска: 2008 Издательство: Apress Автор Magnus Lie Hetland ISBN: 1-59059-982-9 Формат: PDF Качество: eBook (изначально компьютерное) Количество страниц: 667 Описание: Gain a fundamental understanding of Python’s syntax and features with the second edition of Beginning Python, an up–to–date introduction and practical reference. Covering a wide array of Python–related programming topics, including addressing language internals, database integration, network programming, and web services, you’ll be guided by sound development principles. Ten accompanying projects will ensure you can get your hands dirty in no time. Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in the forthcoming Python 3.0 (otherwise known as Python 3000), advanced topics, such as extending Python and packaging/distributing Python applications, are also covered. What you’ll learn Become a proficient Python programmer by following along with a friendly, practical guide to the language’s key features. Write code faster by learning how to take advantage of advanced features such as magic methods, exceptions, and abstraction. Gain insight into modern Python programming paradigms including testing, documentation, packaging, and distribution. Learn by following along with ten interesting projects, including a P2P file–sharing application, chat client, video game, remote text editor, and more. Complete, downloadable code is provided for each project! Who is this book for? Programmers, novice and otherwise, seeking a comprehensive introduction to the Python programming language. |
Год выпуска: 2009 Автор: Swaroop C H Формат: PDF Качество: eBook (изначально компьютерное) Количество страниц: 118 Описание: 'A Byte of Python' is a book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save text files, then this is the book for you. This book is updated for the new Python 3.0 language.
|
Год выпуска: 2009 Издательство: Apress Автор Shai Vaingast ISBN: 1-4302-1843-2 Формат: PDF Качество: eBook (изначально компьютерное) Количество страниц: 378 Описание: We are visual animals. But before we can see the world in its true splendor, our brains, just like our computers, have to sort and organize raw data, and then transform that data to produce new images of the world. Beginning Python Visualization: Crafting Visual Transformation Scripts talks about turning many types of small data sources into useful visual data. And you will learn Python as part of the bargain. What you’ll learn Write ten lines of code and present visual information instead of data soup. Set up an open source environment ready for data visualization. Forget Excel: use Python. Learn numerical and textual processing. Draw graphs and plots based on textual and numerical data. Learn how to deal with images. Who is this book for? IT personnel, programmers, engineers, and hobbyists interested in acquiring and displaying data from the Web, sensors, economic trends, and even astronomical sources. |
|
|