Newbie: Python & Serial Port question

2005-11-30 Thread Sanjay Arora
Am a python newbie. Does python have a native way to communicate with a
PC serial port? I found that pyserial needs java.

I am using Linux..CentOS 4.2, to be exact, no java installed and
zilch/no/none/maybe never experience of java too.

I have an application where I want to resd logs from the serial port of
an EPABX and log them to a postgreSQL database. What's the best way to
do this using python? Does anyone know of an existing software/python
library/module for this?

Please help.

With best regards.
Sanjay.


-- 
http://mail.python.org/mailman/listinfo/python-list


HTML parsing/scraping & python

2005-11-30 Thread Sanjay Arora
We are looking to select the language & toolset more suitable for a
project that requires getting data from several web-sites in real-
timehtml parsing/scraping. It would require full emulation of the
browser, including handling cookies, automated logins & following
multiple web-link paths. Multiple threading would be a plus but not
requirement.

Some solutions were suggested:

Perl:

LWP::Simple
WWW::Mechanize
HTML::Parser

Curl & libcurl:

Can you suggest solutions for python? Pros & Cons using Perl vs. Python?
Why Python?

Pointers to  various other tools & their comparisons  with python
solutions will be most appreciated. Anyone who is knowledgeable about
the application subject, please do share your knowledge to help us do
this right.

With best regards.
Sanjay.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Simple Python script as SMTP server for outgoing e-mails?

2013-08-05 Thread Sanjay Arora
On Tue, Jul 23, 2013 at 2:49 PM, Chris Angelico  wrote:


> Ah, there's a solution to this one. You simply use your own
> envelope-from address; SPF shouldn't be being checked for the From:
> header. Forwarding and using the original sender's address in the SMTP
> 'MAIL FROM' command is forging mail from them, so it is correct for
> that to be thrown out. The mail is coming from your own account, so
> you put your address in it, and you might even be able to put an
> uber-strict SPF record like "v=spf1 ip4:1.2.3.4 -all" which is quick
> to process and guarantees that nobody can pretend to forward mail on
> your behalf. The checks are for the *current connection*, not anything
> earlier.
>
> ChrisA
>

Bit Late, but do check out  http://www.openspf.org/FAQ/Forwarding

Forwarding does get broken, but a partial solution in whitelisting is
there, though too manual & therefore cumbersome.

Another option http://www.openspf.org/SRS is there to be worked in
conjunction with spf. There is a best spf practices guide on the site. And
all this email authentication issue given on openspf.org makes an
interesting read.

Ciao.
Sanjay.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: How can I find a freelance programmer?

2006-02-14 Thread Sanjay Arora
Try this site 

I use them. You will make many freelancer contacts...some good some bad...don't pay without escrow but good jobs get done.

Hope you will find it worthwhile.

Best regards & good luck.
Sanjay.
On 2/15/06, Jorge Godoy <[EMAIL PROTECTED]> wrote:
Charles <[EMAIL PROTECTED]> writes:> I am looking for a freelance Python programmer to create a cross-platform> application with wxPython.> Any idea where I could find one?
Here?  At Python-jobs?  :-)  At the wxPython mailing list?--Jorge Godoy  <[EMAIL PROTECTED]>"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.- Anything said in Latin sounds smart.--http://mail.python.org/mailman/listinfo/python-list

-- 
http://mail.python.org/mailman/listinfo/python-list