Tema
:
[Python] AttributeError: 'module' object has no attribute 'xxx'
Pogledajte određenu poruku
25. 01. 2009.
#
2
Petar Marić
Python Ambassador
Master
Datum učlanjenja: 06.06.2005
Lokacija: Novi Sad
Poruke: 602
Hvala: 28
27 "Hvala" u 17 poruka
Funkcija
urlencode
je preseljena u
urllib.parse
modul.
Kôd:
from urllib.parse import urlencode params = urlencode({'spam': 1, 'eggs': 2, 'bacon': 0})
Da li postoji neki poseban razlog što koristiš Python 3.0?
__________________
Python Ambassador of Serbia
Petar Marić
Pogledajte javni profil
Pošaljite privatnu poruku za Petar Marić
Posetite web sajt Petar Marić
Pronađite još poruka od Petar Marić