On Monday, January 19, 2015 at 5:02:01 AM UTC+5:30, Steven D'Aprano wrote:
> Mahendra Prajapati wrote:
>
> > Hello,
> > I'm facing this problem with python class, while practising the python
> > programming language.It creates an attribute error. I use windows 7 OS. i
> > don't why.I just need to
Mahendra Prajapati wrote:
> Hello,
> I'm facing this problem with python class, while practising the python
> programming language.It creates an attribute error. I use windows 7 OS. i
> don't why.I just need to know why it gives such an error.please let me
> know. Regards
An attribute error is a
On Sun, 18 Jan 2015 20:50:49 +, Mahendra Prajapati wrote:
> Hello,
> I'm facing this problem with python class, while practising the python
> programming language.It creates an attribute error. I use windows 7 OS.
> i don't why.I just need to know why it gives such an error.please let me
> kno
On Mon, Jan 19, 2015 at 7:50 AM, Mahendra Prajapati
wrote:
> I'm facing this problem with python class, while practising the python
> programming language.It creates an attribute error.
> I use windows 7 OS. i don't why.
> I just need to know why it gives such an error.
> please let me know.
It'
On Wed, Apr 16, 2014 at 5:45 PM, ali hanif wrote:
> Hi i am a student and working on GNU..I have a python code which i want to
> run in GNU radio companion but i am unable to search for the right block to
> execute that code...can anyone help me with that??When I execute the same
> python code(not
On Tue, Mar 3, 2009 at 6:13 AM, Dennis Lee Bieber wrote:
> On Mon, 2 Mar 2009 16:56:58 -0800 (PST), Nick Mellor
> declaimed the following in
>>
>> def __init(self):
>> self.forename = RandomName("h:\\Testing\\NameDb\
>> \Forenames.csv", namefield = "Forename")
>
> Where is "Ran
Thanks Chris and John, all workin now. Sorry about proclamation of
innocence-- fruitless morning and 3 hours sleep :-)
Nick
On Mar 3, 12:03 pm, Chris Rebert wrote:
> On Mon, Mar 2, 2009 at 4:56 PM, Nick Mellor
>
>
>
> wrote:
> > Hi all,
>
> > I'm pretty sure I'm following all the Python rules:
On Mar 3, 11:56 am, Nick Mellor wrote:
> Hi all,
>
> I'm pretty sure I'm following all the Python rules: I've put "self"
> before "forename" to make sure it's treated as a data attribute
> (instance variable.) And from within a class, I'm told, you need to
> prefix the var with self too. RandomNam
On Mon, Mar 2, 2009 at 4:56 PM, Nick Mellor
wrote:
> Hi all,
>
> I'm pretty sure I'm following all the Python rules: I've put "self"
> before "forename" to make sure it's treated as a data attribute
> (instance variable.) And from within a class, I'm told, you need to
> prefix the var with self to
John Machin wrote:
> johnny wrote:
> > I am getting the following errors:
>
> That is *one* error.
> >
> > File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 679, in
> > _send_output
> > self.send(msg)
> > File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 646, in send
> > se
johnny wrote:
> I am getting the following errors:
That is *one* error.
>
> File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 679, in
> _send_output
> self.send(msg)
> File "H:\xampp\xampp\xampp\python\lib\httplib.py", line 646, in send
> self.connect()
> File "H:\xampp\xampp\
Max Erickson wrote:
> "Teja" <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> >
> > What is attribute error? what causes that error, especially with COM
> > objects?
> >
> > To be precise :
> >
> > Attribute Error: LCAS.LabcarController.writeLogWindow()
> >
> > Here, LCAS is a COM object
> >
> > Tha
"Teja" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> What is attribute error? what causes that error, especially with COM
> objects?
>
> To be precise :
>
> Attribute Error: LCAS.LabcarController.writeLogWindow()
>
> Here, LCAS is a COM object
>
> Thanks
> Teja.P
>
LabcarController might be
"Teja" <[EMAIL PROTECTED]> writes:
> What is attribute error?
exception AttributeError
Raised when an attribute reference or assignment fails.
http://docs.python.org/lib/module-exceptions.html#l2h-103>
> To be precise :
Not precise enough, unfortunately. Please construct a minimal,
> did you verify that the code you posted really has the problem (it does
> use the 'os' module which isn't important
message.replace("important", "imported")
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> listof_files = [i for i in f if not fnmatch(os.path.join(r,i),pat) and
> os.path.isfile(os.path.join(r,i))]
> ...
> ..
>
> I get this error:
> File "C:\Python24\Lib\fnmatch.py", line 37, in fnmatch
> pat = os.path.normcase(pat)
> File "C:\Python24\lib\ntpath.py
On Thu, 29 Sep 2005 15:57:47 -0400, M.N.A.Smadi wrote:
> This has nothing to do with how the argument is passed. It is prob
> something wrong with str.pop in my python because when i run python and type
> import os
> import string
> x = '1 2 3'
> x.pop()
>
> i get the following error
> Tracebac
Mike Meyer wrote:
> In <[EMAIL PROTECTED]>, M.N.A.Smadi <[EMAIL PROTECTED]> typed:
>
>>This has nothing to do with how the argument is passed. It is prob
>>something wrong with str.pop in my python because when i run python and type
>>import os
>>import string
>>x = '1 2 3'
>>x.pop()
>>
>>i get
In <[EMAIL PROTECTED]>, M.N.A.Smadi <[EMAIL PROTECTED]> typed:
> This has nothing to do with how the argument is passed. It is prob
> something wrong with str.pop in my python because when i run python and type
> import os
> import string
> x = '1 2 3'
> x.pop()
>
> i get the following error
> T
This has nothing to do with how the argument is passed. It is prob
something wrong with str.pop in my python because when i run python and type
import os
import string
x = '1 2 3'
x.pop()
i get the following error
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: 'str' o
In <[EMAIL PROTECTED]>, M.N.A.Smadi <[EMAIL PROTECTED]> typed:
> HI;
>
> I am having the following error:
>
> AttributeError: 'str' object has no attribute 'pop'
>
> am using Python 2.3.4 and am importing the following libraries:
>
> import sys, os, inspect
> from Asterisk import Manager, Base
HI;
I am having the following error:
AttributeError: 'str' object has no attribute 'pop'
am using Python 2.3.4 and am importing the following libraries:
import sys, os, inspect
from Asterisk import Manager, BaseException, Config
import Asterisk.Util
The code being executed is:
if command
"M.N.A.Smadi" <[EMAIL PROTECTED]> writes:
> HI;
>
> I am having the following error. I am using someone else's code and
> all they are doing is pass an argv to a function then
>
> def execute_action(manager, argv):
> method_name = argv.pop(0).lower()
>
>
> and am getting this strange error.
On Mon, 26 Sep 2005 18:28:56 -0400, M.N.A.Smadi wrote:
> HI;
>
> I am having the following error. I am using someone else's code and
> all they are doing is pass an argv to a function then
>
> def execute_action(manager, argv):
> method_name = argv.pop(0).lower()
>
>
> and am getting th
24 matches
Mail list logo