对想要学习python的perl专家的建议 [英] advice for perl expert wanting to learn python

查看:56
本文介绍了对想要学习python的perl专家的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,我为什么要学习Python:因为IronPython端口到CLR。

到CLR的Perl端口似乎不会很快到来。第一个Perl6 for Parrot有待写入
,然后是其他后端..


学习python知道perl的最简单方法是什么?是否有某个地方

a''怎么做'的食谱,其中包含perl常用习语的平行示例和

python?


最重要的是,Python如何处理数据库连接?

是否有一个API(类似于DBI)用于连接数据库?


怎么做Python支持以下数据库:

- Oracle

- Postgres

- MySQL

- SQLServer(可能使用freetds ?)

- ODBC连接(连接到MS Access)

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写道:
Zeljko Vrba wrote:
现在,我为什么要学习Python:因为IronPython端口到CLR。
到CLR的Perl端口似乎不会很快到来。 Parrot的第一个Perl6已被编写,然后是其他后端..

学习python知道perl最简单的方法是什么?是否有某个地方
一个'怎么做'的食谱,在perl和
python中有频繁成语的并行例子?

http://pleac.sourceforge.net/

最重要的是,Python如何处理数据库连接?
是否有一个API(类似于DBI)用于连接数据库?


是的,python定义了单个API

Python如何支持以下数据库:
- Oracle
- Postgres - MySQL
- SQLServer(也许使用freetds?)
- ODBC连接(连接到MS Access)
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)




我试过MySQLdb包和mdb连接通过

win32com.client包。

我读到有关Postgres和Oracle连接的信息...


Stano Paska。<



I have tried MySQLdb package and mdb connectivity through
win32com.client package.
I read about Postgres and Oracle connectivity...

Stano Paska.


Zeljko Vrba写道:
Zeljko Vrba wrote:
学习python知道perl最简单的方法是什么?是否有某个地方
一个'怎么做'的食谱,在perl和
python中有频繁成语的并行例子?


一个好的开始可能是:

http://www.python.org/doc/Intros.html


在程序员介绍下标题。


然后有一个 http://www.python.org/doc/Comparisons.html#perl

直接比较。


和最重要的是,Python如何处理数据库连接?
是否有一个API(类似于DBI)用于连接数据库?


有一个DB-API标准,由各种连接器实现。


Python如何支持以下数据库: /> - Oracle
- Postgres
- MySQL
- SQLServer(也许使用freetds?)
- ODBC连接(连接到MS Access)
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)




好​​吧。

Richard



Well.
Richard


2004年8月3日星期二07:39:46 +0000 (UTC),

Zeljko Vrba< mo **** @ fly.srk.fer.hr>写道:
On Tue, 3 Aug 2004 07:39:46 +0000 (UTC),
Zeljko Vrba <mo****@fly.srk.fer.hr> wrote:
学习python知道perl最简单的方法是什么?是否有某个地方
一个'怎么做'的食谱,其中包含perl中频繁使用成语的例子和
python?
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写道1996年左右。我刚刚在Python wiki中放了一份副本
http://www.python.org/moin/PerlPhrasebook


--amk



Jak Kirman wrote one around 1996. I''ve just put a copy in the Python wiki at
http://www.python.org/moin/PerlPhrasebook .

--amk


这篇关于对想要学习python的perl专家的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆