Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #83886

Re: How to "wow" someone new to Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <miragewebstudio12@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.062
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'python,': 0.02; 'languages,': 0.04; 'newbie': 0.05; 'subject:Python': 0.06; 'exp': 0.09; 'pointers': 0.09; 'subject:How': 0.10; 'python': 0.11; 'count.': 0.16; 'dict': 0.16; 'easily,': 0.16; 'ideally,': 0.16; 'java.': 0.16; 'language?': 0.16; 's/he': 0.16; 'wrote:': 0.18; "python's": 0.19; 'written': 0.21; 'memory': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'file.': 0.24; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'idea': 0.28; 'chris': 0.29; 'quickly': 0.29; 'bigger': 0.30; 'characters': 0.30; 'see,': 0.30; 'along': 0.30; 'lines': 0.31; 'another.': 0.31; 'easy,': 0.31; 'file': 0.32; 'languages': 0.32; 'plain': 0.33; 'style': 0.33; 'maybe': 0.34; 'problem': 0.35; 'knowledge': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'introducing': 0.36; 'sequence': 0.36; 'should': 0.36; 'experience,': 0.37; 'so,': 0.37; 'list': 0.37; 'subject:new': 0.38; 'message- id:@gmail.com': 0.38; 'problems': 0.38; 'awesome': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'previous': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'read': 0.60; 'deleting': 0.60; 'is.': 0.60; 'solve': 0.60; 'worry': 0.60; 'eye': 0.61; 'new': 0.61; 'took': 0.61; 'simple': 0.61; "you're": 0.61; 'first': 0.61; 'show': 0.63; 'real': 0.63; 'personal': 0.63; 'more': 0.64; 'taking': 0.65; 'great': 0.65; 'management': 0.65; 'talking': 0.65; 'charset:windows-1252': 0.65; 'details': 0.65; 'life': 0.66; 'minutes': 0.67; 'limit': 0.70; 'money': 0.72; 'solvable': 0.84; 'lot,': 0.93; 'instant': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=zqVtkGcqyTNIxOkZgFWkV1KYxQ8Wk8Rg8D+6n9W4PXs=; b=fxI/c5jB6PqgHa19aHexIsv+xI7pV60JAYap6Pr9xwwVvVe0rSYyW9nd26Bs7bgmDN +BlTzOIgWxk64LwjiUNMxl1PtI04CNn0ZJHE4sZjAbiU3fyrmqdq0pSMGGFBkvgaX/Gi Fy5/jcjbzn1DUolSVxbY1o1dzId6NXAxi4rANNWvZ6LcyJ2DqCYIqHP3M0q+WmC8mW5b 8QZhjscFgt0T89EkFY3ENFI3C+nj0873qV7teEud3jBupzNeL4VjI+LnrbE/HmO6MzAa yFYCMQ05HeKVvfGilAHyb7O67FfP/RbPV+/WZSnQc+6enKg4xsDVMWUbUoTUG348Nm+O KSIA==
X-Received by 10.66.148.6 with SMTP id to6mr24429134pab.9.1421427677690; Fri, 16 Jan 2015 09:01:17 -0800 (PST)
Date Fri, 16 Jan 2015 22:31:13 +0530
From Mirage Web Studio <miragewebstudio12@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Icedove/31.0
MIME-Version 1.0
To python-list@python.org
Subject Re: How to "wow" someone new to Python
References <CAPTjJmpTbbj=Dqc6PN-ec4n6-WdFjpSAzwawObSd3Dvwbkpi=A@mail.gmail.com>
In-Reply-To <CAPTjJmpTbbj=Dqc6PN-ec4n6-WdFjpSAzwawObSd3Dvwbkpi=A@mail.gmail.com>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Fri, 16 Jan 2015 18:20:56 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17797.1421428857.18130.python-list@python.org> (permalink)
Lines 50
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421428857 news.xs4all.nl 2928 [2001:888:2000:d::a6]:52115
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:83886

Show key headers only | View raw


On 01/16/2015 08:33 PM, Chris Angelico wrote:
> Scenario: You're introducing someone to Python for the first time.
> S/he may have some previous programming experience, or may be new to
> the whole idea of giving a computer instructions. You have a couple of
> minutes to show off how awesome Python is. What do you do?
>
> I was thinking along the lines of a simple demo in the REPL, showing
> off some of Python's coolest features. But then I got stuck on the
> specifics. What are Python's best coolnesses? What makes for a good
> demo?
>
> Ideally, this should be something that can be demo'd quickly and
> easily, and it should be impressive without going into great details
> of "and see, this is how it works on the inside". So, how would you
> brag about this language?
>
> ChrisA

hello,

I am a newbie to python, I have dwelled in c,qt none in java. php a lot,
though I don't make money with any of those.

The best thing I find is python is very easy, the best part maybe
because of my inexperience with other languages are the List and Dict
data types that just solved problems I had in real life made solvable
with python very easily. when I had to worry about memory and pointers
to memory in those other languages, python just made me focus on the
solution I want. also the way I can read python program just like they
are written in plain eglish :)

a personal problem I tried to solve is that how many characters  exist
in  a sequence statistically (with 2 or more characters in len)  in any
given file and then their count.  For a 100kb file I used practially all
programming knowledge in from the other languages but failed miserably
as the computation were taking more time with each bigger chunck of
file. I would have to do a lot of memery management with python using
those style like deleting list and dict before adding another. but when
I tried to solve the problem natively with python it just took a blink
of an eye for them to solve upto 50kb file. but for larger files
although instant it is just memory consuming since I was limit with 2 gb
I ddin't poke further.

this was my exp and I find programming fun in python like ironman
talking to jarvis

keep computing!!!

GCM

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: How to "wow" someone new to Python Mirage Web Studio <miragewebstudio12@gmail.com> - 2015-01-16 22:31 +0530
  Re: How to "wow" someone new to Python Rustom Mody <rustompmody@gmail.com> - 2015-01-16 09:31 -0800
    Re: How to "wow" someone new to Python Chris Angelico <rosuav@gmail.com> - 2015-01-17 04:44 +1100
    Re: How to "wow" someone new to Python Emile van Sebille <emile@fenx.com> - 2015-01-16 09:57 -0800

csiph-web