Browse Results

Showing 48,076 through 48,100 of 60,733 results

Python for Natural Language Processing: Programming with NumPy, scikit-learn, Keras, and PyTorch (Cognitive Technologies)

by Pierre M. Nugues

Since the last edition of this book (2014), progress has been astonishing in all areas of Natural Language Processing, with recent achievements in Text Generation that spurred a media interest going beyond the traditional academic circles. Text Processing has meanwhile become a mainstream industrial tool that is used, to various extents, by countless companies. As such, a revision of this book was deemed necessary to catch up with the recent breakthroughs, and the author discusses models and architectures that have been instrumental in the recent progress of Natural Language Processing.As in the first two editions, the intention is to expose the reader to the theories used in Natural Language Processing, and to programming examples that are essential for a deep understanding of the concepts. Although present in the previous two editions, Machine Learning is now even more pregnant, having replaced many of the earlier techniques to process text. Many new techniques build on the availability of text. Using Python notebooks, the reader will be able to load small corpora, format text, apply the models through executing pieces of code, gradually discover the theoretical parts by possibly modifying the code or the parameters, and traverse theories and concrete problems through a constant interaction between the user and the machine. The data sizes and hardware requirements are kept to a reasonable minimum so that a user can see instantly, or at least quickly, the results of most experiments on most machines.The book does not assume a deep knowledge of Python, and an introduction to this language aimed at Text Processing is given in Ch. 2, which will enable the reader to touch all the programming concepts, including NumPy arrays and PyTorch tensors as fundamental structures to represent and process numerical data in Python, or Keras for training Neural Networks to classify texts. Covering topics like Word Segmentation and Part-of-Speech and Sequence Annotation, the textbook also gives an in-depth overview of Transformers (for instance, BERT), Self-Attention and Sequence-to-Sequence Architectures.

Python for Offensive PenTest: A practical guide to ethical hacking and penetration testing using Python

by Hussam Khrais

Your one-stop guide to using Python, creating your own hacking tools, and making the most out of resources available for this programming languageKey FeaturesComprehensive information on building a web application penetration testing framework using PythonMaster web application penetration testing using the multi-paradigm programming language PythonDetect vulnerabilities in a system or application by writing your own Python scriptsBook DescriptionPython is an easy-to-learn and cross-platform programming language that has unlimited third-party libraries. Plenty of open source hacking tools are written in Python, which can be easily integrated within your script.This book is packed with step-by-step instructions and working examples to make you a skilled penetration tester. It is divided into clear bite-sized chunks, so you can learn at your own pace and focus on the areas of most interest to you. This book will teach you how to code a reverse shell and build an anonymous shell. You will also learn how to hack passwords and perform a privilege escalation on Windows with practical examples. You will set up your own virtual hacking environment in VirtualBox, which will help you run multiple operating systems for your testing environment.By the end of this book, you will have learned how to code your own scripts and mastered ethical hacking from scratch.What you will learnCode your own reverse shell (TCP and HTTP)Create your own anonymous shell by interacting with Twitter, Google Forms, and SourceForgeReplicate Metasploit features and build an advanced shellHack passwords using multiple techniques (API hooking, keyloggers, and clipboard hijacking)Exfiltrate data from your targetAdd encryption (AES, RSA, and XOR) to your shell to learn how cryptography is being abused by malwareDiscover privilege escalation on Windows with practical examplesCountermeasures against most attacksWho this book is forThis book is for ethical hackers; penetration testers; students preparing for OSCP, OSCE, GPEN, GXPN, and CEH; information security professionals; cybersecurity consultants; system and network security administrators; and programmers who are keen on learning all about penetration testing.

Python for Probability, Statistics, and Machine Learning

by José Unpingco

This book covers thekey ideas that link probability, statistics, and machine learning illustratedusing Python modules in these areas. The entire text, including all thefigures and numerical results, is reproducible using the Python codes and theirassociated Jupyter/IPython notebooks, which are provided as supplementarydownloads. The author develops key intuitions in machine learning by workingmeaningful examples using multiple analytical methods and Python codes, therebyconnecting theoretical concepts to concrete implementations. Modern Pythonmodules like Pandas, Sympy, and Scikit-learn are applied to simulate andvisualize important machine learning concepts like the bias/variance trade-off,cross-validation, and regularization. Many abstract mathematical ideas, such asconvergence in probability theory, are developed and illustrated with numericalexamples. This book is suitable for anyone with an undergraduate-levelexposure to probability, statistics, or machine learning and with rudimentaryknowledge of Python programming.

Python for Probability, Statistics, and Machine Learning

by José Unpingco

This textbook, fully updated to feature Python version 3.7, covers the key ideas that link probability, statistics, and machine learning illustrated using Python modules. The entire text, including all the figures and numerical results, is reproducible using the Python codes and their associated Jupyter/IPython notebooks, which are provided as supplementary downloads. The author develops key intuitions in machine learning by working meaningful examples using multiple analytical methods and Python codes, thereby connecting theoretical concepts to concrete implementations. The update features full coverage of Web-based scientific visualization with Bokeh Jupyter Hub; Fisher Exact, Cohen’s D and Rank-Sum Tests; Local Regression, Spline, and Additive Methods; and Survival Analysis, Stochastic Gradient Trees, and Neural Networks and Deep Learning. Modern Python modules like Pandas, Sympy, and Scikit-learn are applied to simulate and visualize important machine learning concepts like the bias/variance trade-off, cross-validation, and regularization. Many abstract mathematical ideas, such as convergence in probability theory, are developed and illustrated with numerical examples. This book is suitable for classes in probability, statistics, or machine learning and requires only rudimentary knowledge of Python programming.

Python for Probability, Statistics, and Machine Learning

by José Unpingco

This book, fully updated for Python version 3.6+, covers the key ideas that link probability, statistics, and machine learning illustrated using Python modules in these areas. All the figures and numerical results are reproducible using the Python codes provided. The author develops key intuitions in machine learning by working meaningful examples using multiple analytical methods and Python codes, thereby connecting theoretical concepts to concrete implementations. Detailed proofs for certain important results are also provided. Modern Python modules like Pandas, Sympy, Scikit-learn, Tensorflow, and Keras are applied to simulate and visualize important machine learning concepts like the bias/variance trade-off, cross-validation, and regularization. Many abstract mathematical ideas, such as convergence in probability theory, are developed and illustrated with numerical examples. This updated edition now includes the Fisher Exact Test and the Mann-Whitney-Wilcoxon Test. A new section on survival analysis has been included as well as substantial development of Generalized Linear Models. The new deep learning section for image processing includes an in-depth discussion of gradient descent methods that underpin all deep learning algorithms. As with the prior edition, there are new and updated *Programming Tips* that the illustrate effective Python modules and methods for scientific programming and machine learning. There are 445 run-able code blocks with corresponding outputs that have been tested for accuracy. Over 158 graphical visualizations (almost all generated using Python) illustrate the concepts that are developed both in code and in mathematics. We also discuss and use key Python modules such as Numpy, Scikit-learn, Sympy, Scipy, Lifelines, CvxPy, Theano, Matplotlib, Pandas, Tensorflow, Statsmodels, and Keras.This book is suitable for anyone with an undergraduate-level exposure to probability, statistics, or machine learning and with rudimentary knowledge of Python programming.

Python for R Users: A Data Science Approach

by Ajay Ohri

The definitive guide for statisticians and data scientists who understand the advantages of becoming proficient in both R and Python The first book of its kind, Python for R Users: A Data Science Approach makes it easy for R programmers to code in Python and Python users to program in R. Short on theory and long on actionable analytics, it provides readers with a detailed comparative introduction and overview of both languages and features concise tutorials with command-by-command translations—complete with sample code—of R to Python and Python to R. Following an introduction to both languages, the author cuts to the chase with step-by-step coverage of the full range of pertinent programming features and functions, including data input, data inspection/data quality, data analysis, and data visualization. Statistical modeling, machine learning, and data mining—including supervised and unsupervised data mining methods—are treated in detail, as are time series forecasting, text mining, and natural language processing. • Features a quick-learning format with concise tutorials and actionable analytics • Provides command-by-command translations of R to Python and vice versa • Incorporates Python and R code throughout to make it easier for readers to compare and contrast features in both languages • Offers numerous comparative examples and applications in both programming languages • Designed for use for practitioners and students that know one language and want to learn the other • Supplies slides useful for teaching and learning either software on a companion website Python for R Users: A Data Science Approach is a valuable working resource for computer scientists and data scientists that know R and would like to learn Python or are familiar with Python and want to learn R. It also functions as textbook for students of computer science and statistics. A. Ohri is the founder of Decisionstats.com and currently works as a senior data scientist. He has advised multiple startups in analytics off-shoring, analytics services, and analytics education, as well as using social media to enhance buzz for analytics products. Mr. Ohri's research interests include spreading open source analytics, analyzing social media manipulation with mechanism design, simpler interfaces for cloud computing, investigating climate change and knowledge flows. His other books include R for Business Analytics and R for Cloud Computing.

Python for SAS Users: A SAS-Oriented Introduction to Python

by Randy Betancourt Sarah Chen

Business users familiar with Base SAS programming can now learn Python by example. You will learn via examples that map SAS programming constructs and coding patterns into their Python equivalents. Your primary focus will be on pandas and data management issues related to analysis of data. It is estimated that there are three million or more SAS users worldwide today. As the data science landscape shifts from using SAS to open source software such as Python, many users will feel the need to update their skills. Most users are not formally trained in computer science and have likely acquired their skills programming SAS as part of their job. As a result, the current documentation and plethora of books and websites for learning Python are technical and not geared for most SAS users. Python for SAS Users provides the most comprehensive set of examples currently available. It contains over 200 Python scripts and approximately 75 SAS programs that are analogs to the Python scripts. The first chapters are more Python-centric, while the remaining chapters illustrate SAS and corresponding Python examples to solve common data analysis tasks such as reading multiple input sources, missing value detection, imputation, merging/combining data, and producing output. This book is an indispensable guide for integrating SAS and Python workflows. What You’ll Learn Quickly master Python for data analysis without using a trial-and-error approachUnderstand the similarities and differences between Base SAS and PythonBetter determine which language to use, depending on your needsObtain quick results Who This Book Is For SAS users, SAS programmers, data scientists, data scientist leaders, and Python users who need to work with SAS

Python for Scientists

by John M. Stewart

Python is a free, open source, easy-to-use software tool that offers a significant alternative to proprietary packages such as MATLAB and Mathematica. This book covers everything the working scientist needs to know to start using Python effectively. The author explains scientific Python from scratch, showing how easy it is to implement and test non-trivial mathematical algorithms and guiding the reader through the many freely available add-on modules. A range of examples, relevant to many different fields, illustrate the program's capabilities. In particular, readers are shown how to use pre-existing legacy code (usually in Fortran77) within the Python environment, thus avoiding the need to master the original code. Instead of exercises the book contains useful snippets of tested code which the reader can adapt to handle problems in their own field, allowing students and researchers with little computer expertise to get up and running as soon as possible.

Python for Scientists

by John M. Stewart

Python is a free, open source, easy-to-use software tool that offers a significant alternative to proprietary packages such as MATLAB and Mathematica. This book covers everything the working scientist needs to know to start using Python effectively. The author explains scientific Python from scratch, showing how easy it is to implement and test non-trivial mathematical algorithms and guiding the reader through the many freely available add-on modules. A range of examples, relevant to many different fields, illustrate the program's capabilities. In particular, readers are shown how to use pre-existing legacy code (usually in Fortran77) within the Python environment, thus avoiding the need to master the original code. Instead of exercises the book contains useful snippets of tested code which the reader can adapt to handle problems in their own field, allowing students and researchers with little computer expertise to get up and running as soon as possible.

Python for Secret Agents

by Steven F. Lott

If you are a Python beginner who is looking to learn the language through interesting projects, this book is for you. A basic knowledge of programming and statistics is beneficial to get the most out of the book.

Python for Secret Agents - Second Edition

by Steven F. Lott

This book is for Secret Agents who have some exposure to Python. Our focus is on the Field Agents who are ready to do more sophisticated and complex programming in Python. We'll stick to simple statistics for the most part. A steady hand with a soldering iron is not required, but a skilled field agent should be able to assemble a working Arduino circuit to gather their own sensor data.

Python for Security and Networking: Leverage Python modules and tools in securing your network and applications, 3rd Edition

by Jose Manuel Ortega

Gain a firm, practical understanding of securing your network and utilize Python's packages to detect vulnerabilities in your applicationKey FeaturesDiscover security techniques to protect your network and systems using PythonCreate scripts in Python to automate security and pentesting tasksAnalyze traffic in a network and extract information using PythonBook DescriptionPython's latest updates add numerous libraries that can be used to perform critical security-related missions, including detecting vulnerabilities in web applications, taking care of attacks, and helping to build secure and robust networks that are resilient to them. This fully updated third edition will show you how to make the most of them and improve your security posture.The first part of this book will walk you through Python scripts and libraries that you'll use throughout the book. Next, you'll dive deep into the core networking tasks where you will learn how to check a network's vulnerability using Python security scripting and understand how to check for vulnerabilities in your network – including tasks related to packet sniffing. You'll also learn how to achieve endpoint protection by leveraging Python packages along with writing forensics scripts.The next part of the book will show you a variety of modern techniques, libraries, and frameworks from the Python ecosystem that will help you extract data from servers and analyze the security in web applications. You'll take your first steps in extracting data from a domain using OSINT tools and using Python tools to perform forensics tasks.By the end of this book, you will be able to make the most of Python to test the security of your network and applications.What you will learnProgram your own tools in Python that can be used in a Network Security processAutomate tasks of analysis and extraction of information from serversDetect server vulnerabilities and analyze security in web applicationsAutomate security and pentesting tasks by creating scripts with PythonUtilize the ssh-audit tool to check the security in SSH serversExplore WriteHat as a pentesting reports tool written in PythonAutomate the process of detecting vulnerabilities in applications with tools like FuxploiderWho this book is forThis Python book is for network engineers, system administrators, and other security professionals looking to overcome common networking and security issues using Python. You will also find this book useful if you're an experienced programmer looking to explore Python's full range of capabilities. A basic understanding of general programming structures as well as familiarity with the Python programming language is a prerequisite.

Python for Signal Processing

by José Unpingco

This book covers the fundamental concepts in signal processing illustrated with Python code and made available via IPython Notebooks, which are live, interactive, browser-based documents that allow one to change parameters, redraw plots, and tinker with the ideas presented in the text. Everything in the text is computable in this format and thereby invites readers to "experiment and learn" as they read. The book focuses on the core, fundamental principles of signal processing. The code corresponding to this book uses the core functionality of the scientific Python toolchain that should remain unchanged into the foreseeable future. For those looking to migrate their signal processing codes to Python, this book illustrates the key signal and plotting modules that can ease this transition. For those already comfortable with the scientific Python toolchain, this book illustrates the fundamental concepts in signal processing and provides a gateway to further signal processing concepts.

Python for Software Design

by Allen B. Downey

A no-nonsense introduction to software design using the Python programming language. Written for people with no programming experience, this book starts with the most basic concepts and gradually adds new material. Some of the ideas students find most challenging, like recursion and object-oriented programming, are divided into a sequence of smaller steps and introduced over the course of several chapters. The focus is on the programming process, with special emphasis on debugging. The book includes a wide range of exercises, from short examples to substantial projects, so that students have ample opportunity to practise each new concept. Exercise solutions and code examples are available from thinkpython. com, along with Swampy, a suite of Python programs that is used in some of the exercises.

Python for Teenagers: Learn to Program like a Superhero!

by James R. Payne

Discover everything you need to know about Python to turn your passion of programming into a job you'll love. Fueled by fun and practical examples, this book gives high schoolers who want learn an easy programming language ideas for how to leverage them in the workforce. Start with the basics and before you know it, you'll be building your own web sites, doing white-hat hacking, finding code bugs and errors, and creating games, including using Python to roll characters for RPGs. Every chapter is relaxed and informal, like learning with a cool teacher all the time. Computers, phones and the web are your playground, and you'll be ready to join the party with your own content. Going beyond posts and uploads means learning to program, and Python is a great choice to get started. It's quick to learn, it's flexible, and if you want, it may get you a Python job that pays more than minimum wage when you're out of school. Python for Teenagers is the most fun you'll have while learning.What You'll LearnReview programming basics - you gotta start somewhereCode applications that follow directions and make decisionsUnderstand Classes and objects - when a program is a childMake games with graphics and animationWho This Book Is ForHigh schoolers who want learn an easy programming language.

Python for Teenagers: Learn to Program like a Superhero!

by James R. Payne

This book, which is designed for middle-school through college-aged students, will arm beginners with solid programming foundations they can carry throughout life. It uses fun and simple language (and programming examples) to teach the fundamentals needed to start the down path of becoming a programmer. Python is a highly flexible language, allowing developers to enter any number of technical fields and is a welcome addition to any resume. With its low learning curve, it makes a great introductory language, as new developers can take the coding fundamentals they learn in Python and apply them to any other language. The second edition builds upon the foundation of the first book, revising all the chapters where the language has changed, updating the commands, code, and examples to bring it up to date with the current version of Python. Since Python is the most popular programming language in the world and can be used in conjunction with other languages - across multiple platforms - it can increase the reader's ability to qualify for a wider range of jobs than other languages. Finally, Python is fun - something not every programming language can boast! What You Will Learn Install and configure PythonGrasp basic software development principles and syntaxUnderstand the best practices for coding in PythonCreate applications and debug code Who This Book Is For The book’s target audience is primarily middle school to college aged students looking to learn how to program computers and develop software. Older individuals and computer programmers who know other languages and want to add Python to their repertoire can also benefit from the book.

Python for the Life Sciences: A Gentle Introduction to Python for Life Scientists

by Alexander Lancaster Gordon Webster

Treat yourself to a lively, intuitive, and easy-to-follow introduction to computer programming in Python. The book was written specifically for biologists with little or no prior experience of writing code - with the goal of giving them not only a foundation in Python programming, but also the confidence and inspiration to start using Python in their own research. Virtually all of the examples in the book are drawn from across a wide spectrum of life science research, from simple biochemical calculations and sequence analysis, to modeling the dynamic interactions of genes and proteins in cells, or the drift of genes in an evolving population. Best of all, Python for the Life Sciences shows you how to implement all of these projects in Python, one of the most popular programming languages for scientific computing. If you are a life scientist interested in learning Python to jump-start your research, this is the book for you.What You'll Learn Write Python scripts to automate your lab calculationsSearch for important motifs in genome sequencesUse object-oriented programming with PythonStudy mining interaction network data for patternsReview dynamic modeling of biochemical switchesWho This Book Is For Life scientists with little or no programming experience, including undergraduate and graduate students, postdoctoral researchers in academia and industry, medical professionals, and teachers/lecturers.“A comprehensive introduction to using Python for computational biology... A lovely book with humor and perspective” -- John Novembre, Associate Professor of Human Genetics, University of Chicago and MacArthur Fellow “Fun, entertaining, witty and darn useful. A magical portal to the big data revolution” -- Sandro Santagata, Assistant Professor in Pathology, Harvard Medical School “Alex and Gordon’s enthusiasm for Python is contagious” -- Glenys Thomson Professor of Integrative Biology, University of California, Berkeley

Python for Unix and Linux System Administration

by Noah Gift Jeremy M. Jones

Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them.Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Python to tackle a wide range of problems. Discover how this language can help you:Read text files and extract informationRun tasks concurrently using the threading and forking optionsGet information from one process to another using network facilitiesCreate clickable GUIs to handle large and complex utilitiesMonitor large clusters of machines by interacting with SNMP programmaticallyMaster the IPython Interactive Python shell to replace or augment Bash, Korn, or Z-ShellIntegrate Cloud Computing into your infrastructure, and learn to write a Google App Engine ApplicationSolve unique data backup challenges with customized scriptsInteract with MySQL, SQLite, Oracle, Postgres, Django ORM, and SQLAlchemyWith this book, you'll learn how to package and deploy your Python applications and libraries, and write code that runs equally well on multiple Unix platforms. You'll also learn about several Python-related technologies that will make your life much easier.

Python for Unix and Linux System Administration

by Jeremy Jones Noah Gift

Python is an ideal language for solving problems, especially in Linux and Unix networks. With this pragmatic book, administrators can review various tasks that often occur in the management of these systems, and learn how Python can provide a more efficient and less painful way to handle them. Each chapter in Python for Unix and Linux System Administration presents a particular administrative issue, such as concurrency or data backup, and presents Python solutions through hands-on examples. Once you finish this book, you'll be able to develop your own set of command-line utilities with Python to tackle a wide range of problems. Discover how this language can help you: Read text files and extract information Run tasks concurrently using the threading and forking options Get information from one process to another using network facilities Create clickable GUIs to handle large and complex utilities Monitor large clusters of machines by interacting with SNMP programmatically Master the IPython Interactive Python shell to replace or augment Bash, Korn, or Z-Shell Integrate Cloud Computing into your infrastructure, and learn to write a Google App Engine Application Solve unique data backup challenges with customized scripts Interact with MySQL, SQLite, Oracle, Postgres, Django ORM, and SQLAlchemy With this book, you'll learn how to package and deploy your Python applications and libraries, and write code that runs equally well on multiple Unix platforms. You'll also learn about several Python-related technologies that will make your life much easier.

Python for Water and Environment (Innovations in Sustainable Technologies and Computing)

by Anil Kumar Manabendra Saharia

This textbook delves into the practical applications of surface and groundwater hydrology, as well as the environment. The Part I, "Practical Python for a Water and Environment Professional," guides readers through setting up a scientific computing environment and conducting exploratory data analysis and visualization using reproducible workflows. The Part II, "Statistical Modeling in Hydrology," covers regression models, time series analysis, and common hypothesis testing. The Part III, "Surface and Subsurface Water," illustrates the use of Python in understanding key concepts related to seepage, groundwater, and surface water flows. Lastly, the Part IV, "Environmental Applications," demonstrates the application of Python in the study of various contaminant transport phenomena.

Python Fundamentals: A practical guide for learning Python, complete with real-world projects for you to explore

by Ryan Marvin Mark Ng’ang’a Amos Omondi

With an interesting mix of theory and practicals, explore Python and its features, and progress from beginner to being skilled in this popular scripting languageKey FeaturesA comprehensive introduction to the world of Python programmingPaves an easy-to-follow path for you to navigate through conceptsFilled with over 90 practical exercises and activities to reinforce your learningBook DescriptionAfter a brief history of Python and key differences between Python 2 and Python 3, you'll understand how Python has been used in applications such as YouTube and Google App Engine. As you work with the language, you'll learn about control statements, delve into controlling program flow and gradually work on more structured programs via functions.As you settle into the Python ecosystem, you'll learn about data structures and study ways to correctly store and represent information. By working through specific examples, you'll learn how Python implements object-oriented programming (OOP) concepts of abstraction, encapsulation of data, inheritance, and polymorphism. You'll be given an overview of how imports, modules, and packages work in Python, how you can handle errors to prevent apps from crashing, as well as file manipulation.By the end of this book, you'll have built up an impressive portfolio of projects and armed yourself with the skills you need to tackle Python projects in the real world.What you will learnUse control statementsManipulate primitive and non-primitive data structuresUse loops to iterate over objects or data for accurate resultsWrite encapsulated and succinct Python functionsBuild Python classes using object-oriented programmingManipulate files on the file system (open, read, write, and delete)Who this book is forPython Fundamentals is great for anyone who wants to start using Python to build anything from simple command-line programs to web applications. Prior knowledge of Python isn't required.

Python für Dummies (Für Dummies)

by Johannes C. Hofmeister Horst Schneider

Python ist eine der beliebtesten und vielseitigsten Programmiersprachen überhaupt. Für viele Entwickler führt deshalb kein Weg an Python vorbei. Schöpfen Sie mit diesem Buch aus dem reichen Erfahrungsschatz zweier langjähriger Softwareentwickler. Sie lernen zunächst die Syntax der Sprache und vertiefen dann das Erlernte anhand von konkreten Aufgabenstellungen. Für den Blick über den Tellerrand sorgen Kapitel zu Programmierparadigmen, Code-Qualität, Test-Ansätzen und Dokumentation. Jede Menge Tipps und Tricks und ein breites Spektrum an Beispielen lassen Sie zu einem wahren Python-Profi werden.

Python Game Programming By Example

by Alejandro Rodas Paz Joseph Howse

A pragmatic guide for developing your own games with Python About This Book * Strengthen your fundamentals of game programming with Python language * Seven hands-on games to create 2D and 3D games rapidly from scratch * Illustrative guide to explore the different GUI libraries for building your games Who This Book Is For If you have ever wanted to create casual games in Python and you would like to explore various GUI technologies that this language offers, this is the book for you. This title is intended for beginners to Python with little or no knowledge of game development, and it covers step by step how to build seven different games, from the well-known Space Invaders to a classical 3D platformer. What You Will Learn * Take advantage of Python's clean syntax to build games quickly * Discover distinct frameworks for developing graphical applications * Implement non-player characters (NPCs) with autonomous and seemingly intelligent behaviors * Design and code some popular games like Pong and tower defense * Compose maps and levels for your sprite-based games in an easy manner * Modularize and apply object-oriented principles during the design of your games * Exploit libraries like Chimpunk2D, cocos2d, and Tkinter * Create natural user interfaces (NUIs), using a camera and computer vision algorithms to interpret the player's real-world actions In Detail With a growing interest in learning to program, game development is an appealing topic for getting started with coding. From geometry to basic Artificial Intelligence algorithms, there are plenty of concepts that can be applied in almost every game. Python is a widely used general-purpose, high-level programming language. It provides constructs intended to enable clear programs on both a small and large scale. It is the third most popular language whose grammatical syntax is not predominantly based on C. Python is also very easy to code and is also highly flexible, which is exactly what is required for game development. The user-friendliness of this language allows beginners to code games without too much effort or training. Python also works with very little code and in most cases uses the "use cases" approach, reserving lengthy explicit coding for outliers and exceptions, making game development an achievable feat. Python Game Programming by Example enables readers to develop cool and popular games in Python without having in-depth programming knowledge of Python. The book includes seven hands-on projects developed with several well-known Python packages, as well as a comprehensive explanation about the theory and design of each game. It will teach readers about the techniques of game design and coding of some popular games like Pong and tower defense. Thereafter, it will allow readers to add levels of complexities to make the games more fun and realistic using 3D. At the end of the book, you will have added several GUI libraries like Chimpunk2D, cocos2d, and Tkinter in your tool belt, as well as a handful of recipes and algorithms for developing games with Python. Style and approach This book is an example-based guide that will teach you to build games using Python. This book follows a step-by-step approach as it is aimed at beginners who would like to get started with basic game development. By the end of this book you will be competent game developers with good knowledge of programming in Python.

Python Geospatial Analysis Cookbook

by Michael Diener

Over 60 recipes to work with topology, overlays, indoor routing, and web application analysis with Python About This Book * Explore the practical process of using geospatial analysis to solve simple to complex problems with reusable recipes * Concise step-by-step instructions to teach you about projections, vector, raster, overlay, indoor routing and topology analysis * Create a basic indoor routing application with geodjango Who This Book Is For If you are a student, teacher, programmer, geospatial or IT administrator, GIS analyst, researcher, or scientist looking to do spatial analysis, then this book is for you. Anyone trying to answer simple to complex spatial analysis questions will get a working demonstration of the power of Python with real-world data. Some of you may be beginners with GIS, but most of you will probably have a basic understanding of geospatial analysis and programming. What You Will Learn * Discover the projection and coordinate system information of your data and learn how to transform that data into different projections * Import or export your data into different data formats to prepare it for your application or spatial analysis * Use the power of PostGIS with Python to take advantage of the powerful analysis functions * Execute spatial analysis functions on vector data including clipping, spatial joins, measuring distances, areas, and combining data to new results * Create your own set of topology rules to perform and ensure quality assurance rules in Python * Find the shortest indoor path with network analysis functions in easy, extensible recipes revolving around all kinds of network analysis problems * Visualize your data on a map using the visualization tools and methods available to create visually stunning results * Build an indoor routing web application with GeoDjango to include your spatial analysis tools built from the previous recipes In Detail Geospatial development links your data to places on the Earth's surface. Its analysis is used in almost every industry to answer location type questions. Combined with the power of the Python programming language, which is becoming the de facto spatial scripting choice for developers and analysts worldwide, this technology will help you to solve real-world spatial problems. This book begins by tackling the installation of the necessary software dependencies and libraries needed to perform spatial analysis with Python. From there, the next logical step is to prepare our data for analysis; we will do this by building up our tool box to deal with data preparation, transformations, and projections. Now that our data is ready for analysis, we will tackle the most common analysis methods for vector and raster data. To check or validate our results, we will explore how to use topology checks to ensure top-quality results. This is followed with network routing analysis focused on constructing indoor routes within buildings, over different levels. Finally, we put several recipes together in a GeoDjango web application that demonstrates a working indoor routing spatial analysis application. The round trip will provide you all the pieces you need to accomplish your own spatial analysis application to suit your requirements. Style and approach Easy-to-follow, step-by-step recipes, explaining from start to finish how to accomplish real-world tasks.

Python Geospatial Analysis Essentials

by Erik Westra

If you are an experienced Python developer and wish to get up-to-speed with geospatial programming, then this book is for you. While familiarity with installing third-party Python libraries would be an advantage, no prior knowledge of geospatial programming is required.

Refine Search

Showing 48,076 through 48,100 of 60,733 results