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


Groups > comp.lang.python > #85957

Re: urgent help

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: urgent help
Date 2015-02-20 08:40 +0000
References <fa98ae33-02f9-4797-904f-9b1bd8b4e8f9@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.18915.1424421672.18130.python-list@python.org> (permalink)

Show all headers | 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