EBookClubs

Read Books & Download eBooks Full Online

EBookClubs

Read Books & Download eBooks Full Online

Book Python for Professionals

Download or read book Python for Professionals written by Matt Telles and published by BPB Publications. This book was released on 2019-12-18 with total page 376 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn to be a Python expert in ten easy lessons DESCRIPTIONÊ This book is intended for the professional programmer who wants to learn Python for their place of business, or simply to extend their knowledge. You will learn the basics of the language--from how to define variables and implement looping and conditional constructs, to working with existing code. Once we have established the baseline for writing code in Python, youÕll learn how to create your own functions and classes, how to extend existing code, and how to work with Python-specific things like comprehensions and generators. With a solid foundation, you will then move on to learn about the existing Python libraries, called packages, and how to use them, as well as discovering little tips and tricks that will make you a hit with all the programmers at work, and really aid you in nailing that programming interview. KEY FEATURESÊ Acquire knowledge of Python programming simply and easily. Learn about object-oriented programming and how it applies to Python. Make a splash with list comprehensions, generators, and decorators. Learn about file processing with Python, and how it makes JSON easy to deal with. Work with dictionaries and sets quickly and easily. Learn about what others have made available in the Python world. Pick up tricks and tips that will make you look like a Python expert in no time. WHAT WILL YOU LEARNÊ By the time you have finished this book, you will know enough to write complex Python programs and work with existing Python code. You will find out about the packages that make Python one of the most popular programming languages and will understand the ÒPythonicÓ way of thinking and programming. WHO THIS BOOK IS FORÊÊ This book is designed for programmers who have experience in at least one programming language. No prior Python experience is necessary, but it is assumed that you understand the basics of loops, conditionals and object-oriented constructs, such as classes. You should have or have access to a system that runs Python 3 (any version). Table of Contents 1. The history and installation of Python 2. Python types and constructs 3. The Nuts and Bolts 4. Structuring your Python projects 5. Object-oriented programming with Python 6. Advanced manipulations 7. File input and output 8. Imports and Exports 9. Miscellaneous 10. Not re-inventing the wheel 11. Tips and Tricks

Book Professional Python

    Book Details:
  • Author : Luke Sneeringer
  • Publisher : John Wiley & Sons
  • Release : 2015-10-07
  • ISBN : 1119070783
  • Pages : 288 pages

Download or read book Professional Python written by Luke Sneeringer and published by John Wiley & Sons. This book was released on 2015-10-07 with total page 288 pages. Available in PDF, EPUB and Kindle. Book excerpt: Master the secret tools every Python programmer needs to know Professional Python goes beyond the basics to teach beginner- and intermediate-level Python programmers the little-known tools and constructs that build concise, maintainable code. Design better architecture and write easy-to-understand code using highly adoptable techniques that result in more robust and efficient applications. Coverage includes Decorators, Context Managers, Magic Methods, Class Factories, Metaclasses, Regular Expressions, and more, including advanced methods for unit testing using asyncio and CLI tools. Each topic includes an explanation of the concept and a discussion on applications, followed by hands-on tutorials based on real-world scenarios. The "Python 3 first" approach covers multiple current versions, while ensuring long-term relevance. Python offers many tools and techniques for writing better code, but often confusing documentation leaves many programmers in the dark about how to use them. This book shines a light on these incredibly useful methods, giving you clear guidance toward building stronger applications. Learn advanced Python functions, classes, and libraries Utilize better development and testing tools Understand the "what," "when," "why," and "how" More than just theory or a recipe-style walk-through, this guide helps you learn — and understand — these little-known tools and techniques. You'll streamline your workflow while improving the quality of your output, producing more robust applications with cleaner code and stronger architecture. If you're ready to take your Python skills to the next level, Professional Python is the invaluable guide that will get you there.

Book Beginning Python

    Book Details:
  • Author : Magnus Lie Hetland
  • Publisher : Apress
  • Release : 2006-11-07
  • ISBN : 1430200723
  • Pages : 615 pages

Download or read book Beginning Python written by Magnus Lie Hetland and published by Apress. This book was released on 2006-11-07 with total page 615 pages. Available in PDF, EPUB and Kindle. Book excerpt: * Totaling 900 pages and covering all of the topics important to new and intermediate users, Beginning Python is intended to be the most comprehensive book on the Python ever written. * The 15 sample projects in Beginning Python are attractive to novice programmers interested in learning by creating applications of timely interest, such as a P2P file-sharing application, Web-based bulletin-board, and an arcade game similar to the classic Space Invaders. * The author Magnus Lie Hetland, PhD, is author of Apress’ well-received 2002 title, Practical Python, ISBN: 1-59059-006-6. He’s also author of the popular online guide, Instant Python Hacking (http://www.hetland.org), from which both Practical Python and Beginning Python are based.

Book Practices of the Python Pro

Download or read book Practices of the Python Pro written by Dane Hillard and published by Simon and Schuster. This book was released on 2019-12-22 with total page 363 pages. Available in PDF, EPUB and Kindle. Book excerpt: Summary Professional developers know the many benefits of writing application code that’s clean, well-organized, and easy to maintain. By learning and following established patterns and best practices, you can take your code and your career to a new level. With Practices of the Python Pro, you’ll learn to design professional-level, clean, easily maintainable software at scale using the incredibly popular programming language, Python. You’ll find easy-to-grok examples that use pseudocode and Python to introduce software development best practices, along with dozens of instantly useful techniques that will help you code like a pro. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Professional-quality code does more than just run without bugs. It’s clean, readable, and easy to maintain. To step up from a capable Python coder to a professional developer, you need to learn industry standards for coding style, application design, and development process. That’s where this book is indispensable. About the book Practices of the Python Pro teaches you to design and write professional-quality software that’s understandable, maintainable, and extensible. Dane Hillard is a Python pro who has helped many dozens of developers make this step, and he knows what it takes. With helpful examples and exercises, he teaches you when, why, and how to modularize your code, how to improve quality by reducing complexity, and much more. Embrace these core principles, and your code will become easier for you and others to read, maintain, and reuse. What's inside Organizing large Python projects Achieving the right levels of abstraction Writing clean, reusable code Inheritance and composition Considerations for testing and performance About the reader For readers familiar with the basics of Python, or another OO language. About the author Dane Hillard has spent the majority of his development career using Python to build web applications. Table of Contents: PART 1 WHY IT ALL MATTERS 1 ¦ The bigger picture PART 2 FOUNDATIONS OF DESIGN 2 ¦ Separation of concerns 3 ¦ Abstraction and encapsulation 4 ¦ Designing for high performance 5 ¦ Testing your software PART 3 NAILING DOWN LARGE SYSTEMS 6 ¦ Separation of concerns in practice 7 ¦ Extensibility and flexibility 8 ¦ The rules (and exceptions) of inheritance 9 ¦ Keeping things lightweight 10 ¦ Achieving loose coupling PART 4 WHAT’S NEXT? 11 ¦ Onward and upward

Book Pro Python

    Book Details:
  • Author : Marty Alchin
  • Publisher : Apress
  • Release : 2010-12-28
  • ISBN : 1430227583
  • Pages : 351 pages

Download or read book Pro Python written by Marty Alchin and published by Apress. This book was released on 2010-12-28 with total page 351 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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!). For more information, including a link to the source code referenced in the book, please visit http://propython.com/.

Book Python One Liners

    Book Details:
  • Author : Christian Mayer
  • Publisher : No Starch Press
  • Release : 2020-05-12
  • ISBN : 1718500513
  • Pages : 217 pages

Download or read book Python One Liners written by Christian Mayer and published by No Starch Press. This book was released on 2020-05-12 with total page 217 pages. Available in PDF, EPUB and Kindle. Book excerpt: Python programmers will improve their computer science skills with these useful one-liners. Python One-Liners will teach you how to read and write "one-liners": concise statements of useful functionality packed into a single line of code. You'll learn how to systematically unpack and understand any line of Python code, and write eloquent, powerfully compressed Python like an expert. The book's five chapters cover tips and tricks, regular expressions, machine learning, core data science topics, and useful algorithms. Detailed explanations of one-liners introduce key computer science concepts and boost your coding and analytical skills. You'll learn about advanced Python features such as list comprehension, slicing, lambda functions, regular expressions, map and reduce functions, and slice assignments. You'll also learn how to: • Leverage data structures to solve real-world problems, like using Boolean indexing to find cities with above-average pollution • Use NumPy basics such as array, shape, axis, type, broadcasting, advanced indexing, slicing, sorting, searching, aggregating, and statistics • Calculate basic statistics of multidimensional data arrays and the K-Means algorithms for unsupervised learning • Create more advanced regular expressions using grouping and named groups, negative lookaheads, escaped characters, whitespaces, character sets (and negative characters sets), and greedy/nongreedy operators • Understand a wide range of computer science topics, including anagrams, palindromes, supersets, permutations, factorials, prime numbers, Fibonacci numbers, obfuscation, searching, and algorithmic sorting By the end of the book, you'll know how to write Python at its most refined, and create concise, beautiful pieces of "Python art" in merely a single line.

Book Python for Finance

    Book Details:
  • Author : Yves J. Hilpisch
  • Publisher : "O'Reilly Media, Inc."
  • Release : 2018-12-05
  • ISBN : 1492024295
  • Pages : 682 pages

Download or read book Python for Finance written by Yves J. Hilpisch and published by "O'Reilly Media, Inc.". This book was released on 2018-12-05 with total page 682 pages. Available in PDF, EPUB and Kindle. Book excerpt: The financial industry has recently adopted Python at a tremendous rate, with some of the largest investment banks and hedge funds using it to build core trading and risk management systems. Updated for Python 3, the second edition of this hands-on book helps you get started with the language, guiding developers and quantitative analysts through Python libraries and tools for building financial applications and interactive financial analytics. Using practical examples throughout the book, author Yves Hilpisch also shows you how to develop a full-fledged framework for Monte Carlo simulation-based derivatives and risk analytics, based on a large, realistic case study. Much of the book uses interactive IPython Notebooks.

Book Powerful Python

    Book Details:
  • Author : Aaron Maxwell
  • Publisher : "O'Reilly Media, Inc."
  • Release : 2024-11-08
  • ISBN : 1098175662
  • Pages : 197 pages

Download or read book Powerful Python written by Aaron Maxwell and published by "O'Reilly Media, Inc.". This book was released on 2024-11-08 with total page 197 pages. Available in PDF, EPUB and Kindle. Book excerpt: Once you've mastered the basics of Python, how do you skill up to the top 1%? How do you focus your learning time on topics that yield the most benefit for production engineering and data teams—without getting distracted by info of little real-world use? This book answers these questions and more. Based on author Aaron Maxwell's software engineering career in Silicon Valley, this unique book focuses on the Python first principles that act to accelerate everything else: the 5% of programming knowledge that makes the remaining 95% fall like dominos. It's also this knowledge that helps you become an exceptional Python programmer, fast. Learn how to think like a Pythonista: explore advanced Pythonic thinking Create lists, dicts, and other data structures using a high-level, readable, and maintainable syntax Explore higher-order function abstractions that form the basis of Python libraries Examine Python's metaprogramming tool for priceless patterns of code reuse Master Python's error model and learn how to leverage it in your own code Learn the more potent and advanced tools of Python's object system Take a deep dive into Python's automated testing and TDD Learn how Python logging helps you troubleshoot and debug more quickly

Book Django for Professionals

    Book Details:
  • Author : William S. Vincent
  • Publisher : Still River Press
  • Release : 2022-05-19
  • ISBN : 1081582162
  • Pages : 405 pages

Download or read book Django for Professionals written by William S. Vincent and published by Still River Press. This book was released on 2022-05-19 with total page 405 pages. Available in PDF, EPUB and Kindle. Book excerpt: Completely updated for Django 4.0! Django for Professionals takes your web development skills to the next level, teaching you how to build production-ready websites with Python and Django. Once you have learned the basics of Django there is a massive gap between building simple "toy apps" and what it takes to build a "production-ready" web application suitable for deployment to thousands or even millions of users. In the book you’ll learn how to: * Build a Bookstore website from scratch * Use Docker and PostgreSQL locally to mimic production settings * Implement advanced user registration with email * Customize permissions to control user access * Write comprehensive tests * Adopt advanced security and performance improvements * Add search and file/image uploads * Deploy with confidence If you want to take advantage of all that Django has to offer, Django for Professionals is a comprehensive best practices guide to building and deploying modern websites.

Book The Well Grounded Python Developer

Download or read book The Well Grounded Python Developer written by Doug Farrell and published by Simon and Schuster. This book was released on 2023-07-18 with total page 294 pages. Available in PDF, EPUB and Kindle. Book excerpt: The Well-Grounded Python Developer teaches you how to write real software in Python by building on the basic language skills you already have. When you’re new to Python, it can be tough to understand where and how to use its many language features. There’s a dizzying array of libraries, and it’s challenging to fit everything together. The Well-Grounded Python Developer builds on Python skills you’ve learned in isolation and shows you how to unify them into a meaningful whole. The Well-Grounded Python Developer teaches you how to write real software in Python by building on the basic language skills you already have. It helps you see the big picture you can create out of small pieces, introducing concepts like modular construction, APIs, and the design of a basic web server. When you’re finished, you’ll have gone from having a basic understanding of Python's syntax, grammar, and libraries to using them as the tools of a professional software developer. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

Book Python Packages

    Book Details:
  • Author : Tomas Beuzen
  • Publisher : CRC Press
  • Release : 2022-04-20
  • ISBN : 1000555127
  • Pages : 252 pages

Download or read book Python Packages written by Tomas Beuzen and published by CRC Press. This book was released on 2022-04-20 with total page 252 pages. Available in PDF, EPUB and Kindle. Book excerpt: Python Packages introduces Python packaging at an introductory and practical level that’s suitable for those with no previous packaging experience. Despite this, the text builds up to advanced topics such as automated testing, creating documentation, versioning and updating a package, and implementing continuous integration and deployment. Covering the entire Python packaging life cycle, this essential guide takes readers from package creation all the way to effective maintenance and updating. Python Packages focuses on the use of current and best-practice packaging tools and services like poetry, cookiecutter, pytest, sphinx, GitHub, and GitHub Actions. Features: The book’s source code is available online as a GitHub repository where it is collaborated on, automatically tested, and built in real time as changes are made; demonstrating the use of good reproducible and clear project workflows. Covers not just the process of creating a package, but also how to document it, test it, publish it to the Python Package Index (PyPI), and how to properly version and update it. All concepts in the book are demonstrated using examples. Readers can follow along, creating their own Python packages using the reproducible code provided in the text. Focuses on a modern approach to Python packaging with emphasis on automating and streamlining the packaging process using new and emerging tools such as poetry and GitHub Actions.

Book Beginning Python Games Development  Second Edition

Download or read book Beginning Python Games Development Second Edition written by Will McGugan and published by Apress. This book was released on 2015-07-10 with total page 290 pages. Available in PDF, EPUB and Kindle. Book excerpt: Beginning Python Games Development, Second Edition teaches you how to create compelling games using Python and the PyGame games development library. It will teach you how to create visuals, do event handling, create 3D games, add media elements, and integrate OpenGL into your Python game. In this update to the first ever book to cover the popular open source PyGame games development library, you'll stand to gain valuable technical insights and follow along with the creation of a real-world, freely downloadable video game. Written by industry veterans and Python experts Will McGugan and Harrison Kinsley, this is a comprehensive, practical introduction to games development in Python. You can also capitalize upon numerous tips and tricks the authors have accumulated over their careers creating games for some of the world's largest game developers.

Book Beyond the Basic Stuff with Python

Download or read book Beyond the Basic Stuff with Python written by Al Sweigart and published by No Starch Press. This book was released on 2020-12-16 with total page 385 pages. Available in PDF, EPUB and Kindle. Book excerpt: BRIDGE THE GAP BETWEEN NOVICE AND PROFESSIONAL You've completed a basic Python programming tutorial or finished Al Sweigart's bestseller, Automate the Boring Stuff with Python. What's the next step toward becoming a capable, confident software developer? Welcome to Beyond the Basic Stuff with Python. More than a mere collection of advanced syntax and masterful tips for writing clean code, you'll learn how to advance your Python programming skills by using the command line and other professional tools like code formatters, type checkers, linters, and version control. Sweigart takes you through best practices for setting up your development environment, naming variables, and improving readability, then tackles documentation, organization and performance measurement, as well as object-oriented design and the Big-O algorithm analysis commonly used in coding interviews. The skills you learn will boost your ability to program--not just in Python but in any language. You'll learn: Coding style, and how to use Python's Black auto-formatting tool for cleaner code Common sources of bugs, and how to detect them with static analyzers How to structure the files in your code projects with the Cookiecutter template tool Functional programming techniques like lambda and higher-order functions How to profile the speed of your code with Python's built-in timeit and cProfile modules The computer science behind Big-O algorithm analysis How to make your comments and docstrings informative, and how often to write them How to create classes in object-oriented programming, and why they're used to organize code Toward the end of the book you'll read a detailed source-code breakdown of two classic command-line games, the Tower of Hanoi (a logic puzzle) and Four-in-a-Row (a two-player tile-dropping game), and a breakdown of how their code follows the book's best practices. You'll test your skills by implementing the program yourself. Of course, no single book can make you a professional software developer. But Beyond the Basic Stuff with Python will get you further down that path and make you a better programmer, as you learn to write readable code that's easy to debug and perfectly Pythonic Requirements: Covers Python 3.6 and higher

Book Learn Python the Hard Way

Download or read book Learn Python the Hard Way written by Zed Shaw and published by Pearson Education. This book was released on 2014 with total page 308 pages. Available in PDF, EPUB and Kindle. Book excerpt: Master Python and become a programmer - even if you never thought you could. This breakthrough book and CD can help practically anyone get started in programming. Zed A. Shaw teaches the Python programming language through a series of 52 brilliantly-crafted exercises.

Book Python Interviews

    Book Details:
  • Author : Michael Driscoll
  • Publisher : Packt Publishing Ltd
  • Release : 2018-02-28
  • ISBN : 1788391764
  • Pages : 367 pages

Download or read book Python Interviews written by Michael Driscoll and published by Packt Publishing Ltd. This book was released on 2018-02-28 with total page 367 pages. Available in PDF, EPUB and Kindle. Book excerpt: Mike Driscoll takes you on a journey talking to a hall-of-fame list of truly remarkable Python experts. You’ll be inspired every time by their passion for the Python language, as they share with you their experiences, contributions, and careers in Python. Key Features Hear from these key Python thinkers about the current status of Python, and where it's heading in the future Listen to their close thoughts on significant Python topics, such as Python's role in scientific computing, and machine learning Understand the direction of Python, and what needs to change for Python 4 Book Description Each of these twenty Python Interviews can inspire and refresh your relationship with Python and the people who make Python what it is today. Let these interviews spark your own creativity, and discover how you also have the ability to make your mark on a thriving tech community. This book invites you to immerse in the Python landscape, and let these remarkable programmers show you how you too can connect and share with Python programmers around the world. Learn from their opinions, enjoy their stories, and use their tech tips. • Brett Cannon - former director of the PSF, Python core developer, led the migration to Python 3. • Steve Holden - tireless Python promoter and former chairman and director of the PSF. • Carol Willing - former director of the PSF and Python core developer, Project Jupyter Steering Council member. • Nick Coghlan - founding member of the PSF's Packaging Working Group and Python core developer. • Jessica McKellar - former director of the PSF and Python activist. • Marc-André Lemburg - Python core developer and founding member of the PSF. • Glyph Lefkowitz - founder of Twisted and fellow of the PSF • Doug Hellmann - fellow of the PSF, creator of the Python Module of the Week blog, Python community member since 1998. • Massimo Di Pierro - fellow of the PSF, data scientist and the inventor of web2py. • Alex Martelli - fellow of the PSF and co-author of Python in a Nutshell. • Barry Warsaw - fellow of the PSF, Python core developer since 1995, and original member of PythonLabs. • Tarek Ziadé - founder of Afpy and author of Expert Python Programming. • Sebastian Raschka - data scientist and author of Python Machine Learning. • Wesley Chun - fellow of the PSF and author of the Core Python Programming books. • Steven Lott - Python blogger and author of Python for Secret Agents. • Oliver Schoenborn - author of Pypubsub and wxPython mailing list contributor. • Al Sweigart - bestselling author of Automate the Boring Stuff with Python and creator of the Python modules Pyperclip and PyAutoGUI. • Luciano Ramalho - fellow of the PSF and the author of Fluent Python. • Mike Bayer - fellow of the PSF, creator of open source libraries including SQLAlchemy. • Jake Vanderplas - data scientist and author of Python Data Science Handbook. What you will learn How successful programmers think The history of Python Insights into the minds of the Python core team Trends in Python programming Who this book is for Python programmers and students interested in the way that Python is used – past and present – with useful anecdotes. It will also be of interest to those looking to gain insights from top programmers.

Book Fluent Python

    Book Details:
  • Author : Luciano Ramalho
  • Publisher : "O'Reilly Media, Inc."
  • Release : 2015-07-30
  • ISBN : 1491946253
  • Pages : 755 pages

Download or read book Fluent Python written by Luciano Ramalho and published by "O'Reilly Media, Inc.". This book was released on 2015-07-30 with total page 755 pages. Available in PDF, EPUB and Kindle. Book excerpt: Python’s simplicity lets you become productive quickly, but this often means you aren’t using everything it has to offer. With this hands-on guide, you’ll learn how to write effective, idiomatic Python code by leveraging its best—and possibly most neglected—features. Author Luciano Ramalho takes you through Python’s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time. Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3. This book covers: Python data model: understand how special methods are the key to the consistent behavior of objects Data structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode age Functions as objects: view Python functions as first-class objects, and understand how this affects popular design patterns Object-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritance Control flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packages Metaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work

Book Pro Python 3

    Book Details:
  • Author : J. Burton Browning
  • Publisher : Apress
  • Release : 2019-03-18
  • ISBN : 1484243854
  • Pages : 468 pages

Download or read book Pro Python 3 written by J. Burton Browning and published by Apress. This book was released on 2019-03-18 with total page 468 pages. Available in PDF, EPUB and Kindle. Book excerpt: Refine your programming techniques and approaches to become a more productive and creative Python programmer. This book explores the concepts and features that will improve not only your code but also your understanding of the Python community with insights and details about the Python philosophy. Pro Python 3, Third Edition gives you the tools to write clean, innovative code. It starts with a review of some core Python principles, which are illustrated by various concepts and examples later in the book. The first half of the book explores aspects of functions, classes, protocols, and strings, describing techniques which may not be common knowledge, but which together form a solid foundation. Later chapters cover documentation, testing, and app distribution. Along the way, you’ll develop a complex Python framework that incorporates ideas learned throughout the book. Updates in this edition include the role of iterators in Python 3, web scraping with Scrapy and BeautifulSoup, using Requests to call web pages without strings, new tools for distribution and installation, and much more. By the end of the book you'll be ready to deploy uncommon features that can take your skills to the next level in Python. What You’ll Learn Implement programs with various types of Python functions Work with classes and object-oriented programmingUse strings from the standard library and third-party librariesHarvest web site data with PythonAutomate unit testing by writing a test suiteReview imaging, random number generation, and NumPy scientific extensionsUnderstand The Zen of Python documentation to help you decide the best way to distribute your code Who This Book Is For Intermediate programmers familiar with Python who are looking to move to an advanced level. You should have written at least a simple Python application, and be comfortable with a basic object-oriented approach, using the interactive interpreter, and writing control structures.