Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #85956 > unrolled thread
| Started by | ismahameed@gcuf.edu.pk |
|---|---|
| First post | 2015-02-20 00:24 -0800 |
| Last post | 2015-02-21 03:44 +0000 |
| Articles | 10 — 6 participants |
Back to article view | Back to comp.lang.python
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
| From | ismahameed@gcuf.edu.pk |
|---|---|
| Date | 2015-02-20 00:24 -0800 |
| Subject | urgent help |
| Message-ID | <fa98ae33-02f9-4797-904f-9b1bd8b4e8f9@googlegroups.com> |
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!
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/*.*'
[toc] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2015-02-20 08:40 +0000 |
| Message-ID | <mailman.18915.1424421672.18130.python-list@python.org> |
| In reply to | #85956 |
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
[toc] | [prev] | [next] | [standalone]
| From | ms.isma222@gmail.com |
|---|---|
| Date | 2015-02-20 16:14 -0800 |
| Message-ID | <87a659c8-2b37-4c70-92c1-b2f487eb9ebc@googlegroups.com> |
| In reply to | #85957 |
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 <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
sir what mean by the following errors:
Traceback (most recent call last):
File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
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'
[toc] | [prev] | [next] | [standalone]
| From | ms.isma222@gmail.com |
|---|---|
| Date | 2015-02-20 16:16 -0800 |
| Message-ID | <63e4977f-bf58-4c3b-9706-d9e3bbd13fb2@googlegroups.com> |
| In reply to | #85997 |
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 <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
>
>
> sir what mean by the following errors:
> Traceback (most recent call last):
> File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
> 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 <module>
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
[toc] | [prev] | [next] | [standalone]
| From | ms.isma222@gmail.com |
|---|---|
| Date | 2015-02-20 16:20 -0800 |
| Message-ID | <73f29253-aeea-4220-b89c-59e61cbfb418@googlegroups.com> |
| In reply to | #85998 |
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 <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
> >
> >
> > sir what mean by the following errors:
> > Traceback (most recent call last):
> > File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
> > 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 <module>
> 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 <module>
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/*.*'
[toc] | [prev] | [next] | [standalone]
| From | Dave Angel <davea@davea.name> |
|---|---|
| Date | 2015-02-20 19:45 -0500 |
| Message-ID | <mailman.18936.1424479538.18130.python-list@python.org> |
| In reply to | #85999 |
On 02/20/2015 07:20 PM, 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 <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
>>>
>>>
>>> sir what mean by the following errors:
>>> Traceback (most recent call last):
>>> File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
>>> 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 <module>
>> 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 <module>
> 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/*.*'
>
Those errors all mean the same thing. You've got a bug in your code.
But since you don't show your code, all we can do is guess. All of
those refer to missing files. The first two are missing when you try to
open them, so we can be pretty sure they're not in the current directory.
In the third case, you're calling listdir() with a directory name with
asterisks in it. And those aren't legal in Windows. Fix the directory
name, perhaps to "Z:/Your_documents/someplace/else/complicated/" Of
course, you probably don't ahve that directory either, but it's more
likely than the one you specified.
--
DaveA
[toc] | [prev] | [next] | [standalone]
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Date | 2015-02-21 01:08 +0000 |
| Message-ID | <mailman.18939.1424480889.18130.python-list@python.org> |
| In reply to | #85999 |
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 <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 :)
>> > >
>> > sir what mean by the following errors:
>> > Traceback (most recent call last):
>> > File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
>> > 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 <module>
>> 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 <module>
> 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.
[toc] | [prev] | [next] | [standalone]
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Date | 2015-02-21 01:05 +0000 |
| Message-ID | <mailman.18938.1424480737.18130.python-list@python.org> |
| In reply to | #85998 |
On 2015-02-21 00:16, ms.isma222@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 <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 :)
>> >
>>
>> sir what mean by the following errors:
>> Traceback (most recent call last):
>> File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
>> 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 <module>
> 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
>
It looks like the same problem, and the same solution, as the previous
one, i.e. try an absolute path instead of a relative path.
[toc] | [prev] | [next] | [standalone]
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Date | 2015-02-21 01:01 +0000 |
| Message-ID | <mailman.18937.1424480685.18130.python-list@python.org> |
| In reply to | #85997 |
On 2015-02-21 00:14, ms.isma222@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 <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 :)
>>
>
> sir what mean by the following errors:
> Traceback (most recent call last):
> File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line 143, in <module>
> 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'
>
It means that it can't find that file, either because it doesn't exist,
or because it's not in the directory that it's looking in.
Notice that it's a relative path (it doesn't start with a drive
letter), so it's looking for the file in the current directory.
Try opening the file with an absolute path instead.
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Date | 2015-02-21 03:44 +0000 |
| Message-ID | <mc8uva$pba$2@dont-email.me> |
| In reply to | #85997 |
On Fri, 20 Feb 2015 16:14:18 -0800, ms.isma222 wrote:
> sir what mean by the following errors:
> Traceback (most recent call last):
> File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line
> 143, in <module>
> links = getExpertInfoLinks()
> File "D:\My Documents\Desktop\scripts\WebMD\getWebMDExperts.py", line
> 119, in getExpertInfoLinks
> fid = open("health-experts.htm","rb")
This line tried to open a file called health-experts.htm
> IOError: [Errno 2] No such file or directory: 'health-experts.htm'
This error says the file does not exist.
--
Denis McMahon, denismfmcmahon@gmail.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web