Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'syntax': 0.03; 'python': 0.09; 'exceptions,': 0.09; 'modules.': 0.09; 'python:': 0.09; 'ruby,': 0.09; 'sep': 0.09; 'sockets': 0.09; 'language,': 0.11; 'language': 0.14; '(the': 0.15; 'library': 0.15; 'languages.': 0.15; '(do': 0.16; 'batteries': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'handling.': 0.16; 'included"': 0.16; 'partly': 0.16; 'permissive': 0.16; 'python",': 0.16; 'range.': 0.16; "someone's": 0.16; 'tcp': 0.16; 'ugly.': 0.16; 'string': 0.17; 'wrote:': 0.17; 'string,': 0.17; 'unicode': 0.17; 'platforms': 0.18; '(not': 0.20; 'code.': 0.20; 'bit': 0.21; 'received:209.85.214.174': 0.21; 'assuming': 0.22; "i'd": 0.22; 'programming': 0.23; 'minutes.': 0.23; "python's": 0.23; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'thanks!': 0.26; 'handling': 0.27; 'language.': 0.27; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'correct': 0.28; 'lines': 0.28; 'run': 0.28; 'oop': 0.29; 'perl': 0.29; 'protocols': 0.29; 'subject:what': 0.29; 'source': 0.29; "i'm": 0.29; 'on,': 0.30; 'code': 0.31; 'problem.': 0.32; 'running': 0.32; 'to:addr:python- list': 0.33; 'likely': 0.33; 'entry': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'project': 0.34; 'community': 0.35; 'so,': 0.35; 'open': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'add': 0.36; 'really': 0.36; 'but': 0.36; 'should': 0.36; 'possible': 0.37; 'one,': 0.37; 'does': 0.37; 'level': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'store': 0.38; 'some': 0.38; 'things': 0.38; 'sure': 0.38; 'advice': 0.39; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'list,': 0.39; 'application': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'networking': 0.60; 'easy': 0.60; 'skip:u 10': 0.60; 'high': 0.61; "you'll": 0.62; '30,': 0.62; 'different': 0.63; 'perfect': 0.63; 'grab': 0.64; 'here': 0.65; 'touch': 0.69; 'internet': 0.71; 'absolutely': 0.84; '"learn': 0.84; 'dial': 0.84; 'flame': 0.84; 'hanging': 0.84; 'start!': 0.84; 'subject:learn': 0.84; 'war,': 0.84; 'modern,': 0.91; 'superb': 0.91; 'hate': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=UU2TUrxE1ZAMS+fLtt0X7PGyMXndCE0Y7DT05fcrxyo=; b=kMmN0VoZxsI+Z0lW+R/H7Cy9guExVEHdO3cGJoBV8fCVhWYhydHwJr1OQQWovbDvAs MwwUjRCLdmTW8tFbR+p3PernzTTaz1f+iiLR7q70AEZP4WCrn7QTK7bdPEsTaKCBhgtq bthbaVJoPBQ7jzmLC9pvXSHvUecwy/UYYxY/tOxG0HT6RBhui5KGCQpyShL3DRlpMc1v 1byBiVaI3W7SxzdANmsO35hZrLIxP0AqBtY0jZGMOFqdMpI6AjX7MqnIR2/n7zHSdoHz MvIFDMuoV9Re1JFrPdFYaenTbGlFUnCmckpOgVPuvO+I9GTFl53gKp4kwQHF8tICNpGl ENAA== MIME-Version: 1.0 In-Reply-To: <15f76508-437a-4d18-ac9b-16174ef172e8@googlegroups.com> References: <15f76508-437a-4d18-ac9b-16174ef172e8@googlegroups.com> Date: Sun, 30 Sep 2012 23:25:50 +1000 Subject: Re: Can somebody give me an advice about what to learn? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1349011558 news.xs4all.nl 6937 [2001:888:2000:d::a6]:50796 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30553 On Sun, Sep 30, 2012 at 10:58 PM, tcgo wrote: > Hi! > I'm really new to Usenet/Newsgroups, but... I'd like to learn some new programming language, because I learnt a bit of Perl though its OOP is ugly. So, after searching a bit, I found Python and Ruby, and both of they are cute. > So, assuming you'll say me "learn python", why should I learn it over Ruby? > Thanks! > PS: I don't want to start a flame-war, I just want an advice if it's possible please! I'm not going to touch Ruby, partly because I don't know it, and partly to avoid a flame war, but here's some good reasons to learn Python: * It's a modern, object-oriented, high level language. * As of version 3.3 (do make sure you grab this one, there's lots of enhancements), it has absolutely correct AND efficient Unicode string handling. I know of only one other language that can store "Hello" as a five-byte string, while simultaneously allowing perfect handling of the entire Unicode range. * Python's syntax is clean and easy to handle. Be aware, though, that some things are distinctly different from C-family languages. * You get an excellent set of modules. Python has "batteries included" (the standard library is extensive) and a whole set of custom batteries on speed dial (check out PyPI). * Easy networking support. You can write servers or clients for many popular internet protocols with just a few lines of code. Simple TCP sockets are also easy. * Python is an open source project with a permissive license. * Superb community support. You can ask a question here and get a response in minutes. :) You're not going to be left hanging when you have a problem. * With very VERY few exceptions, your code will run flawlessly on any of the many platforms Python supports. Python does have some issues, though; you'll either appreciate the syntax or absolutely hate it, and there's no efficient and reliable way to change/reload code in a running application (not often an issue). I'm sure others will add to this list, and there's at least one entry that someone's likely to disagree with me on, but there's a start! ChrisA