Functional Python Programming

所需积分/C币:10 2015-09-03 12:11:15 2.22MB PDF
收藏 收藏

Packt 2015, function python programming
Functional Python Programming Copyright o 2015 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews rt has been made in the preparation of this book to ensure the accuracy of the information presented However the information contained in this book is sold without warranty, cither express or implied. Neither the author nor Pacl Publishing and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published January 2015 Production reference: 1270115 Published by Packt Publishing ltd Livery place 35 Livery street Birmingham b3 2PB UK ISBN978-1-78439699-2 Credits Author Copy Editors Steven lott Roshni Banerjee Pranjali chary Reviewers Deepa Nambiar Oleg Broytman Karuna Narayanan Rui carmo Nithya P lan Cordasco Julien Danjou Project Coordinator Amoatey Harrison Danuta jones Shivin Kapur Gong Yi Proofreaders Stephen Copestake Commissioning Editor Maria gould Ed gordon Bernadette Watkin Acquisition Editor Indexer Owen roberts Hemangini bari Content Development Editor Graphics Sumeet sawant Abhinash sahu Technical editor Production coordinator Abhishek Kotian Melwyn Dsa Cover Work Melwyn D'sa About the author Steven Lott has been programming since the 1970s, when computers were large, xpensive, and rare as a contract software developer and architect he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for over 10 years. Hle's particularly adept struggling with gnarly data representation problems. His other titles include Mastering Object-Oriented Python and Python for Secret Agents, both by Packt Publishing. After spending years as a technomad-living in various places on the east coast of the Us-he has dropped thehookintheChesapeakeBay.Heblogsathttp://slott-softwarearchitect blogspot. com. About the reviewers Oleg broytman is a software developer currently working with web technologies on Unix/Linux using the Python programming language on the server side and avascript on the client side. Oleg started to work with computers even before the IBM PC era. Hle worked with dos for some time and then switched to Unix, mostly Linux and FreeBsD. For about 25 years he has been working in the medicine field in Moscow, russia You can contact him at phdaphdru name I'd like to thank my wife Olga! She supports everything l do any way I do it (well, mostly! ) Her love and support make me happy and allow me to achieve as much as i do having worked in software development, product management, mobile network met, Rui carmo is a systems architect with 20 years' experience in telecoms and inter planning, systems engineering, virtualization, cloud services, and a lot of what the industry is currently trying to roll into the" DevOps"moniker. He has been coding in Python for over a decade(starting with Python 2. 3)and has gravitated towards Clojure, erlang, and hy (an lisp that leverages the python ast) in the past few years due to the intrinsic advantages of functional programming He currently lives in the wonderful city of lisbon portugal, with his wife and two childrenandheblogsathttp://taoofmac.comYoucanfindhimongithub, Twitter and hacker news as rcarmo Julien Danjou is an open source hacker working at Red Hat. He started his career as a debian developer and contributed to a lot of free software(Gnu emacs Freedesktop, and so on), writing some software on his own such as the awesome window manager Nowadays, Julien contributes to Open Stack, an open source cloud platform entirely written in Python He has been a python developer since then, worked on Hy(an lisp dialect in Python), and written a self-published book titled The Hackers Guide to Python in 2014 Amoatey Harrison is a Python programmer with a passion for building software systems to solve problems. When he is not programming he is playing video games, swimming, or simply hanging out with friends After graduating from the Kwame Nkrumah University of Science and Technology with a degree in computer engineering, he is doing his national service at the gCB Bank head office in accra ghana He would like to think of himself as a cool nerd Shivin Kapur is an aspiring computer science student who is passionate about learning new things Gong Yi is a software developer working in Shanghai, China. He maintains an opensourceprojectat,whichcan control LEgO MINdStORMS ev3 by Python language I thank my wife Zhu Xiaoling for her patience and love, and i thank my son YangYang for being the best thing ever Support files, eBooks, discount offers and more Forsupportfilesanddownloadsrelatedtoyourbookpleasevisitwww.packtpub.cOm Did you know that Packt offers eBook versions of every book published, with PDF and epubfilesavailableYoucanupgradetotheebookversionatwww.packtpub.comand as a print book customer, you are entitled to a discount on the ebook copy. Get in touch withusatservice@packtpub.comformoredetails Atwww.packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessignup for a range of free newsletters and receive exclusive discounts and offers on Packt books nd e books PACKTLIB° Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books Why subscribe? Fully searchable across every book published by Packt Copy and paste, print, and bookmark content On demand and accessible via a web browser Free access for Packt account holders,youcanusethistoaccess PacktLib today and view g entirely free books Simply use your login credentials for mmediate access. Table of contents Preface Chapter 1: Introducing Functional Programming Identifying a paradigm 10 Subdividing the procedural paradigm Using the functional paradigm Using a functional hybrid 14 Looking at object creation 15 The stack of turtles 16 A classic example of functional programming Exploratory Data Analysis 20 Summary 22 Chapter 2: Introducing Some Functional Features 23 First-class functions 24 Pure functions 24 Higher-order functions 25 Immutable data 26 Strict and non-strict evaluation Recursion instead of a explicit loop state 29 Functional type systems 33 Familiar territory 34 Saving some advanced concepts 34 Summary 35 Chapter 3: Functions, Iterators, and Generators 37 Writing pure functions 38 Functions as first-class objects Using strings

试读 127P Functional Python Programming
立即下载 身份认证后 购VIP低至7折
love_green 谢谢分享,很有用啊
qq_31901139 谢谢分享~,很有用
rf135707 谢谢分享,这些资料太有用了
bg672231 还行,适合于初级入门的学习
  • 领英

  • 签到新秀

  • 分享王者

关注 私信
Functional Python Programming 10积分/C币 立即下载
Functional Python Programming第1页
Functional Python Programming第2页
Functional Python Programming第3页
Functional Python Programming第4页
Functional Python Programming第5页
Functional Python Programming第6页
Functional Python Programming第7页
Functional Python Programming第8页
Functional Python Programming第9页
Functional Python Programming第10页
Functional Python Programming第11页
Functional Python Programming第12页
Functional Python Programming第13页
Functional Python Programming第14页
Functional Python Programming第15页
Functional Python Programming第16页
Functional Python Programming第17页
Functional Python Programming第18页
Functional Python Programming第19页
Functional Python Programming第20页

试读结束, 可继续阅读

10积分/C币 立即下载