Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Joel Goldstick Newsgroups: comp.lang.python Subject: Re: Promoting Python Date: Tue, 5 Apr 2016 08:06:02 -0400 Lines: 61 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de 7gXKnmACwcyD7JpnTutLQgF7+StAWVxi5Zqv9lfdCgjA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.071 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'subject:Python': 0.05; 'cc:addr:python-list': 0.09; 'blocked': 0.09; 'python:': 0.09; 'url:blog': 0.10; 'python': 0.10; 'python.': 0.11; '2016': 0.16; 'pithy': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'rem': 0.16; 'wrote:': 0.16; 'duplicate': 0.18; 'versions': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'claiming': 0.22; 'color,': 0.22; 'exec': 0.22; 'am,': 0.23; 'examples': 0.24; 'header:In-Reply-To:1': 0.24; 'example': 0.26; 'message- id:@mail.gmail.com': 0.27; 'dos': 0.27; 'sensible': 0.29; 'print': 0.30; 'url:mailman': 0.30; 'code': 0.30; 'hotmail': 0.31; 'maybe': 0.33; 'problem': 0.33; 'url:python': 0.33; 'downloading': 0.33; 'url:listinfo': 0.34; 'tue,': 0.34; 'except': 0.34; 'worked': 0.34; 'previous': 0.34; 'received:google.com': 0.35; 'next': 0.35; 'could': 0.35; 'displays': 0.35; 'knowledge': 0.35; 'step': 0.36; 'too': 0.36; 'instead': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'basic': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'expect': 0.37; 'say': 0.37; 'received:209': 0.38; 'stuff': 0.38; 'someone': 0.38; 'files': 0.38; 'received:209.85.214': 0.39; 'url:mail': 0.40; 'space': 0.40; 'some': 0.40; 'software': 0.40; 'your': 0.60; 'show': 0.62; '2000': 0.63; 'more': 0.63; 'dont': 0.64; 'url:co': 0.65; 'circle': 0.66; 'color': 0.67; 'url:info': 0.71; 'advantages': 0.72; 'amateur': 0.84; 'avg': 0.84; 'fairness': 0.84; 'liberty': 0.84; 'utc+5:30,': 0.84; 'to:none': 0.91; 'colour': 0.91; 'grew': 0.91; 'joel': 0.91 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:cc :content-transfer-encoding; bh=xaexvXIHJQ9/kUXE//j2XKAkNh8rqjhN/Sv+XTH57Ts=; b=jDIz6e8GOAdvB+B74bzBm81XeYH4mpPAEU3zrKGCblNA/uQGITz4WW48Cv0RagaRPJ 6hAqVjMT2Q8Voi6n1itoT7me/MXgw3OB6i+tuY2LFcZcKu+W2vp/fGv4nmvjfV9O6Df7 wunWtCBo5F5/Hmy+pdH5kZMAYQM7nvKOAeZmsS/JFQQGfcWUA/B872KQa0GefYJrzTv7 W0gIkES5l2GMuoL8hiDl1ilExbkIxYjf/LXKimgQHKE1iqTteyzDmmDkaArftub0idEx b+gKJK3HEk0tWhqsZ6LblHUDXILWGmLT2GVAkgF9E6wMEFoygiJCxdFEOv2f1S7CbzP+ WW2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-transfer-encoding; bh=xaexvXIHJQ9/kUXE//j2XKAkNh8rqjhN/Sv+XTH57Ts=; b=NGscfKUgGRJ5ivmRxJV1/TCm+o9egDSfQSYcVsJ6588PFIuyQ/ho4X2BTcjEc0HaHP aoxZQfOgYS1OoBWdXiA6FdLgQ9/pdMwB3dIkqsnkJPg7SXp972/zfxKrtZfmd0RZSzFK 8Gyjmo8f7O3KodJkxTeNDk+C8IRSPJmjhYBYUk4T0fneXicSXdKJD2nKO6VimfHq9wXM L3cnSM7dL8MEEgHIiC7/1wcoGf00ON9zJ8u0BzTbtwXb16D4lk7FDChKwJGOwdDirMwS GAsb+rG/sAw8jnGlTz/WMW5Wz1nHGiGoho392gkMiZr0e6U8veQ35/zEs3HuN3tLBpH1 ffuA== X-Gm-Message-State: AD7BkJIZ3qBX7o/2e7j9xaiNj4d2psrf0OuTjXXF13lOUE/Hzbx/p++1hzADuROkpRBr36RD2+FjK1TxxH+l6Q== X-Received: by 10.60.115.33 with SMTP id jl1mr13989718oeb.12.1459857962555; Tue, 05 Apr 2016 05:06:02 -0700 (PDT) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: Xref: csiph.com comp.lang.python:106510 On Tue, Apr 5, 2016 at 3:31 AM, Rustom Mody wrote: > On Tuesday, April 5, 2016 at 12:53:13 PM UTC+5:30, Gordon( Hotmail ) wrot= e: >> I am struggling to understand the basic principles of Python having spen= t many years as a pure Amateur tinkering with a variety of BASIC as you ca= n see on my site at http://www.sigord.co.uk/ I think you will agree all su= ch versions of Basic I have used are far easier to understand than Python. = Though with my limited knowledge I accept Python may have many advantages o= ver say Liberty Basic etc. >> >> The problem I am finding is most of the sites claiming to help understan= d Python devote far too much space bragging about the wonders of Python ins= tead of concentrating how to make sensible use of it. For example I struggl= e to find examples of such as below if you could please help me. If I manag= e to duplicate some of my efforts on my site with Python I will be happy to= upload the code to my site. I will also try to upload working exec files o= f such also, except my previous attempts at downloading the relevant softwa= re was blocked by AVG software as risky. >> >> Gordon >> >> >> Liberty Basic >> for n =3D 32 to 255: print n;chr$(n) : next n > > I grew up on BBC basic in 1984. Not used thereafter. > > Your first one is (I guess) this in python: > >>>> for i in range(32,127): > ... print chr(i), > ... > ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < =3D > ? @ A B C= D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h = i j k l m n o p q r s t u v w x y z { | } ~ > >> >> REM BBC Basic >> FOR c =3D 1 TO 15 : COLOUR c >> PRINT "Color ";c >> NEXT c >> >> REM BBC Basic >> c =3D 0 >> FOR x =3D 80 TO 2000 STEP 96 >> GCOL c: CIRCLE FILL x,500,50 : c =3D c + 1 >> NEXT x > > If you tell us some more of what color, gcol etc do someone will likely s= how you > Though in all fairness I dont expect it to be as pithy as the BASIC > -- > https://mail.python.org/mailman/listinfo/python-list The color stuff has to do with DOS based 16 color displays I think. Or maybe it worked with other 16 color displays of the time --=20 Joel Goldstick http://joelgoldstick.com/blog http://cc-baseballstats.info/stats/birthdays