Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
IssuePY03 En

IssuePY03 En

Ratings: (0)|Views: 17 |Likes:
Published by IzemAmazigh

More info:

Published by: IzemAmazigh on Jun 04, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/04/2012

pdf

text

original

 
THE INDEPENDENT MAGAZINE FOR THE UBUNTU LINUX COMMUNITY
PROGRAMMING SERIES SPECIAL EDITION
 
PROGRAMPROGRAM
 
IN PYTHONIN PYTHON
Volume ThreeVolume Three
Full Circle
Full Circle Magazine is neither affiliated, with nor endorsed by, Canonical Ltd.
 
Full Circle Magazine SpecialsFull Circle Magazine
The articles contained in this magazine are released under the Creative Commons Attribution-Share Alike 3.0Unported license. This means you can adapt, copy, distribute and transmit the articles but only under the following conditions:You must attribute the work to the original author in some way (at least a name, email or URL) and to this magazine by name ('full circle magazine') andthe URL www.fullcirclemagazine.org (but not attribute the article(s) in any way that suggests that they endorse you or your use of the work). If you alter,transform, or build upon this work, you must distribute the resulting work under the same, similar or a compatible license.
Full Circle Magazine is entirely independent of Canonical, the sponsor of Ubuntu projects and the views and opinions in the magazine should inno way be assumed to have Canonical endorsement.Please note:
 
this SpecialEdition is provided withabsolutely no warrantywhatsoever; neither thecontributors nor Full CircleMagazine accept anyresponsibility or liability forloss or damage resulting fromreaders choosing to apply thiscontent to theirs or otherscomputers and equipment.
About Full Circle
Full Circle is a free,independent, magazinededicated to the Ubuntufamily of Linux operatingsystems. Each month, itcontains helpful how-toarticles and reader-submitted stories.Full Circle also features acompanion podcast, the FullCircle Podcast which coversthe magazine, along withother news of interest.
Welcome to another 'single-topic special'
In response to reader requests, we are assembling thecontent of some of our serialised articles into dedicatededitions.For now, this is a straight reprint of the series
'Programming in Python', Parts 17-21
from issues #43through #47; nothing fancy, just the facts.Please bear in mind the original publication date; currentversions of hardware and software may differ from thoseillustrated, so check your hardware and software versionsbefore attempting to emulate the tutorials in these specialeditions. You may have later versions of software installedor available in your distributions' repositories.
Enjoy!
 
Find Us
Website:
Forums:
IRC:
#fullcirclemagazine onchat.freenode.net
Editorial Team
Editor: Ronnie Tucker(aka: RonnieTucker)ronnie@fullcirclemagazine.orgWebmaster: Rob Kerfia(aka: admin / linuxgeekery-admin@fullcirclemagazine.orgPodcaster: Robin Catling(aka RobinCatling)podcast@fullcirclemagazine.orgCommunications Manager:Robert Clipsham(aka: mrmonday) -mrmonday@fullcirclemagazine.org
 
7
contents ^
HHOOWW--TTOO
Written by Greg Walters
PPrrooggrraammIInnPPyytthhoonn--PPaarrtt1177
Create a socket Get name of server machine Select a port Bind socket to address and port Listen for a connection If connected...Accept the connection Print we got a connection Close the connection 

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->