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


Groups > comp.lang.python > #29069

Re: Python presentations

Newsgroups comp.lang.python
Date 2012-09-13 12:01 -0700
References <mailman.617.1347552022.27098.python-list@python.org> <k2t1f9$4jp$1@news.albasani.net>
Message-ID <06a1a81b-246b-4e7b-ba34-4701f46889c8@googlegroups.com> (permalink)
Subject Re: Python presentations
From 88888 Dihedral <dihedral88888@googlemail.com>

Show all headers | View raw


mblume於 2012年9月14日星期五UTC+8上午12時26分17秒寫道:
> Am Thu, 13 Sep 2012 17:00:19 +0100 schrieb andrea crotti:
> 
> >
> 
> > I have to give a couple of Python presentations in the next weeks, and
> 
> > I'm still thinking what is the best approach.
> 
> > 
> 
> My idea for an introductory presentation of python was to prepare some 
> 
> code snippets (all valid python), show them in the editor, explain them,
> 
> then run in a console. 
> 
> 
> 
> Beginners could then use these code snippets for their own experiments.
> 
> 
> 
> HTH
> 
> Martin

I'll contribute one point in Python. 

def powerlist(x, n):
    # n is a natural number
     result=[]
     y=1
     for i in xrange(n):
        result.append(y) 
        y*=x
     return result # any object in the local function can be returned
 
     

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


Thread

Python presentations andrea crotti <andrea.crotti.0@gmail.com> - 2012-09-13 17:00 +0100
  Re: Python presentations John Gordon <gordon@panix.com> - 2012-09-13 16:06 +0000
  Re: Python presentations mblume <foobar@invalid.invalid> - 2012-09-13 16:26 +0000
    Re: Python presentations 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-13 12:01 -0700
      Re: Python presentations Alexander Blinne <news@blinne.net> - 2012-09-14 00:33 +0200
        Re: Python presentations Chris Angelico <rosuav@gmail.com> - 2012-09-14 08:38 +1000
          Re: Python presentations 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-13 22:57 -0700
          Re: Python presentations 88888 Dihedral <dihedral88888@googlemail.com> - 2012-09-13 22:57 -0700
          Re: Python presentations Alexander Blinne <news@blinne.net> - 2012-09-14 13:47 +0200
            Re: Python presentations Chris Angelico <rosuav@gmail.com> - 2012-09-14 22:19 +1000
              Re: Python presentations Alexander Blinne <news@blinne.net> - 2012-09-16 18:13 +0200
                Re: Python presentations Chris Angelico <rosuav@gmail.com> - 2012-09-17 02:19 +1000
                Re: Python presentations Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-16 17:35 +0000
                Re: Python presentations Alexander Blinne <news@blinne.net> - 2012-09-17 10:39 +0200
  Re: Python presentations Miki Tebeka <miki.tebeka@gmail.com> - 2012-09-13 15:58 -0700
    Re: Python presentations Andrea Crotti <andrea.crotti.0@gmail.com> - 2012-09-14 00:15 +0100
  Re: Python presentations Miki Tebeka <miki.tebeka@gmail.com> - 2012-09-13 15:58 -0700

csiph-web