For those who patiently read each line

Max M maxm at
Tue Aug 13 15:14:14 CEST 2002

snodx at wrote:

> Dear masters of Python, I need to convert a piece of Python
> code to its equivalent Java code. Before I can attempt a conversion
> I need to understand what the Python code does exactly.

Hmm ... it sends an sms!

It does so by sending a request to a webpage:


What happens is that the program acts like a webbrowser and calls the 
abowe url, as if you had entered it yourself in a browser yourself.

But first it makes input validation of the parameters passed to the script.

It would typically be started from the commandline like:

sendsms 555-234234 "here is a message"

regards Max M

More information about the Python-list mailing list