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


Groups > comp.lang.python > #28493

Re: Beginners question

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.067
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'developer,': 0.05; 'subject:question': 0.08; 'python': 0.09; 'lawrence': 0.09; 'cc:addr:python-list': 0.10; '"here': 0.16; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'am,': 0.27; 'question': 0.27; 'core': 0.27; 'replace': 0.27; 'there.': 0.28; 'starts': 0.29; 'code': 0.31; 'not.': 0.32; 'hi,': 0.33; 'list': 0.35; 'needed': 0.35; 'whatever': 0.35; 'expected': 0.35; 'really': 0.36; 'two': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'some': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'skip:u 10': 0.60; 'first': 0.61; 'email addr:gmail.com': 0.63; 'more': 0.63; 'visit': 0.64; 'header :Reply-To:1': 0.68; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'to:addr:yahoo.co.uk': 0.84; 'stretch': 0.91
Date Wed, 05 Sep 2012 09:21:11 -0400
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version 1.0
To Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Beginners question
References <k1nk8s$3l4$1@speranza.aioe.org> <782893e7-a2dc-4018-a5c6-2a9cd07ecf99@googlegroups.com> <k270ss$r35$1@ger.gmane.org>
In-Reply-To <k270ss$r35$1@ger.gmane.org>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:RO4/HGi0NFxgRWI9fW7juPD1q5jwzbLe/B0guoHHcdP pZUpyrkoYLdaOcfZoKWEIUSLXSij3SNu1lZqV3BzhoB2kxGoOU QkCGj6VgdvkzMxgFoexyA3T1mrCa8uHD7CNNBNI7TUHBZmZlqH N0Dat8CpljR8iKb47RaeQnnN/As9tVsXxQk4mStVHT78cYel2G HEjL8FnepCCUowiDfUUYp1a3ZqxOU+fy3Ac415bHDS3rU8lq63 2q24WoC3Fw+p9SWLfxHaFz4Oe5clHBYRfRTzrbBZnho31bdn0V 9UFmbGGek92IOiwlwsO4fX9HmpnPWMgBOYdeJgxQ2DktLXQdQ= =
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To d@davea.name
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.236.1346851293.27098.python-list@python.org> (permalink)
Lines 43
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346851293 news.xs4all.nl 6893 [2001:888:2000:d::a6]:44678
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28493

Show key headers only | View raw


On 09/05/2012 04:03 AM, Mark Lawrence wrote:
> On 05/09/2012 07:28, charvigroups@gmail.com wrote:
>> Hi,
>>
>> I have attached python interview questions and answers for beginners.
>>
>> Please visit http://www.f2finterview.com/web/CorePython/ for core
>> python and
>>
>> http://www.f2finterview.com/web/PythonAdvanced/ for advanced python
>>
>>
>
> The first question from the advanced list is really going to stretch
> an advanced Python developer, so only gurus need bother as it's so
> difficult.  Not.
>
>

If the interviewer wants the whole page, and not just the first line,
then there's some understanding needed there.  What bothers me more is
the provided code and description:

for c in xrange(len(records)):
   fvalues = records[c]
    ...

and

"Here we start a loop which starts from 1 (understood) to whatever the ..."

Isn't an "advanced" Python user going to be expected to replace those
two with

for fvalues in records:

?


-- 

DaveA

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


Thread

Beginners question boltar2003@boltar.world - 2012-08-30 11:54 +0000
  Re: Beginners question MRAB <python@mrabarnett.plus.com> - 2012-08-30 13:14 +0100
    Re: Beginners question Roy Smith <roy@panix.com> - 2012-08-30 08:23 -0400
    Re: Beginners question boltar2003@boltar.world - 2012-08-30 12:50 +0000
      Re: Beginners question Chris Angelico <rosuav@gmail.com> - 2012-08-30 23:06 +1000
        Re: Beginners question boltar2003@boltar.world - 2012-08-30 13:16 +0000
      Re: Beginners question Dave Angel <d@davea.name> - 2012-08-30 09:23 -0400
      Re: Beginners question Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2012-08-30 14:30 +0100
      Re: Beginners question Terry Reedy <tjreedy@udel.edu> - 2012-08-30 14:22 -0400
  Re: Beginners question Dave Angel <d@davea.name> - 2012-08-30 08:25 -0400
    Re: Beginners question boltar2003@boltar.world - 2012-08-30 12:53 +0000
  Re: Beginners question Chris Angelico <rosuav@gmail.com> - 2012-08-30 22:32 +1000
  Re: Beginners question Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-08-30 14:49 +0200
    Re: Beginners question Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2012-08-30 16:41 +0200
    Re: Beginners question Hans Mulder <hansmu@xs4all.nl> - 2012-08-30 17:38 +0200
  Re: Beginners question charvigroups@gmail.com - 2012-09-04 23:28 -0700
    Re: Beginners question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-05 09:03 +0100
    Re: Beginners question Dave Angel <d@davea.name> - 2012-09-05 09:21 -0400

csiph-web