Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Luca Bongiorni
mply forwarding the data between A and B. Subsequently, when a parser catches the right pattern, the proxy quit the communication between A and B and redirect all the traffic to the host_C. I would be pleased if someone would suggest me some resources or hints. Thank you :) Cheers,

Re: Transparent Proxy and Redirecting Sockets

2013-02-21 Thread Luca Bongiorni
2013/2/21 Rodrick Brown > On Thu, Feb 21, 2013 at 10:24 AM, Luca Bongiorni wrote: > >> Hi all, >> Around I have found plenty useful sources about TCP transparent proxies. >> However I am still missing how to make socket redirection. >> >> What I would li

Re: Problem with cx_freeze / FreezePython

2006-08-01 Thread Luca Masini
> __PyFloat_Pack8 > Referenced from: /Users/kevin/Desktop/cx_Freeze-3.0.2/build/struct.so > Expected in: dynamic lookup Maybe cx_Freeze was not able to find a shared library needed by struct.so because it is not a pure python module. Can you post the "hello.py" you are trying to build ? Regards. Luca. -- http://mail.python.org/mailman/listinfo/python-list

Simple Python Spider

2007-08-23 Thread luca bertini
Hi everybody, i'm new to the forum so: hello everybody (should I say "world"?) ^_^ I'm trying to do a simple spider in python which: 1) ask google a query 2) parse the data I'm a python newbie so *any* help would be very, very welcommed. Thanks in advice! cheers! -- http://mail.python.org/mai

strings (dollar.cents) into floats

2007-08-30 Thread luca bertini
Hi, i have strings which look like money values (ie 34.45) is there a way to convert them into float variables? everytime i try I get this error: "numb = float(my_line) ValueError: empty string for float()" " here's the code import sys import re for line in sys.stdin.readlines():

AFP library for Python

2007-01-24 Thread Luca Masini
Hi, googled for a Python library that support AFP but found only a PERL module: http://search.cpan.org/src/AUTRIJUS/Parse-AFP-0.24/ Maybe someone know of a similar library for Python ? PS: in alternative if there are some interested people we can implement it... :-)) Thanks Luca

web services ssl client

2008-11-28 Thread Luca Tebaldi
Hi, should I build a client for web services that require authentication based on a ca (pem and crt), I'm trying to use soappy but not work... someone have any idea or can tell me where to find a tutorial? tnx a lot! Luca -- skype:luca.tebaldi bookmark: http://del.icio.us/lucatebaldi

python on Mac

2008-08-27 Thread luca . ciciriello
version without to compromise the behaviour of the system? Thanks in advance for any answer and, again, sorry if my question is particulary stupid, I will learn with time. Luca. -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Carta Eureka realizza i t

Python on Mac

2008-08-27 Thread luca . ciciriello
version without to compromise the behaviour of the system? Thanks in advance for any answer and, again, sorry if my question is particulary stupid, I will learn with time. Luca. -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Libera la tua voglia di g

python-2.6

2008-10-02 Thread luca . ciciriello
Hi all. I've installed on may MacOS X 10.4.11 (PPC) Python-2.5.2, numpy and scipy. Now I'm interested to insall Python-2.6. My question is: What will happen to may scientific modules if now I jump fro 2.5.2 to 2.6? I've to reinstall numpy and scipy? Thanks in advance for an

Re: python-2.6

2008-10-02 Thread luca . ciciriello
Strange things happens. I've download the installer package for Mac of Python 2.6 and I've launched it. When finished, I've launched from a terminal the command "Python" and all worked fine The response was "Python 2.6 etc...". Now I've launched IDLE. Nothing. IDLE icon blinked a couple of time in

Cannot upload a good egg on pypi

2009-10-13 Thread Luca Fabbri
xed (related to the SVN version used). But I continue to have problems. I'm using setuptools 0.6c9 and SVN 1.6.2 on my MacOS. -- -- luca -- http://mail.python.org/mailman/listinfo/python-list

Need help for my system python

2009-11-08 Thread Luca Fabbri
problem. Where I can look at for solving this? -- -- luca -- http://mail.python.org/mailman/listinfo/python-list

Re: Need help for my system python

2009-11-08 Thread Luca Fabbri
SOLVED. For some reason a "zope" directory were inside my site-packages folder, so the zope.interface egg was not visible... On Sun, Nov 8, 2009 at 4:57 PM, Luca Fabbri wrote: > Hi all. > > I've recently updated my system to the last Kubuntu 9.10. > > On my syst

How to know if a file is a text file

2009-11-14 Thread Luca Fabbri
Hi all. I'm looking for a way to be able to load a generic file from the system and understand if he is plain text. The mimetype module has some nice methods, but for example it's not working for file without extension. Any suggestion? -- -- luca -- http://mail.python.org/mailma

python and openSSL

2009-09-09 Thread Luca Bel
Hi all. I need a trick to do something like this: openssl smime -decrypt -verify -inform DER -in ReadmeDiKe.pdf.p7m -noverify -out ReadmeDike.pdf To unwrap a p7m file and read his content. I know that I could use somthing like: >>> import os >>> os.system('openssl ') but i would use a pyth

Re: python and openSSL

2009-09-10 Thread Luca Bel
te is used. I can simply extract the contents of p7m and save it on fs. And the extracted file is perfect. following this how to, seems that a certificate is always needed, and I don't have it. can someone help me? On Thu, Sep 10, 2009 at 3:56 AM, wrote: > On 9 Sep, 01:30 pm, luca...@gm

Re: DateTime object

2010-10-29 Thread Luca Bel
Take a look here: http://pypi.python.org/pypi/DateTime/ I always use this package only with Zope (it's an application server) If you are simply working in python maybe it's better to use datetime object. Hi. On Fri, Oct 29, 2010 at 1:15 PM, jf wrote: > Hi, > > I've a bug in my code and I'm tr

<    1   2