A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/349212.html below:

attribute error

attribute error attribute errorM.N.A.Smadi smadim2 at grads.ece.mcmaster.ca
Mon Sep 26 18:28:56 EDT 2005
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.
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

but i always thought that something like this will be standard stuff.  
Any ideas?

thanks
moe smadi

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4