How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions.
Simon Evans
musicalhacksaw at yahoo.co.uk
Sun May 11 15:05:13 EDT 2014
Thank you everyone who replied, for your help. Using the command prompt console, it accepts the first line of code, but doesn't seem to accept the second line. I have altered it a little, but it is not having any of it, I quote my console input and output here, as it can probably explain things better than I :-
--------------------------------------------------------------------------------
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Intel Atom>cd"c:\Beautiful Soup"
The filename, directory name, or volume label syntax is incorrect.
C:\Users\Intel Atom>cd "c:\Beautiful Soup"
c:\Beautiful Soup>python setup.py install.
File "setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: invalid syntax
c:\Beautiful Soup>python setup.py install"
File "setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: invalid syntax
c:\Beautiful Soup>
--------------------------------------------------------------------------------
I have tried writing "python setup.py install"
ie putting the statement in inverted commas, but the console still seems to reject it re:-
--------------------------------------------------------------------------------
c:\Beautiful Soup>"python setup. py install"
'"python setup. py install"' is not recognized as an internal or external comman
d,
operable program or batch file.
c:\Beautiful Soup>
--------------------------------------------------------------------------------
Again I hope you python practitioners can help. I am only on page 12, and have another 99 pages to go, so can only hope it gets easier.
More information about the Python-list
mailing list