EOF while scanning triple-quoted string literal

2010-10-11 Thread bussiere bussiere
DCテîfÑWì÷ìáár.ワîv﾿゙OWラ|ÌbDᄁÖ녡M=Ð÷èâミム'ÂÝÐ ;ë mᄎQÂäԤۢ:モᄆdᄎᄑLȂ1ᄈ_÷YZᆲNòÛ â\ロxÐlݵᆵムᆱøm5Ëá=ïoÍlMᆪ[×#Ypᅠトx[ÉÊyæツoモナz)ᆭᄀÝÏìò """) so it was a string that i got by zlib.compress an other string. How can i decompress this string ? Regards Bussiere Google Fan boy -- http://mail.python.org/mailman/listinfo/python-list

socket problem and html problem

2010-10-10 Thread bussiere bussiere
here is my code and two questions : why it says to me that i can't bind the socket ? normally it had closed it and kill it :/ and why it returns me plain text and not html ? Regards and a pack of m&m's to the one who will help me on this two questions. import socket import sys # Create a TCP/IP

inspect the call stack

2010-09-10 Thread bussiere bussiere
tack or an other way ? Regards Bussiere Google Fan boy -- http://mail.python.org/mailman/listinfo/python-list

Re: include a file in a python program

2010-09-08 Thread bussiere bussiere
Thanks all for your response i will try out this week, you have give me sufficient hints. Thanks again. Bussiere -- http://mail.python.org/mailman/listinfo/python-list

Re: include a file in a python program

2010-09-07 Thread bussiere maillist
Thanks all for your response i will try out this week, you have give me sufficient hint. Thanks again. Bussiere On Mon, Sep 6, 2010 at 9:50 AM, Niklasro(.appspot) wrote: > On Sep 5, 10:57 pm, bussiere bussiere wrote: >> i've got a python.txt that contain python and it m

knowing the caller of an import && exec question

2010-09-07 Thread bussiere bussiere
t;bidule") why exec("X.bidetmusique()") return none and X.bidetmusique() return an object ? How could i do to make this string "X.bidetmusique()" return an object ? Regards and thanks Bussiere Eat the strawberry Google Fan boy -- http://mail.python.org/mailman/listinfo/python-list

include a file in a python program

2010-09-05 Thread bussiere bussiere
? i'am using python3 Regards Bussiere fan of torchwood Google Fan boy -- http://mail.python.org/mailman/listinfo/python-list

Re: dirty problem 3 lines

2010-09-02 Thread bussiere bussiere
It seems to work perfectly thanks a lot Bussiere Google Fan boy On Thu, Sep 2, 2010 at 7:32 AM, alex23 wrote: > bussiere bussiere wrote: >> it's just as it seems : >> i want to know how does ti works to get back an object from a string in >> python : >> pi

Re: [Pickle]dirty problem 3 lines

2010-09-01 Thread bussiere bussiere
it's just as it seems : i want to know how does ti works to get back an object from a string in python : pickle.loads("""b'\x80\x03]q\x00(K\x00K\x01e.'""") #doesn't work Google Fan boy On Wed, Sep 1, 2010 at 5:23 AM, MRAB wrote: > On 01/09/2

[Pickle]dirty problem 3 lines

2010-08-31 Thread bussiere bussiere
i know it's dirty, i know i should use json but i want to know, it's quiet late here : import pickle dump = """b'\x80\x03]q\x00(K\x00K\x01e.'""" print(pickle.loads(dump)) how can i get back my object from this string ? the string is : b'\x80\x03]q\x00(K\x00K\x01e.' and i'am using python3 help wil

python and a 2 gigs Usb Stick (pure pythonic stick)

2007-12-07 Thread bussiere maillist
Hi, i've received for my birthday two usb key, and i had the idea to make the 2GB one a special python usb key. So far i've put on it : Movable Python My Python directory Iron Python Jython Instant django the file installation for : Python , iron python , jython , PIL , Pygame , Pywin32 The pdf i

speech recognition linux and python

2007-01-13 Thread bussiere maillist
x ? If yes with what ? Regards bussiere "speech recognition linux and python" -- http://mail.python.org/mailman/listinfo/python-list

Re: deprecated python 2.5

2006-09-12 Thread bussiere maillist
thks Regards Bussiere On 9/12/06, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > bussiere maillist wrote: > > > DeprecationWarning: struct integer overflow masking is deprecated > > return struct.pack('>H', ~value) > > i didn't understand if someone

deprecated python 2.5

2006-09-12 Thread bussiere maillist
DeprecationWarning: struct integer overflow masking is deprecated return struct.pack('>H', ~value) i didn't understand if someone have some explanation and what uses instead. -- http://mail.python.org/mailman/listinfo/python-list

convert a long string in binary

2006-08-20 Thread bussiere maillist
he boundaries of what was then considered acceptable, both in terms of style and content. """ string = binary(string) print string // 01010101010101 i 'am searching for something like the binary function (taht doesn't exist) to convert my string directly in binary. Regards Buss

making pseudo random number with spam ad convert text to binary

2006-07-29 Thread bussiere maillist
here is a little project to make a more or less good pseudo random generator by using spam :http://euryale.googlecode.com/it's almost quite finished but i've got a last problem i didn't manage to convert text to binary : hazard = binascii.a2b_qp(attachment) + binascii.a2b_qp(body) + binascii.a2b_qp

documentation for the change of Python 2.5

2006-06-28 Thread bussiere
I've read thsi documentation n: http://docs.python.org/dev/whatsnew/whatsnew25.html is there a way to have it in a more printable form ? Regards Bussiere -- http://mail.python.org/mailman/listinfo/python-list

very strange bug coercing to Unicode: need string or buffer, int found

2006-06-21 Thread bussiere maillist
i truly didn't understand this error :Traceback (most recent call last):  File "D:\Programmation\FrancePaquet\FrancePaquet.py", line 77, in ?    cabtri = "zz" + chiffrescabtri + clefcTypeError: coercing to Unicode: need string or buffer, int found >>> if someone could help me i will be glad, this p

Z39.50 and tyrannioware website seems to be down

2006-06-11 Thread bussiere
/viewcvs.py/tyrannioware/ may i ask you if  someone always have these three files and if someone  can mail me them , then ? Regards Bussiere -- http://mail.python.org/mailman/listinfo/python-list

gadfly error gadfly instance has no attribute 'execute'

2006-06-02 Thread bussiere maillist
dfly.gadfly()connection.startup ('pitney','D:\Programmation\pitney\')cursor = connection.cursor()connection.execute('create table personne(nom varchar)')cursor.execute("insert into personne(nom) values('bussiere')")connection.commit ()cursor.execu

Qrcode and python

2006-05-25 Thread bussiere
Title: Qrcode and python I’am loooking for some information on qrcode module for python (making qrcode in python qrcode is a special kind of barcode) Or i only found japanese documentation If someone have english or french documentation i twill be nice Regards Bussiere I have some

python and QRcode ?

2006-05-23 Thread bussiere maillist
i'am looking for some module and programs in ptyhon for making qrcode (special kind of barcode)But i only found documentation and programs in japanese.Does it exist program and documentation for python in qrcode in english ? regardsBussiere -- http://mail.python.org/mailman/listinfo/python-list

encoding problems (é and è)

2006-03-23 Thread bussiere bussiere
', 'E') str = str.replace('è', 'E') str = str.replace('È', 'E') str = str.replace('ê', 'E') doesn't work it put me &q