Converting a perl module to a python module would it be worth it?

2005-04-14 Thread Mothra
Hi All,

I am the current author of the Astro-Sunrise perl module
http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm
and was wondering if it would be worth while to convert it to python.
First off, I have never programmed in python. I would like to use
this project to learn python. I was wondering if there was a
"How to program python for perl programmers" Kinda
like what is different between the two, pitfalls for perl programmers
and what not.
Another question is, if I do this where can I put the results?
As far as I know python has no "CPAN".

Thanks in advance.

Mothra


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


Re: Converting a perl module to a python module would it be worthit?

2005-04-14 Thread Mothra

"Ivan Van Laningham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All--
>
> bruno modulix wrote:
> >
> > Mothra wrote:
> > > Hi All,
> > >
> > > I am the current author of the Astro-Sunrise perl module
> > > http://search.cpan.org/~rkhill/Astro-Sunrise-0.91/Sunrise.pm
> > > and was wondering if it would be worth while to convert it to python.
> >
> > Only you and your module's users may tell...
> >
>
> I'd use it.

I guess I spoke to soon
http://kortis.to/radix/python/code/Sun.py

This was from the same source I used to create ny module.

>
> > > First off, I have never programmed in python. I would like to use
> > > this project to learn python.
> >
> > Well, this might be an answer to your first question !-)
> >
>
> If you can get your mind off the @#)*&[EMAIL PROTECTED]&-ing Perl syntax, 
> you'll be
> fine;-)
>
> > > Another question is, if I do this where can I put the results?
> > > As far as I know python has no "CPAN".
> > http://www.python.org/pypi/
> >
>
> They're working on the Python version of CPAN, but it's taking a long
> time.  I think they started in 1998 or so?  Haven't kept up, so I have
> no idea what's taking so long.  I'm sure someone more knowledgeable than
> me will come along and set us straight.
>
I checked out the above link (thanks!!)  I need to look deeper
at the docs for creating a "module"

Thanks all for the responses!!

Mothra


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