Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85957

Re: urgent help

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'warnings': 0.04; 'encoding': 0.05; 'subject:help': 0.08; 'lawrence': 0.09; 'meaningful': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'language.': 0.14; 'magic': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'pass': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply- To:1': 0.27; 'leave': 0.29; 'errors': 0.30; 'code': 0.31; 'requests': 0.31; "skip:' 10": 0.31; 'file': 0.32; '(most': 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; 'received:org': 0.40; 'letters': 0.60; 'our': 0.64; 'charset:windows-1252': 0.65; '1st': 0.74; 'subject.': 0.74; 'transfer': 0.82; '[error': 0.84; 'alone.': 0.84; 'subject:urgent': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: urgent help
Date Fri, 20 Feb 2015 08:40:44 +0000
References <fa98ae33-02f9-4797-904f-9b1bd8b4e8f9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-92-24-222-48.ppp.as43234.net
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <fa98ae33-02f9-4797-904f-9b1bd8b4e8f9@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18915.1424421672.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1424421672 news.xs4all.nl 2962 [2001:888:2000:d::a6]:56995
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85957

Show key headers only | View raw


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 <module>
>      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 :)

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

urgent help ismahameed@gcuf.edu.pk - 2015-02-20 00:24 -0800
  Re: urgent help Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-20 08:40 +0000
    Re: urgent help ms.isma222@gmail.com - 2015-02-20 16:14 -0800
      Re: urgent help ms.isma222@gmail.com - 2015-02-20 16:16 -0800
        Re: urgent help ms.isma222@gmail.com - 2015-02-20 16:20 -0800
          Re: urgent help Dave Angel <davea@davea.name> - 2015-02-20 19:45 -0500
          Re: urgent help MRAB <python@mrabarnett.plus.com> - 2015-02-21 01:08 +0000
        Re: urgent help MRAB <python@mrabarnett.plus.com> - 2015-02-21 01:05 +0000
      Re: urgent help MRAB <python@mrabarnett.plus.com> - 2015-02-21 01:01 +0000
      Re: urgent help Denis McMahon <denismfmcmahon@gmail.com> - 2015-02-21 03:44 +0000

csiph-web