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


Groups > comp.lang.python > #79579

Re: I am out of trial and error again Lists

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <fomcl@yahoo.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'subject:error': 0.03; 'output': 0.05; '[0,': 0.09; 'cest': 0.09; 'comment,': 0.09; 'friday,': 0.09; 'thats': 0.09; 'python': 0.11; 'language,': 0.12; 'missed': 0.12; 'books': 0.15; '">>"': 0.16; '23,': 0.16; '24,': 0.16; '>1)': 0.16; '>2)': 0.16; '>3)': 0.16; '>on': 0.16; '>to': 0.16; 'bit...': 0.16; 'bit;': 0.16; 'btw': 0.16; "didn't,": 0.16; 'jumping': 0.16; 'range(0,': 0.16; 'stuff!': 0.16; 'task.': 0.16; 'thursday,': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'obviously': 0.18; 'trying': 0.19; 'thu,': 0.19; 'not,': 0.20; '>>>': 0.22; '+0000': 0.22; 'case.': 0.24; 'replace': 0.24; '(or': 0.24; 'question': 0.24; 'to:2**1': 0.27; 'tried': 0.27; 'chris': 0.29; 'to:no real name:2**1': 0.29; 'getting': 0.31; 'too.': 0.31; 'everyone': 0.33; 'fri,': 0.33; 'basic': 0.35; 'skip:u 20': 0.35; 'but': 0.35; 'skip:> 10': 0.36; 'done': 0.36; 'charset:us-ascii': 0.36; 'thanks': 0.36; "i'll": 0.36; 'too': 0.37; 'skip:- 20': 0.37; 'expected': 0.38; 'implement': 0.38; 'handle': 0.38; 'to:addr :python-list': 0.38; 'issue': 0.38; 'little': 0.38; 'does': 0.39; 'moving': 0.39; 'to:addr:python.org': 0.39; 'skip:u 10': 0.60; 'commands': 0.60; 'received:98.137': 0.60; 'subject: ': 0.61; "you're": 0.61; 'back': 0.62; 'our': 0.64; 'grab': 0.64; 'more': 0.64; 'holding': 0.65; 'talking': 0.65; 'to:addr:gmail.com': 0.65; 'here': 0.66; 'promise': 0.68; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'enjoy': 0.71; '*and*': 0.84; '2014,': 0.84; 'clearer': 0.84; 'confusing': 0.84; 'console,': 0.84; 'evening': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'riding': 0.84; 'subject:Lists': 0.91; 'tough': 0.93; 'assess': 0.96
X-Yahoo-Newman-Property ymail-3
X-Yahoo-Newman-Id 833032.42112.bm@omp1015.mail.gq1.yahoo.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1414168952; bh=ClEspn5vrcWGN7jY4nF7DusyLGBvu7Td+vTxqWXxgcY=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=xUWu/YRGclT+bDneA2nnETu3kCbSvbEDhHVtLsQk3L0U4moWGTIKLplGOmZHBzmL2kcA0BdVfLQL4FMYLScyjjMAVcHB64DQQb7vXm4cm9WFqSAFgcmHD0JD8xlO24/7fhR4TsIX0efNNpyc265FRch5vz7ohFS+wpmMzWMfuDc=
X-YMail-OSG 7qNOUwAVM1mKJRmUOETwmtmpOd8pCVwBlmw__NHhFkmIm3q NdC6MSNERJgAvHP0BhSjzPBcN0Ch9xyKFexNcmnHbb7jLqFAeU8qxHViA_gM mAPlxfZwt8Pin8iVLyh6prwUxJ5IM4TkF2VyVYaYtXavb0UDj6OTPeJfQ6cC QcbSj2d2J35aBircEwVNaTVNugbBEkZZh9p7Sy2Ts0koh6V95pyqhi0uM_22 sNOiE8ST_Yh0AreOwh6ARK9yKAXSBH9lNd9g_whPhG6g09Htil7BI0X9O6Ov vf74L4BXVlKjMlX3jINfDwzw_lxjso4ESOBI2gRoxTsyQtAkGei7MlfBRx._ QOwWS0QoUy1muaLIF_DhBWeiqI5LB_KsJnzGuM24OMoJiaOfzEHOIAnJO4FU R73d.hECqcspte.Y2rjJlcR0fccPSnYLZqeABQZp4d8r1vfduBSxKoz3accW LCv5CBY8s_Ikoex7Y34aiYnoRmGz63QArusI0F8gdmh.UN1a9hHI.dmn5jit pA03nI2MdBzqg4hg7leEH85bKPR_QkF.7a0agVfmGdKYJTPTbwWaKSM5Yfbn D
X-Rocket-MIMEInfo 002.001, Ci0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpPbiBGcmksIE9jdCAyNCwgMjAxNCA1OjU2IFBNIENFU1QgUnVzdG9tIE1vZHkgd3JvdGU6DQoNCj5PbiBGcmlkYXksIE9jdG9iZXIgMjQsIDIwMTQgODoxMToxMiBQTSBVVEMrNTozMCwgU2V5bW9yZTRIZWFkIHdyb3RlOg0KPj4gT24gVGh1LCAyMyBPY3QgMjAxNCAyMTo1NjozMSAtMDcwMCAoUERUKSwgUnVzdG9tIE1vZHkgd3JvdGU6DQo.PiANCj4.ID5PbiBUaHVyc2RheSwgT2N0b2JlciAyMywgMjAxNCAxMDozMzo1NyBQTSBVVEMrNTozMCwgU2V5bW8BMAEBAQE-
X-Mailer YahooMailWebService/0.8.203.733
Date Fri, 24 Oct 2014 09:42:32 -0700
From Albert-Jan Roskam <fomcl@yahoo.com>
Subject Re: I am out of trial and error again Lists
To rustompmody@gmail.com, python-list@python.org
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
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.15134.1414169059.18130.python-list@python.org> (permalink)
Lines 103
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414169059 news.xs4all.nl 2957 [2001:888:2000:d::a6]:48302
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79579

Show key headers only | View raw


-----------------------------
On Fri, Oct 24, 2014 5:56 PM CEST Rustom Mody wrote:

>On Friday, October 24, 2014 8:11:12 PM UTC+5:30, Seymore4Head wrote:
>> On Thu, 23 Oct 2014 21:56:31 -0700 (PDT), Rustom Mody wrote:
>> 
>> >On Thursday, October 23, 2014 10:33:57 PM UTC+5:30, Seymore4Head wrote:
>> > On Thu, 23 Oct 2014 15:55:35 +0000 (UTC), Denis McMahon wrote:
>> > 
>> > >On Thu, 23 Oct 2014 10:04:56 -0400, Seymore4Head wrote:
>> > >
>> > > On Thu, 23 Oct 2014 09:15:16 +0000 (UTC), Denis McMahon wrote:
>> > >
>> > >>Try the following 3 commands at the console:
>> > >
>> > >You obviously didn't, so I'll try again. Try each of the following three 
>> > >commands in the python console at the ">>" prompt.
>> > >
>> > >1) 10
>> > 10
>> > 
>> > >2) range(10)
>> > range(0, 10)
>> > 
>> > >3) str(range(10))
>> > 'range(0, 10)'
>> > [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>> > >
>> > >Show *and* describe the output in each case. Describing the output that 
>> > >you see is actually the key here, as it will allow us to assess whether 
>> > >you understand what you are actually seeing or not, and if you don't 
>> > >understand the output you see in the console, then we need to fix that 
>> > >very fundamental and basic issue before moving on to more complex stuff!
>> > >
>> > > Ok Thanks
>> > >
>> > >You were expected to answer the question in the original. I have now set 
>> > >it as a clearer and more specific task.
>> > >
>> > >If you're not going to do these things that are intended to help you 
>> > >learn some of the basic features of the language, then I and everyone 
>> > >else here that has so far been attempting to help you are wasting our 
>> > >time.
>> > 
>> > I did try them.  I may have missed replying your to your specific
>> > comment, but I tried them.
>> > 
>> > BTW str(range (10)) does work with Python 2 which is where I may have
>> > got the idea.  I happened to be using Python 3 at the time I tried to
>> > implement it.  It is a little confusing jumping back and forth, but
>> > for the moment, I am going to tough it out.


u0_a100@condor_umts:/ $ python
Python 3.2.2 (default, Jun 23 2014, 00:13:13)
[GCC 4.8] on linux-armv7l
Type "help", "copyright", "credits" or "license" for more information.
>>> list(range(10))
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
>>>


>> > I do appreciate all the help too.
>> >
>> >Hi Seymore!
>> >
>> >Happy to see that you are moving on from
>> >"reading much; understanding nothing; thrashing"
>> >
>> >to
>> >
>> >"reading a bit; understanding a bit"
>> >[And thanks to Denis to getting you out of your confusion-hole]
>> >
>> >So heres a small additional question set that I promise will more than repay
>> >you your time.
>> >
>> >Better done in python 2. But if you use python3, below replace
>> >range(10)
>> >with
>> >list(range(10))
>
><Other details skipped>
>
>
>1. You are reading too much
>2. Trying tooooo hard
>
>Think of riding a bicycle.
>Cant do it by reading many books on cycling -- thats 1.
>Nor by holding the handle so hard you tremble -- thats 2.
>
>Just relax a bit...
>And take small steps
>
>Chill... as Chris joked, no monster in the computer (or on this list!)

+1 for that remark. Talking about chill: grab a couple of beers (suggest: sixpack) and enjoy an evening of Python!



>

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


Thread

Re: I am out of trial and error again  Lists Albert-Jan Roskam <fomcl@yahoo.com> - 2014-10-24 09:42 -0700

csiph-web