-Ursprüngliche Nachricht-
Von: Danny Yoo [mailto:d...@hashcollision.org]
Gesendet: Freitag, 1. Januar 2016 19:17
An: Alan Gauld
Cc: marcus lütolf ; Python Tutor Mailing List
Betreff: Re: [Tutor] trouble with beautiful soup
According to the documentation for Beautiful Soup 3
: AW: [Tutor] trouble with beautiful soup
On 01/01/16 10:21, marcus lütolf wrote:
> But I get a traceback if I try to run beautifulsoup in Python:
>
> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC
> v.1500 32 bit (Intel)] on win32 Type "copyright",
According to the documentation for Beautiful Soup 3,
http://www.crummy.com/software/BeautifulSoup/bs3/documentation.html
you must use one of the following:
from BeautifulSoup import BeautifulSoup # For processing HTML
OR
from BeautifulSoup import BeautifulStoneSoup #
On 01/01/16 10:21, marcus lütolf wrote:
> But I get a traceback if I try to run beautifulsoup in Python:
>
> Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32
> bit (Intel)] on win32
> Type "copyright", "credits" or "license()" for more information.
> By the way, I just n
--
-Ursprüngliche Nachricht-
Von: Tutor [mailto:tutor-bounces+marcus.luetolf=bluewin...@python.org] Im
Auftrag von Alan Gauld
Gesendet: Donnerstag, 31. Dezember 2015 18:54
An: tutor@python.org
Betreff: Re: [Tutor] trouble with beautiful
On 31/12/15 13:19, marcus lütolf wrote:
> c:\Python27\Scripts>pip install beutifulsoup
Is that really how you spell it?
Although I'd expect a different error if it isn't
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow
Please don't top post, it makes following threads extremely difficult.
On 31/12/2015 13:19, marcus lütolf wrote:
Dear Pythonistas,
finally I could install BeautifulSoup on my laptop. Please forget my most
recent mail below.
But if I try the same procedure on my pc i get this and I have no idea
tor [mailto:tutor-bounces+marcus.luetolf=bluewin...@python.org] Im
Auftrag von Mark Lawrence
Gesendet: Montag, 28. Dezember 2015 20:23
An: tutor@python.org
Betreff: Re: [Tutor] trouble with beautiful soup
On 28/12/2015 17:24, marcus lütolf wrote:
> Dear Pythonistas
> Hi Danny,
>
> I
On 30/12/15 11:00, marcus lütolf wrote:
> Dear Pythonistas,
> o.K., thats what I get from the command line:
>
> Microsoft Windows [Version 10.0.10586]
> (c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.
>
> C:\Users\marcus>c:\Python27\Scripts>dir pip*
OK, Thanks for the cut 'n paste that
in...@python.org] Im
Auftrag von Mark Lawrence
Gesendet: Montag, 28. Dezember 2015 20:23
An: tutor@python.org
Betreff: Re: [Tutor] trouble with beautiful soup
On 28/12/2015 17:24, marcus lütolf wrote:
> Dear Pythonistas
> Hi Danny,
>
> I am grateful for your precise instruchtions.
&g
On 28/12/2015 17:24, marcus lütolf wrote:
Dear Pythonistas
Hi Danny,
I am grateful for your precise instruchtions.
Yes ideed, I tried all of the steps mentioned below which I shoudn't have done
fumling around with this task now for hours and days.
I even tried to do it on may laptop using W7 6
On 28/12/15 17:24, marcus lütolf wrote:
> ... (I can't cut and paste from the command window).
>
Actually you can :-)
The secret is in the drop down menu from the icon
in the top left corner of the window. You should find
an Edit option which has a sub menu that allows you
to select/copy text.
rs.
Regards, Marcus.
--
-Ursprüngliche Nachricht-
Von: Danny Yoo [mailto:d...@hashcollision.org]
Gesendet: Samstag, 26. Dezember 2015 22:00
An: marcus lütolf
Cc: python mail list
Betreff: Re: [Tutor] trouble with beautif
On 26/12/2015 11:23, marcus lütolf wrote:
replacing „beautifulsoup“ by „bs4“ in my code (2nd line) does not relieve the
trace back I get.
>
In my directory C:\Python27\Lib I find the folder „beautifulsoup4-4-4-1“ in
first place and the file „setup.py“ further down
Upon opening „beautifulsoup4-
On Sat, Dec 26, 2015 at 3:23 AM, marcus lütolf
wrote:
> Hi Walter, dear pythonistas,
>
> thank you !
> replacing „beautifulsoup“ by „bs4“ in my code (2nd line) does not relieve the
> trace back I get.
>
>
>
> In my directory C:\Python27\Lib I find the folder „beautifulsoup4-4-4-1“ in
> first pla
my trouble ?
By the way, I am using W10 64 bit as OS.
Regards, Marcus.
Von: Walter Prins [mailto:wpr...@gmail.com]
Gesendet: Samstag, 26. Dezember 2015 03:13
An: marcus lütolf
Cc: python mail list
Betreff: Re: [Tutor] trouble with beautiful soup
Hi,
On 25 December 2015 at 20:28
Hi,
On 25 December 2015 at 20:28, Walter Prins wrote:
> As mentioned previously, for BeautifulSoup 4, the package name is "bt4",
> so you would do
>
> import bt4
>
> to test it.
>
Of course, that should have been "bs4" not "bt4". Apologies.
W
___
Tu
Hi
On 25 December 2015 at 12:32, marcus lütolf
wrote:
> dear pythonistas, dear contributors Danny and Walter,
>
> I tried all instructions given to my without any success:
> If I type the install commands in the command line - even after having
> installed pip - I invariably get the notion that
On 25/12/15 12:32, marcus lütolf wrote:
> dear pythonistas, dear contributors Danny and Walter,
>
> I tried all instructions given to my without any success:
> If I type the install commands in the command line
Which command line are you using? The pip command is not
a python command but a shell
s mail.
Bless you, Marcus.
-Ursprüngliche Nachricht-
Von: Jos Kerc [mailto:josk...@gmail.com]
Gesendet: Donnerstag, 24. Dezember 2015 19:50
An: marcus lütolf
Cc: tutor@python.org
Betreff: Re: [Tutor] trouble with beautiful soup
Hi, see below.
On Thu, Dec 24, 2015 at 6:21 PM, marcus l
Hi,
On 24 December 2015 at 17:21, marcus lütolf
wrote:
> I am getting the following trace back without beeing prompted for an input:
>
> Traceback (most recent call last):
> File "C:/Python27/Beautiful Soup_ex1.py", line 2, in
> from beautifulspoup import *
> ImportError: No module named
> I have installed and unzipped etc. the latest file from www.crummy.com many
> times.
> If I click setup.py the command window appears only a fraction of a second.
> ??
Ah, you're on Windows. I missed this detail earlier.
Double-clicking setup.py isn't enough to install that module. You
n
de by
relieved the trace back mentioned in my previous mail.
Bless you, Marcus.
-Ursprüngliche Nachricht-
Von: Jos Kerc [mailto:josk...@gmail.com]
Gesendet: Donnerstag, 24. Dezember 2015 19:50
An: marcus lütolf
Cc: tutor@python.org
Betreff: Re: [Tutor] trouble with beautiful sou
The error message suggests that something is misspelled. Let's look
at the message again:
>> Traceback (most recent call last):
>> File "C:/Python27/Beautiful Soup_ex1.py", line 2, in
>> from beautifulspoup import *
>> ImportError: No module named beautifulspoup
A "spoup" is, according t
Hi, see below.
On Thu, Dec 24, 2015 at 6:21 PM, marcus lütolf
wrote:
> dear pythonistas,
> for hours I'am traying to use Beautiful Soup for scraping some websites as an
> exercise.
> But each time I run the code below:
>
import urllib
from BeautifulSpoup import *
>
url = raw_inpu
dear pythonistas,
for hours I'am traying to use Beautiful Soup for scraping some websites as an
exercise.
But each time I run the code below:
>>> import urllib
>>> from BeautifulSpoup import *
>>> url = raw_input( 'Enter -')
>>> html = urllib.urlopen(url).read()
>>> soup = B
26 matches
Mail list logo