Jump to ratings and reviews

Head First Series

Head First Programming: A learner's guide to programming using the Python language

Looking for a reliable way to learn how to program on your own, without being overwhelmed by confusing concepts? Head First Programming introduces the core concepts of writing computer programs -- variables, decisions, loops, functions, and objects -- which apply regardless of the programming language. This book offers concrete examples and exercises in the dynamic and versatile Python language to demonstrate and reinforce these concepts.

Learn the basic tools to start writing the programs that interest you, and get a better understanding of what software can (and cannot) do. When you're finished, you'll have the necessary foundation to learn any programming language or tackle any software project you choose.

With a focus on programming concepts, this book teaches you how to:


Understand the core features of all programming languages, including: variables, statements, decisions, loops, expressions, and operators
Reuse code with functions
Use library code to save time and effort
Select the best data structure to manage complex data
Write programs that talk to the Web
Share your data with other programs
Write programs that test themselves and help you avoid embarrassing coding errors.

Contents

Intro xxiii
1 Starting to Code: Finding Your Way
2 Textual Data: Every String Has Its Place
3 Functions: Let’s Get Organized
4 Data Files and Arrays: Sort It Out
5 Hashes and Databases: Putting Data in Its Place
6 Modular Programming: Keeping Things Straight
7 Building a Graphical User Interface: Going All Gooey
8 GUIs and Data: Data Entry Widgets
8 1/2 Exceptions and Message Boxes: Get the Message?
9 Graphical Interface Elements: Selecting the Right Tool
10 Custom Widgets and Classes: With an Object in Mind

Appendix i
Leftovers: The Top Ten Things (We Didn’t Cover)

440 pages, Paperback

First published October 15, 2008

Loading...
Loading...

About the author

Paul Barry

5 books8 followers

Ratings & Reviews

What do you think?

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
38 (24%)
4 stars
69 (44%)
3 stars
36 (23%)
2 stars
10 (6%)
1 star
1 (<1%)
Displaying 1 - 2 of 2 reviews
Profile Image for Zahra Dashti.
458 reviews123 followers
May 15, 2020
من این کتاب رو برای شروع و شناساندن برنامه‌نویسی به یک تازه جوان، خوندم. مناسب هدفم بود، چون این کتاب از خواننده یک برنامه‌نویس نمی‌سازه، اما مفهوم برنامه‌نویسی، تفکرش و شیوه اصولی و صحیحش و کاربردهای هرچند ساده‌ای از اون رو نمایش می‌ده.
کتابی بود که وقتی خوندم، حسرت خوردم که چرا درک مفهوم برنامه نویسی رو با این کتاب شروع نکردم!
اما مشکلات کتاب: کتابی کمی قدیمیه، و خوب یک سری لینک داره که برای کدهاش استفاده می‌کنه و الان از کار افتاده. البته لینک جایگزین رو بعدا معرفی کرده که کمی سرچ می‌خواد تا پیدا بشه. مورد دیگه جایی از api اکانت توئیتر استفاده کرده که خوب الان مدتهاست توئیتر اون api رو غیرفعال کرده و روش جایگزینی برای این بخش در نت پیدا نکردم. یکی دو نفر با api جدید توئیتر راه انداخته بودند که به نظرم برای یک تازه کار پیچیده است. من خودم برای آموزش نوآموزم، یه سایت سبکی بالاآوردم و پست ها رو به جای توئیتر روی اون سایت ارسال کردیم.
در مجموع برای کسی که می خواد بفهمه برنامه‌نویسی چیه و چه جوریه، در واقع برای شروع کار کتاب مفیدی هستش.
اینم بگم آموزش‌ها بر اساس زبان python هست.
Profile Image for Sarv.
251 reviews52 followers
April 2, 2021
خیلی باهاش حال کردم.
به نظر میاد کتاب با هدف سلف استادی نوشته شده باشه اما من براش معلم داشتم. البته که توانایی معلمم توی تدریسش خیلی موثر بود (:دی) اما خود کتاب هم واقعا خوب بود. برای اولین بار بود که موقع یادگرفتن برنامه نویسی (تلاش های شکست خورده زیادی داشتم) یه صفحه سفید جلوم نذاشتن و نگفتن از صفر کد بزن و فاکتوریل رو حساب کن که باعث شه مغزم کاملا خالی شه و اعصابم خورد که چرا من هیچی به ذهنم نمی‌رسه. خیلی جاهای کتاب تمرین با کنار هم چیدن بلاک های کد حل می‌شد؛ خیلی جاها باید فقط pseudo code می‌نوشتی و کد اصلی رو نوشته بود و بالعکس. تک تک خط های کد برای هر تمرین رو توضیح داده بود طوری که اگر نمی‌خواستی بفهمی هم نمی‌تونستی نفهمی:)) شوخ طبعی نویسنده رو هم دوست داشتم. منی که همیشه فکر می‌کردم خنگ‌تر از اونیم که برنامه‌نویسی رو بفهمم حسابی به پایتون علاقه‌مند کرد.
اگه میخواین برنامه نویسی یاد بگیرین و کاملا مبتدی هستین توصیه‌ش می‌کنم.
Displaying 1 - 2 of 2 reviews