You can always use jython. ;)
On 7/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
On Sun, 15 Jul 2007 at 22:28:08 -0700, Alex Martelli wrote:
> James T. Dennis <[EMAIL PROTECTED]> wrote:
>...
> > You can start writing all your code now as: print() --- calling
> > the statement as if
On Sun, 15 Jul 2007 at 22:28:08 -0700, Alex Martelli wrote:
> James T. Dennis <[EMAIL PROTECTED]> wrote:
>...
> > You can start writing all your code now as: print() --- calling
> > the statement as if it were a function. Then you're future Python
>
> ...except that your output format will
Anthony Irwin a écrit :
> Hi All,
>
(snip)
> Also does anyone else have any useful comments about python vs java
> without starting a flame war.
I guess I'd better not answer, then !-)
--
http://mail.python.org/mailman/listinfo/python-list
James T. Dennis <[EMAIL PROTECTED]> wrote:
...
> You can start writing all your code now as: print() --- calling
> the statement as if it were a function. Then you're future Python
...except that your output format will thereby become disgusting...:
>>> name = 'Alex'
>>> print 'Hello', name
I read in this thread lots of different (hopefully personal) opinions
on the question of Java vs Python,
so I thought I will post mines too (with the amendment that I am a
Java guy, spending there more than 10 years).
I don't think you can do a performance comparison upfront (without
having it com
Hamilton, William <[EMAIL PROTECTED]> wrote:
>> From: Beliavsky
> On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>>
>>> #5 someone said that they used to use python but stopped because the
>>> language changed or made stuff depreciated (I can fully remember
>>> which) and old code
On May 16, 2:21 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Thanks to all that replied.
>
> I saw on the python site a slide from 1999 that said that python was
> slower then java but faster to develop with is python still slower
> then java?
Short answer: It might be.
Long answer:
[EMAIL PROTECTED] wrote:
> Cameron Laird wrote:
>> In article <[EMAIL PROTECTED]>,
>> Terry Reedy <[EMAIL PROTECTED]> wrote:
>>> "Anthony Irwin" <[EMAIL PROTECTED]> wrote in message
>>> news:[EMAIL PROTECTED]
>> .
>> .
>> .
>>> | #5 som
Cameron Laird wrote:
> In article <[EMAIL PROTECTED]>,
> Terry Reedy <[EMAIL PROTECTED]> wrote:
> >
> >"Anthony Irwin" <[EMAIL PROTECTED]> wrote in message
> >news:[EMAIL PROTECTED]
> .
> .
> .
> >| #5 someone said that they used to
In article <[EMAIL PROTECTED]>,
Paul Melis <[EMAIL PROTECTED]> wrote:
.
.
.
>your program comes out on the other platforms. You could use a GUI
>toolkit that draws its own widgets instead of one that uses the native
>control
In article <[EMAIL PROTECTED]>,
Paul Melis <[EMAIL PROTECTED]> wrote:
>Anthony Irwin wrote:
>> 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 ja
In article <[EMAIL PROTECTED]>,
Terry Reedy <[EMAIL PROTECTED]> wrote:
>
>"Anthony Irwin" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
.
.
.
>| #5 someone said that they used to use python but stopped because t
> I tend to use the shebang #!/usr/bin/env python in my scripts so far
> but I imagine that having that would not work on say windows. Or is
> there some kind of file extension association for people running
> windows instead of the shebang?
The shebang is ignored in Windows (as far as I know). Th
In article <[EMAIL PROTECTED]>, Aahz <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>Anthony Irwin <[EMAIL PROTECTED]> wrote:
>>
>>#5 someone said that they used to use python but stopped because the
>>language changed or made stuff depreciated (I can fully remember
>>which) and old
[EMAIL PROTECTED] a écrit :
> On May 15, 5:16 pm, Bruno Desthuilliers
> <[EMAIL PROTECTED]> wrote:
>> Beliavsky a écrit :
>>
>>
>>
>>> On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>>>
#5 someone said that they used to use python but stopped because the
language changed or
On May 15, 2007, at 8:21 PM, Anthony Irwin wrote:
> I saw on the python site a slide from 1999 that said that python was
> slower then java but faster to develop with is python still slower
> then java?
I guess that all depends on the application. Whenever I have a
choice between using someth
Hi All,
Thanks to all that replied.
I noticed that someone said that the way you used regular expressions
changed at some point. That is probably what upset the person I was
talking to about python they are a huge perl fan and use regular
expressions heavily.
The reason for asking about the .
Duncan Booth wrote:
> "Hamilton, William " <[EMAIL PROTECTED]> wrote:
>
>>
>> No, they'll work just fine. They just won't work with Python 3.
>> It's not like the Python Liberation Front is going to hack into your
>> computer in the middle of the night and delete you 2.x installation.
>
> Is
On May 15, 5:16 pm, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> Beliavsky a écrit :
>
>
>
> > On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>
> >
>
> >>#5 someone said that they used to use python but stopped because the
> >>language changed or made stuff depreciated (I can ful
Beliavsky a écrit :
> On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>
>
>
>>#5 someone said that they used to use python but stopped because the
>>language changed or made stuff depreciated (I can fully remember
>>which) and old code stopped working. Is code written today likely t
In article <[EMAIL PROTECTED]>,
Anthony Irwin <[EMAIL PROTECTED]> wrote:
>
>#5 someone said that they used to use python but stopped because the
>language changed or made stuff depreciated (I can fully remember
>which) and old code stopped working. Is code written today likely to
>still work in
On May 15, 9:17 am, Ant <[EMAIL PROTECTED]> wrote:
...
> I can't remember what it is I use - I haven't got access to my server
> at the moment... But look in the cheese shop - I'm fairly sure it was
> from there. I'll post details if I remember. Alternatively this looks
> good (though I haven't tri
"Hamilton, William " <[EMAIL PROTECTED]> wrote:
>
> No, they'll work just fine. They just won't work with Python 3. It's
> not like the Python Liberation Front is going to hack into your
> computer in the middle of the night and delete you 2.x installation.
Is that a breakaway group from the P
sturlamolden wrote:
> On May 15, 7:29 pm, Beliavsky <[EMAIL PROTECTED]> wrote:
>
>> print "Hello, world."
>>
>> a substantial fraction of Python programs in existence, including all
>> of my programs, will be broken. Draw your own conclusions.
>
> In the vent that your Python 2.x install will be
On May 15, 7:29 pm, Beliavsky <[EMAIL PROTECTED]> wrote:
> print "Hello, world."
>
> a substantial fraction of Python programs in existence, including all
> of my programs, will be broken. Draw your own conclusions.
In the vent that your Python 2.x install will be fubar and suddenly
stop working
> #3 Is there any equivalent to jfreechart and jfreereport
> (http://www.jfree.orgfor details) in python.
I haven't used either extensively but you might check out ReportLab
for report generation (http://www.reportlab.org). And MatPlotLib for
creating plots, charts and graphs (http://matplotlib.so
> From: Beliavsky
On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>
>
>
> > #5 someone said that they used to use python but stopped because the
> > language changed or made stuff depreciated (I can fully remember
> > which) and old code stopped working. Is code written today likely
On May 15, 1:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
> #5 someone said that they used to use python but stopped because the
> language changed or made stuff depreciated (I can fully remember
> which) and old code stopped working. Is code written today likely to
> still work in 5+ years o
On May 15, 7:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
> #1 Does python have something like javas .jar packages.
Yes. .egg files.
> #2 What database do people recommend for using with python that is
> easy to distribute across linux, mac, windows.
Depends on your needs:
1. Berkely DB -
Anthony Irwin <[EMAIL PROTECTED]> writes:
> #1 Does python have something like javas .jar packages. A jar file
> contains all the program files and you can execute the program with
> java -jar program.jar
Python does this with eggs and distutils that copy your files into the
proper location. For
On 15 May, 07:30, Anthony Irwin <[EMAIL PROTECTED]> wrote:
>
> 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 .jar packages. A jar file
> contains all the prog
Anthony Irwin <[EMAIL PROTECTED]> wrote:
> #4 If I write a program a test it with python-wxgtk2.6 under linux are
> the program windows likely to look right under windows and mac?
wx adopts the native look and feel for the platform. I've used it
under linux and windows where it looks fine! I'
En Tue, 15 May 2007 05:43:36 -0300, Bruno Desthuilliers
<[EMAIL PROTECTED]> escribió:
>> Is code written today likely to still work
>> in 5+ years or do they depreciate stuff and you have to update?
>
> I still use code written more than five years ago.
Just as an example, PIL (Python Imaging L
Steven Howe a écrit :
(snip)
>>
> Flame war? Here amongst all the reasonable adults programmers? It never
> happens.
>
Lol ! +1 QOTW
--
http://mail.python.org/mailman/listinfo/python-list
Anthony Irwin a écrit :
> 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 .jar packages. A jar file
> contains all the program files and you can
>> #3 Is there any equivalent to jfreechart and jfreereport
>> (http://www.jfree.org for details) in python.
ChartDirector
http://www.advsofteng.com/download.html
Again, not free for commercial use, but very versatile.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
On May 15, 6:30 am, Anthony Irwin <[EMAIL PROTECTED]> wrote:
> #1 Does python have something like javas .jar packages. A jar file
> contains all the program files and you can execute the program with
> java -jar program.jar
As someone else has said, Python has eggs:
http://peak.telecommunity.com/
Anthony Irwin wrote:
> 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 .jar packages. A jar file
> contains all the program files and you can ex
Anthony Irwin wrote:
> 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 .jar packages. A jar file
> contains all the program files and you can exec
"Anthony Irwin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| #2 What database do people recommend for using with python that is
| easy to distribute across linux, mac, windows.
Check out the sqlite3 module. (But I have not used it yet).
| #5 someone said that they used to use
In <[EMAIL PROTECTED]>, Anthony Irwin wrote:
> #1 Does python have something like javas .jar packages. A jar file
> contains all the program files and you can execute the program with
> java -jar program.jar
There are .egg files but usually distributing a program consisting of
several files isn
41 matches
Mail list logo