473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Java Developer Exploring Python

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

Apr 17 '06 #1
25 2107
>> 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/Integrat...ntEnvironments
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.

Apr 17 '06 #2

Ravi Teja 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.
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/Integrat...ntEnvironments
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.


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

Apr 17 '06 #3
Ravi Teja <we*********@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/Integrat...ntEnvironments
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
Apr 18 '06 #4
In article <1h*****************************@yahoo.com>,
al*****@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.
Apr 18 '06 #5
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

Apr 18 '06 #6
re****************@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 'o****@xiludom.gro'.split('@')])"
Apr 18 '06 #7
In article <ro***********************@reader1.panix.com>,
Roy Smith <ro*@panix.com> wrote:
In article <1h*****************************@yahoo.com>,
al*****@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.


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

"LL YR VWL R BLNG T S"
Apr 18 '06 #8
Aahz wrote:
In article <ro***********************@reader1.panix.com>,
Roy Smith <ro*@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.
Apr 18 '06 #9
In article <12****************@jupiter.g2ctech>,
Jorge Godoy <go***@ieee.org> wrote:
Aahz wrote:
In article <ro***********************@reader1.panix.com>,
Roy Smith <ro*@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.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"
Apr 18 '06 #10
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 :-)

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

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
Apr 18 '06 #11
In article <e2**********@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?
Apr 18 '06 #12
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>

Apr 18 '06 #13
re****************@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/
Apr 18 '06 #14
Jarek Zgoda wrote:
re****************@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
cv*********@mvista.com
Build and Release
MontaVista Software

Apr 18 '06 #15
In article <sl***********************@snowy.squish.net>,
Jon Ribbens <jo********@unequivocal.co.uk> wrote:
In article <e2**********@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?


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.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"
Apr 18 '06 #16
At least on windows. PySqlite is statically linked with the sqlite library.
This can be done because it is quite small.

-Chris

On Tue, Apr 18, 2006 at 06:51:24PM +0000, Jon Ribbens wrote:
In article <e2**********@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?
--
http://mail.python.org/mailman/listinfo/python-list

Apr 18 '06 #17
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
Apr 19 '06 #18
In article <ma***************************************@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?
Apr 19 '06 #19
In article <ma***************************************@python. org>, Fredrik Lundh 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.


"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".
Apr 19 '06 #20

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.

Apr 19 '06 #21
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>

Apr 19 '06 #22
In article <sl***********************@snowy.squish.net>,
Jon Ribbens <jo********@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".
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

"LL YR VWL R BLNG T S"
Apr 19 '06 #23
In article <ma***************************************@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.
Apr 19 '06 #24
> 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

Apr 19 '06 #25
re****************@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).

Apr 19 '06 #26

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dave Brueck | last post by:
Below is some information I collected from a *small* project in which I wrote a Python version of a Java application. I share this info only as a data point (rather than trying to say this data...
9
by: vegetax | last post by:
I was a java developer one year ago ,before i moved to python i realy liked it at the beggining, but i got very disapointed lately since my previus two python proyects where relatively big,and...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
25
by: wee | last post by:
I've been using Java for a few years now and am just amazed at how many new "technologies" or tools come out all the time (i.e., Struts, Java Server Faces, JMeter, jad, etc.). It is nigh impossible...
9
by: Stephen H. | last post by:
Hi, I have an existing web application with java beans that I wanne migrate to ASP.NET using C#. The existing web application has some jsp files that use java beans as follows: .... <%@...
11
by: redefined.horizons | last post by:
I wanted to thank those members of the Python community that took the time to answer my questions about interfaces and plug-ins in Python. I have discovered that Python is a very powerful language,...
31
by: gavino | last post by:
both are interpreted oo langauges......
34
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.