attributeerror
Attribute errors in basic Python script
This is a very basic portscan/ping sweep script. The two functions work fine when I just use them individually in another script, but as soon as I try them in this script I get attribute errors[详细]
2023-02-11 05:58 分类:问答_swig_getattr AttributeError
I\'m getting an attribute error using swig to wrap a c function for use in python code.I\'ve got other functions alongside chap that work just fine, but some strange reason this one will not work :/[详细]
2023-01-27 00:41 分类:问答numpy load raises "AttributeError: 'module' object has no attribute 'expr'"
I try to run #!/usr/bin/env python import os from numpy import * b= ones((3, 3)) print b save(\'fff\',b) a = load(\'fff.npy\')[详细]
2023-01-25 21:16 分类:问答Pylons 1.0 AttributeError: 'module' object has no attribute 'metadata'
Python noob trying to learn Pylons. I\'m using the QuickWiki tutorial (http://pylonshq.com/docs/en/1.0/tutorials/quickwiki_tutorial/) from the 1.0 documentation, but this alleged \"1.0\" doc seems to[详细]
2023-01-02 18:26 分类:问答Getting Started with Python: Attribute Error
I am new to python and just downloaded it today. I am 开发者_如何学JAVAusing it to work on a web spider, so to test it out and make sure everything was working, I downloaded a sample code.Unfortunatel[详细]
2022-12-29 07:21 分类:问答GAE AttributeError
My 开发者_如何学GoGAE app runs fine from my computer, but when I upload it, I start getting an AttributeError, specifically:[详细]
2022-12-23 23:29 分类:问答__getattr__ on a module
How can implement the equivalent of a __getattr__ on a class, on a module? Example When calling a function that does not exist in a module\'s statically defined attributes, I wish to create an insta[详细]
2022-12-23 03:03 分类:问答What special method in Python handles AttributeError?
What special method(s?) should I redefine in my class so that it handled AttributeErrors exceptions and returned a special value in those cases?[详细]
2022-12-21 23:43 分类:问答Python attribute error: type object '_socketobject' has no attribute 'gethostbyname'
I am trying to do this in my program: dest = socket.gethostbyname(host) I have included the line: from socket import *[详细]
2022-12-13 05:03 分类:问答Python Tornado Web - AttributeError: 'Connection' object has no attribute '_execute'
I\'m experiencing a strange behaviour working with the latest branch of tornadoweb when I deploy my app on my production server.[详细]
2022-12-09 14:29 分类:问答