On 2014-09-13 05:53:37 +, Chris Angelico said:
If you're using sys.argv, you need to provide arguments to your
script.
Or check sys.argv's length ensuring that an element is there before
accessing it.
--
Andrea
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 12 Sep 2014 22:47:57 -0700, daoudimca wrote:
Dear friends when i used import urllib, re, sys
symbol = sys.argv[1] this function is show -- symbol = sys.argv[1]
IndexError: list index out of range
kindly find the solution of this
You are trying to reference more elements than
Dear friends when i used
import urllib, re, sys
symbol = sys.argv[1] this function is show -- symbol = sys.argv[1]
IndexError: list index out of range
kindly find the solution of this
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, Sep 13, 2014 at 3:47 PM, daoudi...@gmail.com wrote:
Dear friends when i used
import urllib, re, sys
symbol = sys.argv[1] this function is show -- symbol = sys.argv[1]
IndexError: list index out of range
kindly find the solution of this
If you're using sys.argv, you need to
On Feb 28, 4:57 pm, Mathieu CLERICI mathieu.cler...@gmail.com wrote:
Hi,
I'm trying to embed python in a c++ program.
I have compiled python32.lib with msvc 2010 targetting 32bits, i link
it with my program wich is also 32bit.
I get an error when calling Py_Initialize() : no codec search
Hi,
I'm trying to embed python in a c++ program.
I have compiled python32.lib with msvc 2010 targetting 32bits, i link
it with my program wich is also 32bit.
I get an error when calling Py_Initialize() : no codec search
functions registered: can't find encoding
Py_FileSystemDefaultEncoding
Precisions : I'm trying to embed python 3.2 release.
--
http://mail.python.org/mailman/listinfo/python-list
Changes by Georg Brandl ge...@python.org:
--
title: 2755 - failure to find drive error message when trying to install
something unspecified
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9624
.py, line 24, in module
f0.close()
AttributeError: 'list' object has no attribute 'close'*
please help to to find the error.
or suggest some simpler or better way
note:
1)file temp9 is already exist
2)this programme is giving me all my outputs, but at the end of the out
..its giving me
()*
and this programme is givving me this error :
*Traceback (most recent call last):
File ./temporary1.py, line 24, in module
f0.close()
AttributeError: 'list' object has no attribute 'close'*
please help to to find the error.
or suggest some simpler or better way
note:
1)file temp9
On Fri, 10 Jul 2009 10:41:03 +0100, jhinak sen jhinak@gmail.com
wrote:
hi,
i am a beginner in python language,
i am trying with this programme :
to find the addition and mean from a data set in a file and writing the
mean
and sum in some other file :
*#! /usr/bin/env python
import
):
File ./temporary1.py, line 24, in module
f0.close()
AttributeError: 'list' object has no attribute 'close'*
please help to to find the error.
or suggest some simpler or better way
note:
1)file temp9 is already exist
2)this programme is giving me all my outputs, but at the end of the out
],, add_1[i+1]
f0.close()
f2.close()*
and this programme is givving me this error :
*Traceback (most recent call last):
File ./temporary1.py, line 24, in module
f0.close()
AttributeError: 'list' object has no attribute 'close'*
please help to to find the error.
or suggest some simpler
On Fri, 10 Jul 2009 11:57:21 -0400, Dave Angel wrote:
[...]
Please don' t top-post. Putting your reply out of order makes it harder
for others to see the sequences of things. Some people top-post
everything, but on this mailing list (and maybe most), the standard is
to add to bottom, or
]
f0.close()
f2.close()*
2. You posted the complete traceback (instead of the annoying 'program
didn't work ;-).
*Traceback (most recent call last):
File ./temporary1.py, line 24, in module
f0.close()
AttributeError: 'list' object has no attribute 'close'*
please help to to find
15 matches
Mail list logo