Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: 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; 'root': 0.05; 'string.': 0.05; 'mentioned,': 0.07; 'paths': 0.07; "subject:' ": 0.07; 'exec': 0.09; 'linker': 0.09; 'spaces': 0.09; 'subject:2.7': 0.09; 'subject:How': 0.10; 'bug': 0.12; '(without': 0.16; 'cmd': 0.16; 'complained': 0.16; 'debugged': 0.16; 'hacked': 0.16; 'subject: \n ': 0.16; 'subject:access': 0.16; 'tab': 0.16; 'variants': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'rules': 0.22; 'header :User-Agent:1': 0.23; 'instance,': 0.24; 'parse': 0.24; 'visible': 0.24; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'chris': 0.29; 'especially': 0.30; 'code': 0.31; 'description,': 0.31; 'quotes': 0.31; 'file': 0.32; 'problem': 0.35; 'there': 0.35; 'version': 0.36; 'found.': 0.36; 'machine.': 0.36; 'tech': 0.36; 'convention': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; "couldn't": 0.39; 'embedded': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'till': 0.61; 'first': 0.61; 'complete': 0.62; 'such': 0.63; 'decided': 0.64; 'our': 0.64; 'received:74.208': 0.68; 'default': 0.69; 'completion': 0.78; 'received:74.208.4.194': 0.84 Date: Sat, 10 May 2014 22:16:32 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: How do I access 'Beautiful Soup' on python 2.7 or 3.4 , console or idle versions. References: <10313d81-01f2-48ed-951c-a5a6cccee65e@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:LWhrBe3/rjh8I7zcnGRt0EDdtorl6HeH2/GAdoUWRO8 m4zO2bJ2Lk3uOsvd6oLBXDDaCYuQfwTqYLgV+8cSO1E0gRST+/ lPxeDonrwgDZnWoMSd1NRmvUg7dI0xmcoypOMiwpl0St6VdY1S oDtlBIj0/HXsE90SXCbVqhsO4sVrbqWVEBRlgWbGOxJSpNjtJl kRxyaXXJoAAL2MDFjI4pbt4ZfVNLzr+aH7Bz/Gfn7kyGqrNIT3 jOopnsFhBPz8CZOrCyeNX3AcHWQ7MiezeIhjI6XPOOn7rpIRLP 1n5bHH6n7wdWh9/D42PhknlanxJ1GEyIEKIzbHxe10PQVrfow= = X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399774615 news.xs4all.nl 2845 [2001:888:2000:d::a6]:44771 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71282 On 05/10/2014 07:23 PM, Chris Angelico wrote: > There is a broad > convention that spaces in file names get protected with quotes, though > (for instance, tab completion will put quotes around them), so it's > not complete chaos. > "Complete chaos" is a pretty good description, especially since MS decided to make the default directory paths for many things have embedded spaces in them. And to change the rules from version to version of the OS. And it's not just the cmd line that's inconsistent; some exec function variants liberally parse unquoted names looking for some file that happens to match the first few 'words" of the string. I once debugged a customer problem (without actually seeing the machine), and told tech support to ask him if he had a file in the root directory called "program.exe." I turned out to be right, and the customer was sure I must have hacked into his machine. There was a bug in our code (missing quotes), masked by the liberality of the function I mentioned, that wasn't visible till such a file existed. The customer symptom? Our code complained that the linker couldn't be found. -- DaveA