Now, why would I like to learn Python: because of IronPython port to CLR.
Perl port to CLR doesn''t seem to be coming soon. First Perl6 for Parrot has
to be written, and then other backends..
What''s the easiest way of learning python knowing perl? Is there somewhere
a ''how-to'' cookbook with parallel examples of frequent idioms in perl and
python?
And most important thing, how does Python deal with database connectivity?
Is there a single API (akin to DBI) for connecting to databases?
How does Python support the following databases:
- Oracle
- Postgres
- MySQL
- SQLServer (maybe using freetds?)
- ODBC connectivity (connecting to MS Access)
解决方案Zeljko Vrba wrote:
Now, why would I like to learn Python: because of IronPython port to CLR.
Perl port to CLR doesn''t seem to be coming soon. First Perl6 for Parrot has
to be written, and then other backends..
What''s the easiest way of learning python knowing perl? Is there somewhere
a ''how-to'' cookbook with parallel examples of frequent idioms in perl and
python?
http://pleac.sourceforge.net/
And most important thing, how does Python deal with database connectivity?
Is there a single API (akin to DBI) for connecting to databases?
Yes, python has defined single API
How does Python support the following databases:
- Oracle
- Postgres
- MySQL
- SQLServer (maybe using freetds?)
- ODBC connectivity (connecting to MS Access)
I have tried MySQLdb package and mdb connectivity through
win32com.client package.
I read about Postgres and Oracle connectivity...
Stano Paska.
Zeljko Vrba wrote:What''s the easiest way of learning python knowing perl? Is there somewhere
a ''how-to'' cookbook with parallel examples of frequent idioms in perl and
python?
A good start might be:
http://www.python.org/doc/Intros.html
under the "Introductions for programmers" heading.
Then there''s http://www.python.org/doc/Comparisons.html#perl which has
direct comparisons.
And most important thing, how does Python deal with database connectivity?
Is there a single API (akin to DBI) for connecting to databases?
There is a DB-API standard, which is implemented by the various connectors.
How does Python support the following databases:
- Oracle
- Postgres
- MySQL
- SQLServer (maybe using freetds?)
- ODBC connectivity (connecting to MS Access)
Well.
Richard
On Tue, 3 Aug 2004 07:39:46 +0000 (UTC),
Zeljko Vrba wrote:What''s the easiest way of learning python knowing perl? Is there somewhere
a ''how-to'' cookbook with parallel examples of frequent idioms in perl and
python?
Jak Kirman wrote one around 1996. I''ve just put a copy in the Python wiki at
http://www.python.org/moin/PerlPhrasebook .
--amk