Google Groups unterstützt keine neuen Usenet-Beiträge oder ‑Abos mehr. Bisherige Inhalte sind weiterhin sichtbar.

Java Developer Exploring Python

1 Aufruf
Direkt zur ersten ungelesenen Nachricht

redefined...@gmail.com

ungelesen,
17.04.2006, 12:14:0917.04.06
an
I've traditionally been a Java developer, although I play around with
LISP. I recently migrated to Linux and I was exploring Mono as an
option for development on Linux. However, I've had some problems with
the maturity and support when working with Mono. So I was considering
Python as an alternative development language.

Is Python actively developed and supported on Linux? Would it be a
viable option for cross-platform application development?

Can anyone recommend an open source IDE for Python that runs on Linux?

Thanks,

Scott Huey

Ravi Teja

ungelesen,
17.04.2006, 12:53:1517.04.06
an
>> I've traditionally been a Java developer, although I play around with LISP.

For most java developers, understanding dynamic typing is a big step.
Your Lisp background however would mean that you will pick up Python
very quickly.

>> I recently migrated to Linux and I was exploring Mono as an
option for development on Linux. However, I've had some problems with
the maturity and support when working with Mono.

IronPython (still a beta) BTW, runs on Mono as well and you can use
Mono through Python when you deem it ready. There is also Jython, which
runs on the Java platform if you feel married to Java platform or class
libraries.

>> Is Python actively developed and supported on Linux?

Yes and very well so. Many Linux distributions come with Python
pre-installed and Python has quite a bit of following in the Linux
crowd. Red Hat / Fedora installer - Anaconda, for example uses Python.

>> Would it be a viable option for cross-platform application development?

Python is a very good candidate for open source development. But then
again, most open source languages these days are. The culture is a bit
different though. Although Python is byte code compiled just like Java,
Python programmers are not averse to using native extensions (which in
most cases can be compiled painlessly on all popular platforms thanks
to Python's distutils). Java programmers on the other hand generally
extol 'Pure Java'. Both approaches have their own advantages and
disadvantages (Swing vs SWT) and you can use either with Python.

>> Can anyone recommend an open source IDE for Python that runs on Linux?

Most Python IDEs are open source along with a few commercial ones.
http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
Everyone has their favorites and you should pick your own.

Since you have a Java background, PyDev is probably the best choice for
you. JEdit also has a Python plugin. I just use SciTE (just an editor)
most of the time.

redefined...@gmail.com

ungelesen,
17.04.2006, 16:32:0517.04.06
an

Ravi,

Thank you for taking the time to answer my questions. It sounds like
Python may be the solution I am searching for. I took a look at lists
of the IDEs on the wiki. Looks like I might be sticking with the IDLE
editor for now. :] Perhaps I will have to write a simple IDE for Python
that integrates Glade and supports pyGTK when I have some more
programming experience...

Scott Huey

Alex Martelli

ungelesen,
17.04.2006, 22:14:1917.04.06
an
Ravi Teja <webra...@gmail.com> wrote:

> >> I've traditionally been a Java developer, although I play around with LISP.
>
> For most java developers, understanding dynamic typing is a big step.
> Your Lisp background however would mean that you will pick up Python
> very quickly.

Very good point.


> >> I recently migrated to Linux and I was exploring Mono as an
> option for development on Linux. However, I've had some problems with
> the maturity and support when working with Mono.
>
> IronPython (still a beta) BTW, runs on Mono as well and you can use
> Mono through Python when you deem it ready. There is also Jython, which
> runs on the Java platform if you feel married to Java platform or class
> libraries.

Both are important options, of course; mostly, they offer assurances
that the effort spent today in mastering Python is never going to be
"wasted" even if different deployment platforms are needed for some
future projects (Python is good at invading niches of all kinds;-).


> >> Is Python actively developed and supported on Linux?
>
> Yes and very well so. Many Linux distributions come with Python
> pre-installed and Python has quite a bit of following in the Linux
> crowd. Red Hat / Fedora installer - Anaconda, for example uses Python.

Maybe the best example is Ubuntu, since its principal proponent, Mark
Shuttleworth, is such a fan of Python -- his foundation offers bounties
for Python projects, for example.


> >> Would it be a viable option for cross-platform application development?
>
> Python is a very good candidate for open source development. But then
> again, most open source languages these days are. The culture is a bit
> different though. Although Python is byte code compiled just like Java,
> Python programmers are not averse to using native extensions (which in
> most cases can be compiled painlessly on all popular platforms thanks
> to Python's distutils). Java programmers on the other hand generally
> extol 'Pure Java'. Both approaches have their own advantages and
> disadvantages (Swing vs SWT) and you can use either with Python.

A rather good summary! Yes, part of Python's ability to infiltrate
niches is the willingness to exploit whatever's around, without getting
into a "language purist" mood. Consider for example that one of the
additions to Python 2.5 (currently in alpha stage) is the inclusion in
the Python standard library of ctypes, an extension (which is and will
also remain available for download for previous Python releases) that
lets Python code dynamically load any available .DLL/.so/.dylib (roughly
same thing but different file extensions depending on platform;-) and
call C-level functions therein.


> >> Can anyone recommend an open source IDE for Python that runs on Linux?
>
> Most Python IDEs are open source along with a few commercial ones.
> http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
> Everyone has their favorites and you should pick your own.
>
> Since you have a Java background, PyDev is probably the best choice for
> you. JEdit also has a Python plugin. I just use SciTE (just an editor)
> most of the time.

My vote would go to eric3, but then, I _am_ a Qt fan;-). As you say,
the wiki is a better choice, to get an idea of the available options,
than any individual's suggestions...


Alex

Roy Smith

ungelesen,
17.04.2006, 22:21:2817.04.06
an
In article <1hdyb46.1yllkst1o2asjlN%ale...@yahoo.com>,
ale...@yahoo.com (Alex Martelli) wrote:

> Consider for example that one of the additions to Python 2.5 (currently
> in alpha stage) is the inclusion in the Python standard library of
> ctypes

Indeed, I think the inclusion of ctypes is far and away the most exciting
thing in 2.5.

Renato

ungelesen,
18.04.2006, 03:30:3218.04.06
an
You don't actually *need* a libglade/pyGtk IDE: glade will be more than
enough :-)

By its very nature glade will enable you to design the GUI and define
the signals.

Then you'll load the glade file in python, and use whatever editor you
feel comfortable with.

--
Have fun,
Renato Ramonda

bruno at modulix

ungelesen,
18.04.2006, 04:56:0718.04.06
an
redefined...@gmail.com wrote:
> I've traditionally been a Java developer, although I play around with
> LISP. I recently migrated to Linux and I was exploring Mono as an
> option for development on Linux. However, I've had some problems with
> the maturity and support when working with Mono. So I was considering
> Python as an alternative development language.
>
> Is Python actively developed and supported on Linux?

Yes. In fact, all distros I know ships with (and often depends on) Python.

> Would it be a
> viable option for cross-platform application development?

Yes. Python runs on most platforms, and wxPython runs on Windows, MacOS
X, and most Unices

> Can anyone recommend an open source IDE for Python that runs on Linux?

Emacs ?-)

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'on...@xiludom.gro'.split('@')])"

Aahz

ungelesen,
18.04.2006, 13:31:4518.04.06
an
In article <roy-FCE9BE.2...@reader1.panix.com>,

Really? More than pysqlite?
--
Aahz (aa...@pythoncraft.com) <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"

Jorge Godoy

ungelesen,
18.04.2006, 13:42:3818.04.06
an
Aahz wrote:

> In article <roy-FCE9BE.2...@reader1.panix.com>,
> Roy Smith <r...@panix.com> wrote:
>>Indeed, I think the inclusion of ctypes is far and away the most exciting
>>thing in 2.5.
>
> Really? More than pysqlite?

To me much more. After all, why would I need pysqlite if I use
PostgreSQL? ;-)

/me remembering the old days of Clipper Summer '87, when he'd use DBFs all
over... ;-)

--
Jorge Godoy <go...@ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.

Aahz

ungelesen,
18.04.2006, 13:51:0418.04.06
an
In article <1204021.L...@jupiter.g2ctech>,

Jorge Godoy <go...@ieee.org> wrote:
>Aahz wrote:
>> In article <roy-FCE9BE.2...@reader1.panix.com>,
>> Roy Smith <r...@panix.com> wrote:
>>>
>>>Indeed, I think the inclusion of ctypes is far and away the most exciting
>>>thing in 2.5.
>>
>> Really? More than pysqlite?
>
>To me much more. After all, why would I need pysqlite if I use
>PostgreSQL? ;-)

Heh. Since we're just finally turning in our 100% first draft of Python
for Dummies, I tend to think more in terms of what a Python newbie will
find useful. On that front, I think that pysqlite is much more
important because it finally gets rid of the excuse for using Berkeley
for simple database purposes.

Jorge Godoy

ungelesen,
18.04.2006, 13:53:4818.04.06
an
Aahz wrote:

> Heh. Since we're just finally turning in our 100% first draft of Python
> for Dummies, I tend to think more in terms of what a Python newbie will
> find useful. On that front, I think that pysqlite is much more
> important because it finally gets rid of the excuse for using Berkeley
> for simple database purposes.

You're right Aahz. It is more useful. I was just being "smart" with
you :-)

Now it will be easier to provide that classic phone book example in your
book :-)

Jon Ribbens

ungelesen,
18.04.2006, 14:51:2418.04.06
an
In article <e238u8$4k0$1...@panix1.panix.com>, Aahz wrote:
> On that front, I think that pysqlite is much more important because
> it finally gets rid of the excuse for using Berkeley for simple
> database purposes.

Apologies if I'm being obtuse, but how does including the pysqlite
wrapper module change anything? You still need to download and install
SQLite, so what's the point of including a wrapper for something you
may or may not have? Why is pysqlite included, for example, and not
MySQL-Python or postgresql or whatever?

Fredrik Lundh

ungelesen,
18.04.2006, 14:59:3318.04.06
an pytho...@python.org
Jon Ribbens wrote:

> Apologies if I'm being obtuse, but how does including the pysqlite
> wrapper module change anything? You still need to download and install
> SQLite

I'm pretty sure the distributors will do this for you, just as they've included
zlib, dbm, tcl/tk, openssl, and many other standard libraries over the years.

</F>

Jarek Zgoda

ungelesen,
18.04.2006, 15:43:5518.04.06
an
redefined...@gmail.com napisał(a):

> Is Python actively developed and supported on Linux? Would it be a
> viable option for cross-platform application development?

Yeas and yeas. Yeas. (That's how we pronounce "yes" here, in Poland,
East Europe).

> Can anyone recommend an open source IDE for Python that runs on Linux?

Komodo. But in most cases you don't need any IDE, just good text editor
would make it go. Like Kate, jEdit or similar.

--
Jarek Zgoda
http://jpa.berlios.de/

Carl J. Van Arsdall

ungelesen,
18.04.2006, 15:49:4618.04.06
an pytho...@python.org
Jarek Zgoda wrote:
> redefined...@gmail.com napisał(a):
>
>
>> Is Python actively developed and supported on Linux? Would it be a
>> viable option for cross-platform application development?
>>
>
> Yeas and yeas. Yeas. (That's how we pronounce "yes" here, in Poland,
> East Europe).
>
>
>> Can anyone recommend an open source IDE for Python that runs on Linux?
>>
My favorite IDE: vi

>
> Komodo. But in most cases you don't need any IDE, just good text editor
> would make it go. Like Kate, jEdit or similar.
>

--

Carl J. Van Arsdall
cvana...@mvista.com
Build and Release
MontaVista Software

Aahz

ungelesen,
18.04.2006, 15:57:5518.04.06
an
In article <slrne4ad9c.t...@snowy.squish.net>,

SQLite will be included with the Windows distribution. Not sure about
Macs; as Fredrik pointed out, most Linux/BSD distros should make that
simple.

As for why SQLite, there seems to be a consensus that it's the only
truly zero-admin SQL solution that provides decent SQL compatibility and
performance. For more about the decision, I suggest you read the
python-dev archives.

Chris Lambacher

ungelesen,
18.04.2006, 18:21:5618.04.06
an Jon Ribbens, pytho...@python.org
At least on windows. PySqlite is statically linked with the sqlite library.
This can be done because it is quite small.

-Chris

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

Delaney, Timothy (Tim)

ungelesen,
18.04.2006, 18:52:3718.04.06
an pytho...@python.org
Aahz wrote:

>> Indeed, I think the inclusion of ctypes is far and away the most
>> exciting thing in 2.5.
>
> Really? More than pysqlite?

My personal fave is the "with" statement. It makes a lot of code so much
more elegant - esp. for things which are getting built-in context
managers (e.g. files).

But for those who use them, I'm sure pysqlite and ctypes are huge.

Tim Delaney

Alex Martelli

ungelesen,
19.04.2006, 00:06:1619.04.06
an
Aahz <aa...@pythoncraft.com> wrote:
...

> Heh. Since we're just finally turning in our 100% first draft of Python
> for Dummies, I tend to think more in terms of what a Python newbie will

Funny timing coincidence: your 1st draft of Python for Dummies going in
now, my 2nd edition of Python in a Nutshell just went to production, AND
Wesley Chun's 2nd ed is also being finished this week. Three Baypiggies
(or whatever we'll have to call ourselves) all finishing Python books
(be they new, or 2nd eds) all within one week of Easter -- what's the
chances of THAT?-)


Alex

Jon Ribbens

ungelesen,
19.04.2006, 04:50:2919.04.06
an
In article <mailman.4725.1145398...@python.org>, Chris Lambacher wrote:
> At least on windows. PySqlite is statically linked with the sqlite library.
> This can be done because it is quite small.

OK, well that makes sense, but why not on any other platform?

Jon Ribbens

ungelesen,
19.04.2006, 05:38:3719.04.06
an

"The distributors"? Que?

I guess I just don't get why the inclusion of the pysqlite wrapper
is so exciting if all it's doing is changing the situation from
"Python does not come with a DB, but you can install extra software
to provide one" to "Python does not come with a DB, but you can
install extra software to provide one".

Jay Parlar

ungelesen,
19.04.2006, 10:53:4519.04.06
an pytho...@python.org

On Apr 18, 2006, at 9:06 PM, Alex Martelli wrote:
>
> Funny timing coincidence: your 1st draft of Python for Dummies going in
> now, my 2nd edition of Python in a Nutshell just went to production,
> AND
> Wesley Chun's 2nd ed is also being finished this week. Three
> Baypiggies
> (or whatever we'll have to call ourselves) all finishing Python books
> (be they new, or 2nd eds) all within one week of Easter -- what's the
> chances of THAT?-)
>
>

Wesley Chun is doing a second edition of Core Python? Oh wow! That's
the book I learned Python with oh so long ago(between 1.5.2 and the
mysterious 1.6). I told people for a long time that Core was the best
book with which to learn Python, but I stopped doing that as it's too
out of date now.

Glad to see Ruby isn't the only language getting a bunch of new good
books.

Jay P.

Fredrik Lundh

ungelesen,
19.04.2006, 10:46:5519.04.06
an pytho...@python.org
Jon Ribbens wrote:

> "The distributors"? Que?

all the downstream people who work their asses off to provide pre-
built, pre-tested distributions for various platforms. this includes the
PSF volunteers, commercial actors, and a large crowd of linux/bsd
volunteers.

these days, most end users get their Python either with their OS,
or by downloading a prebuilt installer.

> I guess I just don't get why the inclusion of the pysqlite wrapper
> is so exciting if all it's doing is changing the situation from
> "Python does not come with a DB, but you can install extra software
> to provide one" to "Python does not come with a DB, but you can
> install extra software to provide one".

I assume you stopped reading at "just as they've included zlib, dbm,


tcl/tk, openssl, and many other standard libraries over the years."

sqlite is not exactly Python's first external depency (check the depency
lists for a typical linux distribution if you don't believe me)

</F>

Aahz

ungelesen,
19.04.2006, 11:24:0219.04.06
an
In article <slrne4c18t.k...@snowy.squish.net>,

Jon Ribbens <jon+u...@unequivocal.co.uk> wrote:
>
>I guess I just don't get why the inclusion of the pysqlite wrapper
>is so exciting if all it's doing is changing the situation from
>"Python does not come with a DB, but you can install extra software
>to provide one" to "Python does not come with a DB, but you can
>install extra software to provide one".

There's a difference between "needing to install extra software" and
"compiling Python allows you to use your installed software".

Jon Ribbens

ungelesen,
19.04.2006, 12:01:0719.04.06
an
In article <mailman.4753.1145458...@python.org>, Fredrik Lundh wrote:
> these days, most end users get their Python either with their OS,
> or by downloading a prebuilt installer.

Oh, ok. I've just never heard such people referred to as "the
distributors" before. It sounds like some sort of TV series! ;-)

>> I guess I just don't get why the inclusion of the pysqlite wrapper
>> is so exciting if all it's doing is changing the situation from
>> "Python does not come with a DB, but you can install extra software
>> to provide one" to "Python does not come with a DB, but you can
>> install extra software to provide one".
>
> I assume you stopped reading at "just as they've included zlib, dbm,
> tcl/tk, openssl, and many other standard libraries over the years."

I'll assume you didn't read my post properly then, since I did no such
thing.

Never mind, it was just meant to be an innocuous question, and
I'm certainly not disagreeing with the decision to include pysqlite.

SPE - Stani's Python Editor

ungelesen,
19.04.2006, 12:06:1219.04.06
an
> Can anyone recommend an open source IDE for Python that runs on Linux?

A lot of SPE (http://pythonide.stani.be) users are on all kinds of
Linux flavours (but also Mac OSX and windows). I've started to use SPE
on Ubuntu. There could be some improvements. As soon as I have time
I'll implement them. If you want to try SPE, use for sure the latest
version 0.8.2.a

> Perhaps I will have to write a simple IDE for Python that integrates Glade and supports pyGTK when I have some more programming experience...

Have a look at PIDA then or feel free to join the pyxides project at
that time: http://pyxides.stani.be

Stani

sjde...@yahoo.com

ungelesen,
19.04.2006, 15:16:2719.04.06
an
redefined...@gmail.com wrote:
> Is Python actively developed and supported on Linux?

Yes. In fact, Red Hat's installation and administration tools are
written in Python and have been for a decade (give or take a year or
two).

0 neue Nachrichten