Re: find the error

2014-09-13 Thread Andrea D'Amore
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

Re: find the error

2014-09-13 Thread Denis McMahon
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

find the error

2014-09-12 Thread daoudimca
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

Re: find the error

2014-09-12 Thread Chris Angelico
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

Re: Embedding python : can't find encoding error

2011-03-01 Thread swapnil
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

Embedding python : can't find encoding error

2011-02-28 Thread Mathieu CLERICI
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

Re: Embedding python : can't find encoding error

2011-02-28 Thread Mathieu CLERICI
Precisions : I'm trying to embed python 3.2 release. -- http://mail.python.org/mailman/listinfo/python-list

[issue9624] failure to find drive error message when trying to install something unspecified

2010-08-21 Thread Georg Brandl
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

help me to find the error

2009-07-10 Thread jhinak sen
.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

Re: help me to find the error

2009-07-10 Thread Xavier Ho
()* 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

Re: help me to find the error

2009-07-10 Thread Rhodri James
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

Re: help me to find the error

2009-07-10 Thread Dave Angel
): 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

Re: help me to find the error

2009-07-10 Thread Dave Angel
],, 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

Re: help me to find the error

2009-07-10 Thread Steven D'Aprano
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

Re: help me to find the error

2009-07-10 Thread Terry Reedy
] 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