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

References <9580043d-a75b-4b87-9a21-1b9c0347671f@googlegroups.com> <20d86ab1-dfe0-46c6-a5fe-065392766e10@googlegroups.com>
Date 2014-11-04 03:41 +1100
Subject Re: Installing Parsers/Tree Builders to, and accessing these packages from Python2.7
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15435.1415032891.18130.python-list@python.org> (permalink)

Show all headers | 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