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


Groups > comp.lang.python > #80161

Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'syntax': 0.04; 'interpreter': 0.05; 'output': 0.05; 'context': 0.07; 'referring': 0.07; 'alter': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; '3:27': 0.16; 'angle': 0.16; 'bash,': 0.16; 'brackets': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'quoted': 0.16; 'saying.': 0.16; 'spacing': 0.16; 'subject: \n ': 0.16; 'subject:accessing': 0.16; 'syntaxerror:': 0.16; 'using,': 0.16; 'wrote:': 0.18; 'normally': 0.19; 'command': 0.22; 'input': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'text,': 0.24; 'cc:2**0': 0.24; 'subject:/': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'url:wiki': 0.31; '"",': 0.31; '>>>>': 0.31; 'subject:these': 0.31; 'url:wikipedia': 0.31; 'file': 0.32; 'run': 0.32; 'text': 0.33; 'beginning': 0.33; 'subject:from': 0.34; 'received:google.com': 0.35; 'url:org': 0.36; 'should': 0.36; 'nov': 0.38; 'whatever': 0.38; 'previous': 0.38; 'sure': 0.39; 'how': 0.40; 'providing': 0.61; "you're": 0.61; 'beautiful': 0.68; 'invalid': 0.68; 'reads': 0.68; 'console,': 0.84; 'to:none': 0.92; 'from.': 0.93
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-type; bh=oZ2iMl3LcjNzQbfkc663XK1i7O/Tio4elFIn8pCtjhI=; b=wiiLo5Zcfn30cZdj20FqBgxCMH3HLYcZmZJVBC1cY7ESu5AJqxR0klpqBLn1brxWLN SAtXTa+eAYHt4m/n+uYg/yrxQvgFpczP8embLGv3PJW+Il+HtXUy7jfiCBX+wsFYH9Hy V1lV+bmp6yfkMTI+QTOUvczKDZnXJNhSR5GPRyQWANOUEtRiAnJc2Sf6D/6C1zn2ojAg odQ24nHjuHOeGyZei1Jp3k7H9fWWI21BFoT/U7knkrQTlNc2pPY1mFh2MVoKheV41dPs 32vOswnSbW+5gk7WK3ZUbfjWMxP//00OyQkrgqmA7S1yi5/2zBqbO7SpebCt7RONtZjD /LNg==
MIME-Version 1.0
X-Received by 10.50.136.134 with SMTP id qa6mr17740239igb.2.1415032888102; Mon, 03 Nov 2014 08:41:28 -0800 (PST)
In-Reply-To <20d86ab1-dfe0-46c6-a5fe-065392766e10@googlegroups.com>
References <9580043d-a75b-4b87-9a21-1b9c0347671f@googlegroups.com> <20d86ab1-dfe0-46c6-a5fe-065392766e10@googlegroups.com>
Date Tue, 4 Nov 2014 03:41:28 +1100
Subject Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.15435.1415032891.18130.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415032891 news.xs4all.nl 2862 [2001:888:2000:d::a6]:51349
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80161

Show key headers only | View raw


On Tue, Nov 4, 2014 at 3:27 AM, Simon Evans <musicalhacksaw@yahoo.co.uk> wrote:
> I input 'pip install html5lib' to the Python 2.7 console and got :
>
>>>> pip install html5lib
>   File "<stdin>", line 1
>     pip install html5lib
>               ^
> SyntaxError: invalid syntax
>>>>

This should be run from your command interpreter - cmd.exe, bash, or
whatever you normally run programs from.

> I am not sure what you mean about 'single line paragraphs'. I put my text
>
> into double line spacing in my last missive, I left the code input/ output
>
> in single line spacing as that is how it reads from the console, after all
>
> who am I to alter it? Regarding 'context' if you are referring to the text
>
> I am using, it is from 'Getting Started in Beautiful Soup' by Vineeth G.
>
> Nair.

Why the double line spacing? I don't get that... and I think that's
what was meant.

"Context" in this context means quoted text from previous posts.

http://en.wikipedia.org/wiki/Posting_style#Interleaved_style

The parts with the angle brackets at the beginning are quoted text,
providing context for what you're saying.

ChrisA

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


Thread

Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-01 07:17 -0700
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Terry Reedy <tjreedy@udel.edu> - 2014-11-01 16:43 -0400
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 06:58 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 15:27 +0000
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Terry Reedy <tjreedy@udel.edu> - 2014-11-02 15:08 -0500
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Ned Batchelder <ned@nedbatchelder.com> - 2014-11-02 15:43 -0500
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 07:23 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 15:30 +0000
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 09:51 -0800
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 11:22 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 19:39 +0000
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 13:59 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 22:31 +0000
    Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7 Chris Angelico <rosuav@gmail.com> - 2014-11-03 10:33 +1100
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-02 14:20 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-02 22:34 +0000
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-03 08:27 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7 Chris Angelico <rosuav@gmail.com> - 2014-11-04 03:41 +1100
  Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Simon Evans <musicalhacksaw@yahoo.co.uk> - 2014-11-03 13:28 -0800
    Re: Installing Parsers/Tree Builders to, and accessing these packages from  Python2.7 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-03 21:42 +0000

csiph-web