�gӭ���R�ЈD�W(w��ng) Ո(q��ng) | ע��(c��)

���] Python���ľ��� ��3�� Ӣ�İ�

�����磺�����]늳���������r(sh��)�g��2021-07-01
�_���� 16�_ 퓔�(sh��)�� 822
�� �D �r(ji��):¥101.3(7.8��) ���r(ji��)  ¥129.9 ��䛺�ɿ�����(hu��)�T�r(ji��)
����ُ��܇ �ղ�
�_������ ȫ��(ch��ng)���]
?�½������س���
������Ǖ�����>

Python���ľ��� ��3�� Ӣ�İ� ���(qu��n)��Ϣ

Python���ľ��� ��3�� Ӣ�İ� ������ɫ

�m�x��Ⱥ �������m����һ�����̽�(j��ng)�(y��n)��Python�_�l(f��)�ˆT��x��ȫ�溭�w��(d��ng)��(y��ng)���_�l(f��)�еı����I(l��ng)��?y��n)��м?j��)Python�_�l(f��)�ˆT�ṩ��(sh��)�`�������w������(sh��)�õĴ��a����ÿ��ĩβ����(x��)�}������얹����W(xu��)֪�R(sh��)Python��һ�N�`�����ɿ��Ҿ��б��F(xi��n)���ľ����Z�����������g�Z�Եď�(qi��ng)���c�_���Z�Եĺ�(ji��n)�����������_�l(f��)���������������ڱ�������Python�_�l(f��)�ˆT����I(y��)��Ӗ(x��n)��Wesley Chun��(hu��)��������Python�������������ߵ�ˮƽ���������w�˳ɞ�һ�����g(sh��)ȫ���Python�_�l(f��)�ˆT�����һ�Ѓ�(n��i)���������v���ˑ�(y��ng)���_�l(f��)���P(gu��n)�Ķ���(g��)�I(l��ng)�򣬶��ҕ��еă�(n��i)�ݿ���������(y��ng)�õ��(xi��ng)Ŀ�_�l(f��)��������������߀������һЩʹ��Python 2��Python 3�����Ĵ��a�������Լ�һЩ���a��ֲ��������Щ���aƬ�������o��޸ľͿ����\(y��n)����Python 2.x��Python 3.x���������v�������ƒ�(n��i)�ݣ��W(xu��)��(x��)���I(y��)��Python�L(f��ng)������(sh��)�`�Լ��õľ�����(x��)�T��ʹ��TCP��UDP��XML-RPC���_�l(f��)�͑��˺ͷ���(w��)���������� ��(j��)�Ď죨����SocketServer��Twisted��ʹ��ʹ��Tkinter���������õĹ��߁��_�l(f��)GUI��(y��ng)�ã�ͨ�^ʹ��C/C++�����U(ku��)չ������ʹ�öྀ�́�����I/O�ܼ��ʹ��a��������(y��ng)�õ�������̽��QSL���P(gu��n)ϵ��(sh��)��(j��)����ORM��������MongoDB�@�ӵķ��P(gu��n)ϵ�ͣ�NonSQL����(sh��)��(j��)�����W(xu��)��(x��)Web���̵Ļ��A(ch��)֪�R(sh��)������Web�͑��˺ͷ���(w��)�����Լ�CGI��WSGI��ʹ�����t���_(d��)ʽ�͏�(qi��ng)����ı�̎�����ߣ��턓(chu��ng)���ͽ���CSV��JSON��XML��(sh��)��(j��)��ʹ��COM�͑��˾����c��Ҋ��Microsoft Officeܛ��������Excel��PowerPoint��Outlook���M(j��n)�н�����ʹ��Django��������˽�Web�_�l(f��)���Լ�ʹ��Google App Engine�����˽���Ӌ(j��)����ʹ��Jyhon̽��Java�������Լ���JVM���\(y��n)��Python���a�ķ�ʽ���B��Web����(w��)�������B��Yahoo��Fiance�@ȡ��Ʊ���飬�����B��Yahoo��Mail��Gmail�Լ������]������(w��)�������d��l(f��)���]����ͨ�^�W(xu��)��(x��)����B��Twitter��Google+�W(w��ng)�j(lu��)������罻ý�w�ğᳱ��

Python���ľ��� ��3�� Ӣ�İ� ��(n��i)�ݺ�(ji��n)��

��Python���ľ��̣���3�棩Ӣ�İ桷�ǽ�(j��ng)�䕳�N�D����Python���ľ��̣��� ���棩����ȫ������(j��)�汾�������֞�3�������� 1���֞��v����Python��һЩͨ�Ñ�(y��ng)�����������t���_(d��)ʽ���W(w��ng)�j(lu��)������Internet�͑��˾������ྀ�̾�����GUI���̡���(sh��)��(j��)�쾎����Microsoft Office���̡��U(ku��)չPython�ȃ�(n��i)������ 2�����v�����cWeb�_�l(f��)���P(gu��n)�����}������Web�͑��˺ͷ���(w��)����CGI��WSGI���P(gu��n)��Web������Django Web�������Ӌ(j��)�㡢�� ��(j��)Web����(w��)����3���քt��һ��(g��)�a(b��)��/��(sh��)�(y��n)�¹�(ji��)�������ı�̎���Լ�һЩ������(n��i)�ݡ� ��Python���ľ��̣���3�棩Ӣ�İ桷�m�Ͼ���һ����(j��ng)�(y��n)��Python�_�l(f��)�ˆT��x��

Python���ľ��� ��3�� Ӣ�İ� Ŀ�

Part I��General Application Topics��1
�� 1���֡�ͨ�Ñ�(y��ng)�����}
Chapter 1��Regular Expressions��2
�� 1�¡����t���_(d��)ʽ
1��1��Introduction/Motivation��/�����ԣ���(d��ng)�C(j��)��3
1��2��Special Symbols and Characters��/������ķ�̖(h��o)���ַ���6
1��3��Regexes and Python��/�����t���_(d��)ʽ��Python�Z�ԡ�16
1��4��Some Regex Examples һЩ���t���_(d��)ʽʾ����36
1��5��A Longer Regex Example���L(zh��ng)�����t���_(d��)ʽʾ����41
1��6��Exercises��/������(x��)��48
Chapter 2��Network Programming��53
�� 2�¡��W(w��ng)�j(lu��)����
2��1��Introduction��/��ǰ�ԡ�54
2��2��What Is Client/Server Architecture ��/���͑���/����(w��)���W(w��ng)�j(lu��)���̡�54
2��3��Sockets�� Communication Endpoints��/���׽��֣�ͨ�Ŷ��c(di��n)��58
2��4��Network Programming in Python��/��Python�еľW(w��ng)�j(lu��)���̡�61
2��5��*The SocketServer Module��/��SocketServerģ�K��79
2��6��*Introduction to the Twisted Framework��/��*Twisted��ܽ�B��84
2��7��Related Modules��/�����P(gu��n)ģ�K��88
2��8��Exercises��/������(x��)��89
Chapter 3��Internet Client Programming��94
��3�¡�Internet�͑��˾���
3��1��What Are Internet Clients ��/��ʲô��Internet�͑�������95
3��2��Transferring Files��/���ļ���ݔ��96
3��3��Network News��/���W(w��ng)�j(lu��)��„��104
3��4��E-Mail��/������]����114
3��5��Related Modules��/�����P(gu��n)ģ�K��146
3��6��Exercises��/������(x��)��148
Chapter 4��Multithreaded Programming��156
��4�¡��ྀ�̾���
4��1��Introduction/Motivation��/����(ji��n)��/��(d��ng)�C(j��)��157
4��2��Threads and Processes��/�����̺��M(j��n)�̡�158
4��3��Threads and Python��/�����̺�Python��160
4��4��The thread Module��/��threadģ�K��164
4��5��The threading Module��/��threadingģ�K��169
4��6��Comparing Single vs�� Multithreaded Execution��/��
�ξ��̺Ͷྀ�̈�(zh��)�Ќ�(du��)�ȡ�180
4��7��Multithreading in Practice��/���ྀ�̌�(sh��)�`��182
4��8��Producer-Consumer Problem and the Queue/queue Module��/��
���a(ch��n)��-���M(f��i)�߆��}��Queue/queueģ�K��202
4��9��Alternative Considerations to Threads��/�����̵����������206
4��10��Related Modules��/�����P(gu��n)ģ�K��209
4��11��Exercises��/������(x��)��210
Chapter 5��GUI Programming��213
��5�¡�GUI����
5��1��Introduction��/����(ji��n)�顡214
5��2��Tkinter and Python Programming��/��Tkinter��Python���̡�216
5��3��Tkinter Examples��/��Tkinterʾ����221
5��4��A Brief Tour of Other GUIs��/������GUI��(ji��n)�顡236
5��5��Related Modules and Other GUIs��/�����P(gu��n)ģ�K������GUI��247
5��6��Exercises��/������(x��)��250
Chapter 6��Database Programming��253
��6�¡���(sh��)��(j��)�쾎��
6��1��Introduction��/����(ji��n)�顡254
6��2��The Python DB-API��/��Python��DB-API��259
6��3��ORMs��/����(du��)���P(gu��n)ϵӳ�䣨ORM����289
6��4��Non-Relational Databases��/�����P(gu��n)ϵ�͔�(sh��)��(j��)�졡309
6��5��Related References��/�����P(gu��n)�īI(xi��n)��316
6��6��Exercises��/������(x��)��319
Chapter 7��*Programming Microsoft Office��324
��7�¡�*Microsoft Office����
7��1��Introduction��/����(ji��n)�顡325
7��2��COM Client Programming with Python��/��ʹ��Python�M(j��n)��
COM�͑��˾��̡�326
7��3��Introductory Examples��/�����Tʾ����328
7��4��Intermediate Examples��/���м�(j��)ʾ����338
7��5��Related Modules/Packages��/�����P(gu��n)ģ�K/����357
7��6��Exercises��/������(x��)��357
Chapter 8��Extending Python��364
��8�¡��U(ku��)չPython
8��1��Introduction/Motivation��/����(ji��n)��̈́�(d��ng)�C(j��)��365
8��2��Extending Python by Writing Extensions��/��
����Python�U(ku��)չ��368
8��3��Related Topics��/�����P(gu��n)���}��384
8��4��Exercises��/������(x��)��388
Part II��Web Development��389
�� 2���֡�Web�_�l(f��)
Chapter 9��Web Clients and Servers��390
��9�¡�Web�͑��˺ͷ���(w��)��
9��1��Introduction��/����(ji��n)�顡391
9��2��Python Web Client Tools��/��Python Web�͑��˹��ߡ�396
9��3��Web Clients��/��Web�͑��ˡ�410
9��4��Web (HTTP) Servers��/��Web��HTTP������(w��)����428
9��5��Related Modules��/�����P(gu��n)ģ�K��433
9��6��Exercises��/��Exercises��436
Chapter 10��Web Programming�� CGI and WSGI��441
�� 10�¡�Web���̣�CGI��WSGI
10��1��Introduction��/����(ji��n)�顡442
10��2��Helping Web Servers Process Client Data��/������Web����(w��)
��̎���͑��˔�(sh��)��(j��)��442
10��3��Building CGI Applications��/������CGI��(y��ng)��446
10��4��Using Unicode with CGI��/����CGI��ʹ��Unicode��464
10��5��Advanced CGI��/���� ��(j��)CGI��466
10��6��Introduction to WSGI��/��WSGI��(ji��n)�顡478
10��7��Real-World Web Development��/���挍(sh��)�����Web�_�l(f��)��487
10��8��Related Modules��/�����P(gu��n)ģ�K��488
10��9��Exercises��/������(x��)��490
Chapter 11��Web Frameworks�� Django��493
�� 11�¡�Web��ܣ�Django
11��1��Introduction��/����(ji��n)�顡494
11��2��Web Frameworks��/��Web��ܡ�494
11��3��Introduction to Django��/��Django��(ji��n)�顡496
11��4��Projects and Apps��/���(xi��ng)Ŀ�͑�(y��ng)�á�501
11��5��Your ��Hello World�� Application (A Blog)��/����Hello World��
��(y��ng)�ã�һ��(g��)���ͣ���507
11��6��Creating a Model to Add Database Service��/����(chu��ng)��һ��(g��)
Model�����Ӕ�(sh��)��(j��)�����(w��)��509
11��7��The Python Application Shell��/��Python Application Shell��514
11��8��The Django Administration App��/��Django���푪(y��ng)�á�518
11��9��Creating the Blog��s User Interface��/��
��(chu��ng)��Blog���Ñ����桡527
11��10��Improving the Output��/�����M(j��n)ݔ����537
11��11��Working with User Input��/��̎���Ñ�ݔ�롡542
11��12��Forms and Model Forms��/����κ�ģ�ͱ�Ρ�546
11��13��More About Views��/��ҕ�D�M(j��n)�A��551
11��14��*Look-and-Feel Improvements��/��*�������^��553
11��15��*Unit Testing��/��*��Ԫ�y(c��)ԇ��554
11��16��*An Intermediate Django App�� The TweetApprover��/��
�м�(j��)Django��(y��ng)�ã�TweetApprover��564
11��17��Resources��/���YԴ��597
11��18��Conclusion��/�����Y(ji��)��597
11��19��Exercises��/������(x��)��598
Chapter 12��Cloud Computing�� Google App Engine��604
�� 12�¡���Ӌ(j��)�㣺Google App Engine
12��1��Introduction��/����(ji��n)�顡605
12��2��What Is Cloud Computing ��/��ʲô����Ӌ(j��)������605
12��3��The Sandbox and the App Engine SDK��/��
ɳ�к�App Engine SDK��612
12��4��Choosing an App Engine Framework��/��
�x��һ��(g��)App Engine��ܡ�617
12��5��Python 2��7 Support��/��Python 2��7֧�֡�626
12��6��Comparisons to Django��/���cDjango���^��628
12��7��Morphing ��Hello World�� into a Simple Blog��/��
����Hello World���ij�һ��(g��)��(ji��n)�εIJ��͡�631
12��8��Adding Memcache Service��/������Memcache����(w��)��647
12��9��Static Files��/���o�B(t��i)�ļ���651
12��10��Adding Users Service��/������������(w��)��652
12��11��Remote API Shell��/���h(yu��n)��API Shell��654
12��12��Lightning Round (with Python Code)��/��
���c��Python��(sh��)�F(xi��n)����656
12��13��Sending Instant Messages by Using XMPP��/��
ʹ��XMPP�l(f��)�ͼ��r(sh��)��Ϣ��660
12��14��Processing Images��/��̎��DƬ��662
12��15��Task Queues (Unscheduled Tasks)��/��
�΄�(w��)�(du��)�У��Ƕ����΄�(w��)����663
12��16��Profiling with Appstats��/��ʹ��Appstats�M(j��n)�з�����670
12��17��The URLfetch Service��/��URLfetch����(w��)��672
12��18��Lightning Round (without Python Code)��/��
���c�𣨛]��Python���a����673
12��19��Vendor Lock-In��/���S���i����675
12��20��Resources��/���YԴ��676
12��21��Conclusion��/�����Y(ji��)��679
12��22��Exercises��/������(x��)��680
Chapter 13��Web Services��684
�� 13�¡�Web����(w��)
13��1��Introduction��/����(ji��n)�顡685
13��2��The Yahoo! Finance Stock Quote Server��/��
Yahoo!���ڹ�Ʊ��(b��o)�r(ji��)����(w��)����685
13��3��Microblogging with Twitter��/��Twitter΢����690
13��4��Exercises��/������(x��)��707
Part III��Supplemental/Experimental ��713
��3���֡��a(b��)��/��(sh��)�(y��n)�¹�(ji��)
Chapter 14��Text Processing��714
�� 14�¡��ı�̎��
14��1��Comma-Separated Values��/����̖(h��o)�ָ���ֵ��CSV����715
14��2��JavaScript Object Notation��/��JavaScript��(du��)���ʾ����JSON����719
14��3��Extensible Markup Language��/���ɔU(ku��)չ��(bi��o)ӛ�Z�ԡ�724
14��4��References��/�������Y�ϡ�738
14��5��Related Modules��/�����P(gu��n)ģ�K��740
14��6��Exercises��/������(x��)��740
Chapter 15��Miscellaneous��743
�� 15�¡�������(n��i)��
15��1��Jython��/��Jython��744
15��2��Google+��/��Google+��748
15��3��Exercises��/������(x��)��759
Appendix A��Answers to Selected Exercises��763
���A�����־���(x��)������
Appendix B��Reference Tables��768
���B��������
Appendix C��Python 3�� The Evolution of a Programming Language��798
���C��Python 3��һ�N�����Z�Ե��M(j��n)���a(ch��n)��
Appendix D��Python 3 Migration with 2��6+��807
���D������Python 2��6+�M(j��n)��Python 3�w��
չ�_ȫ��

Python���ľ��� ��3�� Ӣ�İ� ���ߺ�(ji��n)��

Wesley Chun�ڸ����A���_ʼ�M(j��n)��Ӌ(j��)����������(d��ng)�r(sh��)��ʹ�õ���BASIC��6502�R���Z�ԣ�ϵ�y(t��ng)��Commodore���S���_ʼ��App IIe��ʹ��Pascal�Z����Ȼ�������ڴ��׿�Ƭ��ʹ��ForTran�Z���������ڴ��׿�Ƭ��ʹ��ForTran�Ľ�(j��ng)�vʹ���ɞ�һ��֔(j��n)��С�ĵ��_�l(f��)�ˆT����?y��n)錢һ�M��Ƭ�l(f��)�͵��W(xu��)У�����C(j��)���õ����ؽY(ji��)����������Ҫһ�ܵ������r(sh��)�g��Wesley߀��һ��(g��)��„?l��)��Ĵ��֙C(j��)��׃?y��u)�Osborne 1 CP/MӋ(j��)��C(j��)�����õ����г�ڵĹ���������W(xu��)���o��(d��o)�T�����꼉(j��)�����꼉(j��)�����꼉(j��)�ČW(xu��)�����丸ĸ���v��BASIC�����n�̡����Ю��I(y��)����Wesley�Լ������၆У�ьW(xu��)�ߵ������M(j��n)����ݴ�W(xu��)��������У�������ޑ�(y��ng)�Ô�(sh��)�W(xu��)��Ӌ(j��)��C(j��)�ƌW(xu��)�����o���������ŵ���٣�������A��(j��)��B��(j��)�ijɿ�(j��)���I(y��)���ڌW(xu��)У���g�����Ⱥ�ʹ���^Pascal��Logo��C�Z�Ծ����^������߀������һ��(g��)�������Ӗ(x��n)��������ԃ?y��u)���ɫ���o��(d��o)�n�����������ڌ�(sh��)��(x��)�(xi��ng)Ŀ�����Ե�4�������Z�Ծ������a����������һ��(g��)��Getting Started���Ñ��փ�(c��)�������^�������_ʼ�ڼ��ݴ�W(xu��)ʥ��������У�^�m(x��)�W(xu��)��(x��)�����@����Ӌ(j��)��C(j��)�ƌW(xu��)���ֲ�ʽϵ�y(t��ng)���ĴTʿ�W(xu��)λ���ڴ����g����߀�v��C�����n��������һƬ����TʿՓ�Ğ���A(ch��)��Փ���ڵ� 29��HICSS���(hu��)�ϱ�������Փ�������S���һ��(g��)Փ�İ汾�������¼��´�W(xu��)High Performance Computing�s־�ϡ��ԏĮ��I(y��)֮����Wesley��Ͷ����ܛ���ИI(y��)�������ͳ����˶౾�D�������Ұl(f��)���˔�(sh��)��ƪ��(hu��)�h��(b��o)��ͽ̳�������߀�_�l(f��)��ᘌ�(du��)������I(y��)��˽����I(y��)��Ӗ(x��n)��Python�n�̡�Wesley��Pythonʹ�ý�(j��ng)�vʼ��Python 1.4�汾����(d��ng)�r(sh��)Python�����𲽣�����ʹ��Python�O(sh��)Ӌ(j��)��Yahoo��Mailƴ���z������Լ���ַ�������S��ɞ�Yahoo��People Search���T���� ϯ���̎������x�_Yahoo��֮���������˱����� 1����Ȼ���_ʼ����������؁�֮����ʹ��Python�����^�S��������������خa(ch��n)Ʒ�����������������]���ͷ������]��������Facebook�Α�/��(y��ng)�����Լ��S����ȫ��ͬ�������|���������t(y��)���Á��M(j��n)�м������۷�����ܛ���������eϾ�r(sh��)�g��Wesleyϲ�g����١����g������@���T����܇����O���w�P�����ˡ��������Լ��c���˹����˂�����߀��Tutor�]���б���PyCon�@�ɂ�(g��)Python�Ñ��M��־Ը�ߡ���߀�S�o(h��)��������ɭ˹�����(xi��ng)ĿĿ䛣�Alan Parsons Project Monster Discography�����ڱ�������֮�r(sh��)��Wesley��Google���_�l(f��)��ʹ�������Ʈa(ch��n)Ʒ������Wesley�����ڹ�ȣ�������ͨ�^@wescpy��plus.ly/wescpy���ҵ�����

��Ʒ�u(p��ng)Փ(0�l)
���o�u(p��ng)Փ����
�������]
����N
��݋���]
����픲�
�ЈD�W(w��ng)