Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #58937
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.005 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'python,': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'explicitly': 0.05; 'subject:Python': 0.06; 'float': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'tismer': 0.09; 'to)': 0.09; 'trailing': 0.09; 'python': 0.11; 'wrote': 0.14; '3.3,': 0.16; 'brackets.': 0.16; 'comma': 0.16; 'evaluating': 0.16; 'everybody.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'recipes': 0.16; 'set,': 0.16; 'subject:user': 0.16; 'toolbox': 0.16; 'tuple': 0.16; 'tutorials.': 0.16; 'vastly': 0.16; 'you",': 0.16; 'language': 0.16; 'wrote:': 0.18; 'everyone,': 0.19; 'pointed': 0.19; 'thoughts': 0.19; 'work,': 0.20; 'select': 0.22; 'programming': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'integer': 0.24; 'unicode': 0.24; 'initial': 0.24; '(or': 0.24; "i've": 0.25; 'shown': 0.26; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'leave': 0.29; 'words': 0.29; "doesn't": 0.30; 'needed.': 0.30; 'statement': 0.30; 'strongly': 0.30; 'along': 0.30; "i'm": 0.30; 'usually': 0.31; '(unless': 0.31; 'cgi': 0.31; 'division': 0.31; 'loads': 0.31; 'perl': 0.31; 'sets.': 0.31; 'anyone': 0.31; 'another': 0.32; 'everyone': 0.33; 'bugs': 0.33; 'guess': 0.33; 'comment': 0.34; "i'd": 0.34; 'could': 0.34; 'knowledge': 0.35; "can't": 0.35; 'classes': 0.35; 'tool': 0.35; 'convert': 0.35; 'but': 0.35; 'there': 0.35; "he's": 0.36; 'surely': 0.36; 'done': 0.36; 'useful': 0.36; "i'll": 0.36; 'possible': 0.36; 'should': 0.36; 'behind': 0.37; 'subject:New': 0.37; 'list': 0.37; 'level': 0.37; 'christian': 0.38; 'thank': 0.38; 'depends': 0.38; 'filled': 0.38; 'work?': 0.38; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'von': 0.38; 'rather': 0.38; 'little': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'received:org': 0.40; 'above,': 0.60; 'improved': 0.60; 'subject: / ': 0.60; 'mentioned': 0.61; 'world.': 0.61; 'john': 0.61; 'simply': 0.61; "you're": 0.61; 'you.': 0.62; 'show': 0.63; 'high': 0.63; 'kind': 0.63; 'myself': 0.63; 'him,': 0.64; 'love': 0.65; 'youtube': 0.65; 'believe': 0.68; 'yes': 0.68; 'experts.': 0.68; 'past.': 0.68; 'prompt': 0.68; 'online': 0.71; 'safe': 0.72; 'therefore': 0.72; 'sweet': 0.74; 'forth': 0.81; 'confusing': 0.84; 'message)': 0.84; 'suits': 0.84; 'thy': 0.84; 'zen': 0.84; 'good,': 0.91; 'hate': 0.91; 'reasoning': 0.91; 'outcome': 0.93; 'mr.': 0.98 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: New user's initial thoughts / criticisms of Python |
| Date | Sat, 09 Nov 2013 13:41:49 +0000 |
| References | <-JadnUirYuhUruPPnZ2dnUVZ8rSdnZ2d@bt.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-78-147-17-57.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
| In-Reply-To | <-JadnUirYuhUruPPnZ2dnUVZ8rSdnZ2d@bt.com> |
| 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.2295.1384004532.18130.python-list@python.org> (permalink) |
| Lines | 97 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1384004532 news.xs4all.nl 16002 [2001:888:2000:d::a6]:57515 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:58937 |
Show key headers only | View raw
On 09/11/2013 13:08, John von Horn wrote: > Hi Everyone, > > I'm Mr. Noobie here, I've just started easing into Python (2.7.4) and am > enjoying working along to some youtube tutorials. I've done a little > programming in the past. If it's possible I'd strongly recommend Python 3.3, there's lots of goodies in there like vastly improved unicode handling. > > I've just got a few thoughts I'd like to share and ask about: > > * Why not allow floater=float(int1/int2) - rather than floater=float > (int1)/float(int2)? Surely this depends on the outcome that you actually want or am I missing the obvious? Also note that integer division has been changed in Python 3. > > Give me a float (or an error message) from evaluating everything in the > brackets. Don't make me explicitly convert everything myself (unless I > want to) You usually have to in Python, it's down to strong typing. > > * No sign of a select .. case statement Loads of recipes online for this, ranging from specialised classes to my favourite which is spelt "dict". > > Another useful tool in the programmer's toolbox > > Select DayofWeek > > case "mon" > > ... > > end select > > * Call me pedantic by why do we need a trailing comma for a list of one > item? Keep it intuitive and allow lstShopping=[] or ["Bread"] or > ["Bread", "Milk","Hot Chocolate"] I don't like ["Bread",]. It bugs me. It should as it's not needed. I'd guess you're confusing a tuple of one item with a list of one item? > > Just some initial thoughts. I just wanted to know the reasoning behind > the above, be shown the shortcomings of my ignorance, pointed in the > right direction. Let the High Priests of Python come forth and speak wise > words and show me the ignorance of thy ways. Let my cup be filled to > overflowing with your kind knowledge and wisdom. Try "import this" from the Python interactive prompt for the Zen of Python. > > Is everyone happy with the way things are? Yes thank you. > Could anyone recommend a good, > high level language for CGI work? I can't comment as to whether or not Python is suitable for CGI work, I'll leave that to the experts. > Not sure if I'm going to be happy with > Perl (ahhh, get him, he's mentioned Perl and is a heretic!) or Python. I > would very much value any constructive criticism or insights. Fair enough, Python isn't for everybody. I love it simply because it suits my mind set, hence I have www.python.org bookmarked as "Home Sweet Home". I therefore believe it's safe to say that others hate it as it doesn't suit their mind sets. > > And a "thank you", ["sirs","madams"] but pls, not just ["sirs",] Reread what I wrote above :) > > JvH > And check out my signature!!! -- Python is the second best programming language in the world. But the best has yet to be invented. Christian Tismer Mark Lawrence
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
New user's initial thoughts / criticisms of Python John von Horn <j.h69@btinternet.com> - 2013-11-09 07:08 -0600
Re: New user's initial thoughts / criticisms of Python Ned Batchelder <ned@nedbatchelder.com> - 2013-11-09 05:22 -0800
Re: New user's initial thoughts / criticisms of Python Joshua Landau <joshua@landau.ws> - 2013-11-09 13:27 +0000
Re: New user's initial thoughts / criticisms of Python Jonathan <jtcegh@gmail.com> - 2013-11-09 14:44 -0800
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-10 10:29 +1100
Re: New user's initial thoughts / criticisms of Python MRAB <python@mrabarnett.plus.com> - 2013-11-10 00:50 +0000
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-10 11:54 +1100
Re: New user's initial thoughts / criticisms of Python Neil Cerutti <neilc@norwich.edu> - 2013-11-11 15:30 +0000
Re: New user's initial thoughts / criticisms of Python Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-11-10 13:24 +0100
Re: New user's initial thoughts / criticisms of Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-09 13:41 +0000
Re: New user's initial thoughts / criticisms of Python Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2013-11-09 16:24 +0200
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-10 01:27 +1100
Sandboxing Python [was Re: New user's initial thoughts / criticisms of Python] Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-09 15:25 +0000
Re: Sandboxing Python [was Re: New user's initial thoughts / criticisms of Python] Chris Angelico <rosuav@gmail.com> - 2013-11-10 02:32 +1100
Re: New user's initial thoughts / criticisms of Python Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-11-10 08:47 +0000
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-10 20:22 +1100
Re: New user's initial thoughts / criticisms of Python Ian Kelly <ian.g.kelly@gmail.com> - 2013-11-10 04:39 -0700
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-10 22:43 +1100
Re: New user's initial thoughts / criticisms of Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-10 12:12 -0500
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-11 10:29 +1100
Re: New user's initial thoughts / criticisms of Python Terry Reedy <tjreedy@udel.edu> - 2013-11-10 19:13 -0500
Re: New user's initial thoughts / criticisms of Python rusi <rustompmody@gmail.com> - 2013-11-09 07:38 -0800
Re: New user's initial thoughts / criticisms of Python Roy Smith <roy@panix.com> - 2013-11-09 10:56 -0500
Re: New user's initial thoughts / criticisms of Python rusi <rustompmody@gmail.com> - 2013-11-09 08:30 -0800
Re: New user's initial thoughts / criticisms of Python Rick Johnson <rantingrickjohnson@gmail.com> - 2013-11-10 21:36 -0800
Re: New user's initial thoughts / criticisms of Python Roy Smith <roy@panix.com> - 2013-11-11 09:01 -0500
Re: New user's initial thoughts / criticisms of Python rusi <rustompmody@gmail.com> - 2013-11-11 07:14 -0800
Re: New user's initial thoughts / criticisms of Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-11-11 21:05 -0500
Re: New user's initial thoughts / criticisms of Python Ethan Furman <ethan@stoneleaf.us> - 2013-11-12 14:38 -0800
Re: New user's initial thoughts / criticisms of Python John von Horn <j.h69@btinternet.com> - 2013-11-09 14:19 -0600
Re: New user's initial thoughts / criticisms of Python Tim Chase <python.list@tim.thechases.com> - 2013-11-09 14:39 -0600
Re: New user's initial thoughts / criticisms of Python Mark Janssen <dreamingforward@gmail.com> - 2013-11-09 12:33 -0800
Re: New user's initial thoughts / criticisms of Python Ned Batchelder <ned@nedbatchelder.com> - 2013-11-09 12:54 -0800
Re: New user's initial thoughts / criticisms of Python Mark Janssen <dreamingforward@gmail.com> - 2013-11-09 13:21 -0800
Re: New user's initial thoughts / criticisms of Python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-09 21:01 +0000
Re: New user's initial thoughts / criticisms of Python Tim Chase <python.list@tim.thechases.com> - 2013-11-09 15:20 -0600
Re: New user's initial thoughts / criticisms of Python lorenzo.gatti@gmail.com - 2013-11-11 02:09 -0800
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-11 21:39 +1100
Re: New user's initial thoughts / criticisms of Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-11 11:17 +0000
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-11 22:32 +1100
Re: New user's initial thoughts / criticisms of Python Mark Janssen <dreamingforward@gmail.com> - 2013-11-11 14:29 -0800
Re: New user's initial thoughts / criticisms of Python Robert Kern <robert.kern@gmail.com> - 2013-11-11 11:53 +0000
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-11 23:07 +1100
Re: New user's initial thoughts / criticisms of Python Joshua Landau <joshua@landau.ws> - 2013-11-11 20:50 +0000
Re: New user's initial thoughts / criticisms of Python Chris Angelico <rosuav@gmail.com> - 2013-11-12 09:21 +1100
Re: New user's initial thoughts / criticisms of Python Joshua Landau <joshua@landau.ws> - 2013-11-12 01:53 +0000
csiph-web