Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'warnings': 0.04; 'encoding': 0.05; '21,': 0.07; 'subject:help': 0.08; 'friday,': 0.09; 'lawrence': 0.09; 'meaningful': 0.09; 'errors:': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'ioerror:': 0.16; 'magic': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'mode,': 0.16; 'path.': 0.16; 'received:192.168.1.4': 0.16; 'soup': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'instead.': 0.24; 'pass': 0.26; 'skip:" 20': 0.27; 'skip:_ 20': 0.27; 'header:In-Reply-To:1': 0.27; 'leave': 0.29; 'absolute': 0.30; 'errors': 0.30; 'code': 0.31; 'requests': 0.31; "skip:' 10": 0.31; 'directory,': 0.31; 'file': 0.32; 'open': 0.33; '(most': 0.33; 'skip:b 30': 0.33; "i'll": 0.36; 'changing': 0.37; 'skip:o 20': 0.38; 'to:addr :python-list': 0.38; 'recent': 0.39; 'does': 0.39; '(from': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'letters': 0.60; 'skip:o 30': 0.61; "you're": 0.61; 'email addr:gmail.com': 0.63; 'such': 0.63; '20,': 0.68; '1st': 0.74; 'subject.': 0.74; 'transfer': 0.82; '2015': 0.84; '[error': 0.84; 'alone.': 0.84; 'directory:': 0.84; 'subject:urgent': 0.91 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=Ms/c6gqe c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=Vhvw94NMJWsA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=pGLkceISAAAA:8 a=uPZiAMpXAAAA:8 a=fcvYqiJhlgK7ImFMVlwA:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett@:2500 Date: Sat, 21 Feb 2015 01:08:04 +0000 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: urgent help References: <87a659c8-2b37-4c70-92c1-b2f487eb9ebc@googlegroups.com> <63e4977f-bf58-4c3b-9706-d9e3bbd13fb2@googlegroups.com> <73f29253-aeea-4220-b89c-59e61cbfb418@googlegroups.com> In-Reply-To: <73f29253-aeea-4220-b89c-59e61cbfb418@googlegroups.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424480889 news.xs4all.nl 2924 [2001:888:2000:d::a6]:54088 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:86003 On 2015-02-21 00:20, ms.isma222@gmail.com wrote: > On Saturday, February 21, 2015 at 8:17:06 AM UTC+8, ms.is...@gmail.com wrote: >> On Saturday, February 21, 2015 at 8:14:43 AM UTC+8, ms.is...@gmail.com wrote: >> > On Friday, February 20, 2015 at 4:41:57 PM UTC+8, Mark Lawrence wrote: >> > > On 20/02/2015 08:24, ismahameed@gcuf.edu.pk wrote: >> > > >> > > Would you please give your requests a meaningful subject. >> > > >> > > > sir these errors whats mean by it >> > > > warning (from warnings module): >> > > > File "D:\PHD 1st semester\scripts\NetDoctor\getNetDoctor.py", line 18 >> > > > br.set_handle_gzip(True) >> > > > UserWarning: gzip transfer encoding is experimental! >> > > >> > > See >> > > http://stackoverflow.com/questions/21415450/what-does-mechanize-br-set-handle-gzip-do >> > > >> > > > >> > > > Traceback (most recent call last): >> > > > File "D:\PHD 1st semester\scripts\NetDoctor\getNetDoctor.py", line 106, in >> > > > getLinksComlicated() >> > > > File "D:\PHD 1st semester\scripts\NetDoctor\getNetDoctor.py", line 80, in getLinksComlicated >> > > > for file in os.listdir(dir)[1:]: >> > > > WindowsError: [Error 3] The system cannot find the path specified: 'complicated/*.*' >> > > > >> > > >> > > Either the code needs changing so it does a wildcard search or you need >> > > to pass in 'complicated' alone. Seeing those three magic letters P H D >> > > I'll leave you to research the former :) >> > > >> > sir what mean by the following errors: >> > Traceback (most recent call last): >> > File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in >> > links = getExpertInfoLinks() >> > File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 119, in getExpertInfoLinks >> > fid = open("health-experts.htm","rb") >> > IOError: [Errno 2] No such file or directory: 'health-experts.htm' >> >> File "D:\My Documents\Desktop\scripts\BeOk\getBeOKExperts.py", line 149, in >> getForums() >> File "D:\My Documents\Desktop\scripts\BeOk\getBeOKExperts.py", line 143, in getForums >> soup = BeautifulSoup(open(file,"r").read()) >> File "C:\Python27\lib\codecs.py", line 878, in open >> file = __builtin__.open(filename, mode, buffering) >> IOError: [Errno 2] No such file or directory: 'links.htm > > Traceback (most recent call last): > File "D:\My Documents\Desktop\scripts\NetDoctor\getNetDoctor.py", line 106, in > getLinksComlicated() > File "D:\My Documents\Desktop\scripts\NetDoctor\getNetDoctor.py", line 80, in getLinksComlicated > for file in os.listdir(dir)[1:]: > WindowsError: [Error 3] The system cannot find the path specified: 'complicated/*.*' > You're giving listdir a wildcarded path. Either give it just the (absolute) path of the directory, or use 'glob' (with an absolute path!) instead.