Re: Java JMS and python

2020-04-14 Thread Julio Oña
Found this, it's old, but it's the code. I hope it helps. https://github.com/springpython/springpython Julio El mar., 14 de abr. de 2020 a la(s) 00:30, Sam (pyt...@net153.net) escribió: > > On 4/13/20 9:51 PM, Julio Oña wrote: > > Hi > > > > There is a tool for that (I didn't use it): > > http

Re: Java JMS and python

2020-04-13 Thread Sam
On 4/13/20 9:51 PM, Julio Oña wrote: Hi There is a tool for that (I didn't use it): https://docs.spring.io/spring-python/1.2.x/sphinx/html/jms.html Hope it works for you. Julio El lun., 13 de abr. de 2020 a la(s) 22:44, Chris Angelico (ros...@gmail.com) escribió: On Tue, Apr 14, 2020 at 11:2

Re: Java JMS and python

2020-04-13 Thread Julio Oña
Hi There is a tool for that (I didn't use it): https://docs.spring.io/spring-python/1.2.x/sphinx/html/jms.html Hope it works for you. Julio El lun., 13 de abr. de 2020 a la(s) 22:44, Chris Angelico (ros...@gmail.com) escribió: > > On Tue, Apr 14, 2020 at 11:20 AM Sam wrote: > > > > Hi, > > > >

Re: Java JMS and python

2020-04-13 Thread Chris Angelico
On Tue, Apr 14, 2020 at 11:20 AM Sam wrote: > > Hi, > > We are not a java shop and we are trying to interface with an API that > is "JMS only". We asked if it supported activeMQ or STOMP and they > replied that it is Sun JMS only. So what does that mean if we want to > communicate

Re: Java to Python autoconverters

2015-06-12 Thread Michael Torrie
On 06/12/2015 05:36 AM, Sebastian M Cheung via Python-list wrote: > Are these available? Any good ones to recommend? The only use case for such a program that I can think of is a compiler that is just using another language as an intermediate step, and that language is usually going to be compiled

Re: Java to Python autoconverters

2015-06-12 Thread Ian Kelly
On Jun 12, 2015 6:53 AM, "Stefan Behnel" wrote: > > Sebastian M Cheung via Python-list schrieb am 12.06.2015 um 13:36: > > Are these available? Any good ones to recommend? > > I recommend not doing that. You'd end up with ugly and unidiomatic Python > code that's impossible to maintain, whereas yo

Re: Java to Python autoconverters

2015-06-12 Thread Mark Lawrence
On 12/06/2015 12:36, Sebastian M Cheung via Python-list wrote: Are these available? Any good ones to recommend? Yes and no. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence -- https://mail.python.org/mailman/listinfo/pyt

Re: Java to Python autoconverters

2015-06-12 Thread Stefan Behnel
Sebastian M Cheung via Python-list schrieb am 12.06.2015 um 13:36: > Are these available? Any good ones to recommend? I recommend not doing that. You'd end up with ugly and unidiomatic Python code that's impossible to maintain, whereas you now (hopefully) have somewhat idiomatic Java code that sho

Re: Java

2014-07-19 Thread Scott Dunning
On Jul 18, 2014, at 8:19 PM, Dan Stromberg wrote: > There's comp.lang.java if you have an NNTP feed. > > There are also the OpenJDK mailing lists. > > I had a Java problem once - I'd decided to recode one of my Python > scripts into Java, just to demonstrate to myself that I could do i

Re: Java NIO server and Python asyncore client

2013-02-15 Thread Petri Heinilä
On Tuesday, February 5, 2013 10:09:28 AM UTC+2, foobar...@gmail.com wrote: > Can someone help answer this? > > http://stackoverflow.com/questions/14698020/java-nio-server-and-python-asyncore-client > > > > Blocking python client works, asyncore doesn't work. > There was return missing in writ

Re: Java NIO server and Python asyncore client

2013-02-05 Thread dieter
foobarome...@gmail.com writes: > Can someone help answer this? > http://stackoverflow.com/questions/14698020/java-nio-server-and-python-asyncore-client > > Blocking python client works, asyncore doesn't work. I fear you must tell us which Python version you are using. Your call to "dispatcher.cre

Re: Java singletonMap in Python

2012-09-24 Thread Mark Lawrence
On 24/09/2012 20:22, Devin Jeanpierre wrote: On Sun, Sep 23, 2012 at 7:14 PM, Mark Lawrence wrote: Purely for fun I've been porting some code to Python and came across the singletonMap[1]. I'm aware that there are loads of recipes on the web for both singletons e.g.[2] and immutable dictionari

Re: Java singletonMap in Python

2012-09-24 Thread Mark Lawrence
On 24/09/2012 18:33, Duncan Booth wrote: Steven D'Aprano wrote: On Mon, 24 Sep 2012 00:14:23 +0100, Mark Lawrence wrote: Purely for fun I've been porting some code to Python and came across the singletonMap[1]. I'm aware that there are loads of recipes on the web for both singletons e.g.[2]

Re: Java singletonMap in Python

2012-09-24 Thread Devin Jeanpierre
On Sun, Sep 23, 2012 at 7:14 PM, Mark Lawrence wrote: > Purely for fun I've been porting some code to Python and came across the > singletonMap[1]. I'm aware that there are loads of recipes on the web for > both singletons e.g.[2] and immutable dictionaries e.g.[3]. I was wondering > how to comb

Re: Java singletonMap in Python

2012-09-24 Thread 88888 Dihedral
Duncan Booth於 2012年9月25日星期二UTC+8上午1時33分31秒寫道: > Steven D'Aprano wrote: > > > > > On Mon, 24 Sep 2012 00:14:23 +0100, Mark Lawrence wrote: > > > > > >> Purely for fun I've been porting some code to Python and came across > > >> the singletonMap[1]. I'm aware that there are loads of recipes

Re: Java singletonMap in Python

2012-09-24 Thread Duncan Booth
Steven D'Aprano wrote: > On Mon, 24 Sep 2012 00:14:23 +0100, Mark Lawrence wrote: > >> Purely for fun I've been porting some code to Python and came across >> the singletonMap[1]. I'm aware that there are loads of recipes on >> the web for both singletons e.g.[2] and immutable dictionaries >> e

Re: Java singletonMap in Python

2012-09-23 Thread Steven D'Aprano
On Mon, 24 Sep 2012 00:14:23 +0100, Mark Lawrence wrote: > Purely for fun I've been porting some code to Python and came across the > singletonMap[1]. I'm aware that there are loads of recipes on the web > for both singletons e.g.[2] and immutable dictionaries e.g.[3]. I was > wondering how to c

Re: Java singletonMap in Python

2012-09-23 Thread Oscar Benjamin
On 24 September 2012 00:14, Mark Lawrence wrote: > Purely for fun I've been porting some code to Python and came across the > singletonMap[1]. I'm aware that there are loads of recipes on the web for > both singletons e.g.[2] and immutable dictionaries e.g.[3]. I was > wondering how to combine

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-15 Thread Dirk Olmes
On Fri, 12 Aug 2011 17:02:38 +, kj wrote: > *Please* forgive me for asking a Java question in a Python forum. My > only excuse for this no-no is that a Python forum is more likely than a > Java one to have among its readers those who have had to deal with the > same problems I'm wrestling with

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-13 Thread rav
On Aug 12, 1:35 pm, MRAB wrote: > On 12/08/2011 18:02, kj wrote: > > > > > > > > > > > *Please* forgive me for asking a Java question in a Python forum. > > My only excuse for this no-no is that a Python forum is more likely > > than a Java one to have among its readers those who have had to > > d

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Dan Stromberg
Check varargs (as another poster mentioned), and consider doing your unit tests in Jython. Some shops that don't want Python for production code are fine with Python for unit tests. However, if the reason for preferring java is type checking, you could perhaps get somewhere by suggesting pylint.

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Chris Angelico
On Fri, Aug 12, 2011 at 6:02 PM, kj wrote: > I ask myself, how does the journeyman Python programmer cope with > such nonsense? > Firstly, figure out how many combinations of optional arguments actually make sense. Any that don't, don't support. That may well cut it down significantly. And then,

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Miki Tebeka
You can probably do that with varargs. -- http://mail.python.org/mailman/listinfo/python-list

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Jeffrey Gaynor
One Java-eque solution is to pass in an object that has the arguments and build the validity logic into that object. So you have public class LimitsAndLevels{ float[] whatever = null; float anotherOne = 0.0; // or maybe some other overloaded value public float[] getWhatever(){ isValid

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Alain Ketterlin
kj writes: [...] >def quant(xs, nlevels=MAXN, xlim=MAXX): [...] > My Java implementation of it already requires at least 8 method > definitions, with signatures: (BTW, your approach won't work if several optionals have the same type.) [...] - use Integer, Float, etc. everywhere. The compile

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Billy Earney
Look into jython. You might be able to run your python code, directly in java. :) http://www.jython.org/ On Fri, Aug 12, 2011 at 12:02 PM, kj wrote: > > > > *Please* forgive me for asking a Java question in a Python forum. > My only excuse for this no-no is that a Python forum is more likely

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread MRAB
On 12/08/2011 18:02, kj wrote: *Please* forgive me for asking a Java question in a Python forum. My only excuse for this no-no is that a Python forum is more likely than a Java one to have among its readers those who have had to deal with the same problems I'm wrestling with. Due to my job, I

Re: Java is killing me! (AKA: Java for Pythonheads?)

2011-08-12 Thread Nathan Rice
public FooClass(String requiredArgument1, Long requiredArgument2, map yourOptionalArgumentMap) { ... } -- http://mail.python.org/mailman/listinfo/python-list

Re: Java Developer with Chordiant, Hyderabad

2010-06-10 Thread Evan Plaice
You do realize that this is a python and not Java usenet group right? You'd be better off checking out comp.lang.python -- http://mail.python.org/mailman/listinfo/python-list

Re: Java-to-Python?

2009-12-18 Thread Luis M . González
On Dec 18, 11:44 am, Virgil Stokes wrote: > I have a rather large Java package for the analysis of networks that I > would like to convert to Python. Many of the classes in the Java package > are "Serializable". > > Any recommendations on Java-to-Python (2.6) would be appreciated. > > --V Have yo

Re: Java-to-Python?

2009-12-18 Thread Tim Wintle
On Fri, 2009-12-18 at 15:44 +0100, Virgil Stokes wrote: > I have a rather large Java package for the analysis of networks that I > would like to convert to Python. Many of the classes in the Java package > are "Serializable". > > Any recommendations on Java-to-Python (2.6) would be appreciated.

Re: Java-style futures in Python - only better

2009-05-10 Thread Brian Quinlan
Colin J. Williams wrote: Brian, Since the word "future" is part of the Python lingo: A future statement is a directive to the compiler that a particular module should be compiled using syntax or semantics that will be available in a specified future release of Python. The future statement is

Re: Java to Python

2009-02-07 Thread Aleksandar Radulovic
Hi, On Sat, Feb 7, 2009 at 5:28 PM, zaheer agadi wrote: > Thanks Alex, > > Can you provide me more details on httplib and urllib ? The details can be found in Python documentation (http://python.org/doc), on these pages: http://docs.python.org/library/httplib.html I'm sure you can figure out t

Re: Java to Python

2009-02-07 Thread Aleksandar Radulovic
Hi, This looks like a perfect job for httplib and urllib2 modules. On Sat, Feb 7, 2009 at 4:49 PM, zaheer agadi wrote: > Hi Thanks for replying .. > I am actually looking for the pure Python options > > Are there any equivalent clasees for the following > > import org.apache.commons.httpclient.

Re: Java to Python

2009-02-07 Thread zaheer agadi
Hi Thanks for replying .. I am actually looking for the pure Python options Are there any equivalent clasees for the following import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.HttpException; import org.apache.commons.httpclient.contrib.ssl.EasySSLProtocolSock

Re: Java to Python

2009-02-07 Thread Banibrata Dutta
Jython is not an option ? On Sat, Feb 7, 2009 at 9:54 PM, wrote: > Hi > > I have a following class that is written Java and makes use of apache > http client library,I am new to python can any one suggest me a python > equivalent of this following class, > > Thanks , > > public class Authenticat

Re: Java or C++?

2008-05-06 Thread Issam
I need to help me.. please.. I have assingment for C++ programe-- http://mail.python.org/mailman/listinfo/python-list

Re: Java or C++?

2008-04-24 Thread Nicola Musatti
On Apr 21, 3:14 pm, NickC <[EMAIL PROTECTED]> wrote: > On Apr 15, 1:46 pm, Brian Vanderburg II <[EMAIL PROTECTED]> > wrote: [...] > Yeah, C++ does try to be helpful, and all of those automatic copy > constructor, assignment operator and destructor implementations screw > up royally when confronted

Re: Java or C++?

2008-04-23 Thread John Nagle
Bob Martin wrote: in 342367 20080414 074410 [EMAIL PROTECTED] wrote: Hello, I was hoping to get some opinions on a subject. I've been programming Python for almost two years now. Recently I learned Perl, but frankly I'm not very comfortable with it. Now I want to move on two (sic) either Java or

Re: Java or C++?

2008-04-22 Thread Stefan Behnel
hdante wrote: > 6. If you just want to speed-up your python programs or offer some > special, system-specific or optimized behavior to your python > applications, or you just want to complement your python knowledge, > learn C. "Learn C", ok, but then go and use Cython instead. Stefan -- http://

Re: Java or C++?

2008-04-22 Thread Bruno Desthuilliers
hdante a écrit : Summarizing the discussion (and giving my opinions), here's an "algorithm" to find out what language you'll leard next: 1. If you just want to learn another language, with no other essential concern, learn Ruby. 2. If you want to learn another language to design medium to lar

Re: Java or C++?

2008-04-21 Thread Dan Bishop
On Apr 21, 5:26 pm, Jorgen Grahn <[EMAIL PROTECTED]> wrote: > On Mon, 21 Apr 2008 06:14:08 -0700 (PDT), NickC <[EMAIL PROTECTED]> wrote: > > On Apr 15, 1:46 pm, Brian Vanderburg II <[EMAIL PROTECTED]> > > wrote: > >> This will automatically call the constructors of any contained objects > >> to ini

Re: Java or C++?

2008-04-21 Thread hdante
Summarizing the discussion (and giving my opinions), here's an "algorithm" to find out what language you'll leard next: 1. If you just want to learn another language, with no other essential concern, learn Ruby. 2. If you want to learn another language to design medium to large size applicatio

Re: Java or C++?

2008-04-21 Thread Jorgen Grahn
On Mon, 21 Apr 2008 06:14:08 -0700 (PDT), NickC <[EMAIL PROTECTED]> wrote: > On Apr 15, 1:46 pm, Brian Vanderburg II <[EMAIL PROTECTED]> > wrote: >> This will automatically call the constructors of any contained objects >> to initialize the string. The implicit assignment operator >> automatically

Re: Java or C++?

2008-04-21 Thread rustom
On Apr 14, 11:44 am, [EMAIL PROTECTED] wrote: > Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure w

Re: Java or C++?

2008-04-21 Thread NickC
On Apr 15, 1:46 pm, Brian Vanderburg II <[EMAIL PROTECTED]> wrote: > This will automatically call the constructors of any contained objects > to initialize the string. The implicit assignment operator > automatically performs the assignment of any contained objects. > Destruction is also automatic

Re: Java or C++?

2008-04-15 Thread Gabriel Ibanez
Hi all, I've never programmed Java. I started directly in C, then C++ and now using Python, mainly because its modules, because I found very hard to use and find external libraries to do the same as Python (i.e. to read an URL o send an email), and soften these libraries on C are not free or de

Re: Java or C++?

2008-04-15 Thread Michael Torrie
Ben Kaplan wrote: > The fact that C# is a .NET language is also a major weakness, since you can > only use it on Windows. Really? I have developed several C# .NET applications and I only use OS X and Linux. Guess I imagined it. Also, IronPython runs very well on Linux and OS X. If you'd said

Re: Java or C++?

2008-04-15 Thread Paul Anton Letnes
Well, if you're new - first find the function, then how to use it, this funny %d5 (or something, don't remember) syntax - it's hard compared to: cout << 5 or similar stream tricks, or just 5 + "" in Java, or just str(5) in Python. Anyway, small tasks are very hard for C newbies. Den 15. a

Re: Java or C++?

2008-04-15 Thread Grzegorz Słodkowicz
> You must be joking - better designed? C++ was a botch to an already poor > language. > Although I'm relatively new to the concept that C++ is too difficult to use, I would concede that with certain mindset and priorities Java may be a valid choice. Not so if one is willing to expand know

Re: Java or C++?

2008-04-15 Thread Ben Kaplan
The fact that C# is a .NET language is also a major weakness, since you can only use it on Windows. - Original Message From: Michael Torrie <[EMAIL PROTECTED]> To: python-list@python.org Sent: Tuesday, April 15, 2008 1:19:31 PM Subject: Re: Java or C++? egbert wrote: > Wh

Re: Java or C++?

2008-04-15 Thread lbonafide
On Apr 15, 11:55 am, egbert <[EMAIL PROTECTED]> wrote: > What is the role or position of C# in this context ? > If I remember well, some people have said that C# is an improved > C++ or Java. C# is more similar to Java than C++. Neither is very similar to C++, except in some cosmetic syntactic wa

Re: Java or C++?

2008-04-15 Thread lbonafide
On Apr 15, 3:07 am, Paul Anton Letnes <[EMAIL PROTECTED]> wrote: > but C bogs you down with administrative stuff (try converting an int   > to a string; I found myself googling for an hour!). It took an hour to find sprintf()? -- http://mail.python.org/mailman/listinfo/python-list

Re: Java or C++?

2008-04-15 Thread Michael Torrie
egbert wrote: > What is the role or position of C# in this context ? > If I remember well, some people have said that C# is an improved > C++ or Java. > e I think C# is in a great position, and might be recommended. C# has the added advantage of being able to very easily work with IronPython. Th

Re: Java or C++?

2008-04-15 Thread egbert
What is the role or position of C# in this context ? If I remember well, some people have said that C# is an improved C++ or Java. e -- Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991 -- http://mail.

Re: Java or C++?

2008-04-15 Thread Michael Mabin
I'm shocked. I've seen no mention of Smalltalk at all. Which should be soo oobvious! ;) I would take an incremental approach. Learn Java first, since it is still OO, offers a rich set of libraries for just about every task but requires a bit more work. C++ requires that you do more work still (

Re: Java or C++?

2008-04-15 Thread Ivan Illarionov
On 15 апр, 07:46, Brian Vanderburg II <[EMAIL PROTECTED]> wrote: [...] > C has the advantage that it does not to anything behind your back. This > is very useful especially for any form of system development or where > you must know exactly what is going on. It is still possible to do > 'object o

Re: Java or C++?

2008-04-15 Thread Paul Anton Letnes
Brian: Impressive! This is the most balanced, well-informed and interesting reply to this debate. I would like to make some comments even so. I have tried all languages, and consider myself agnostic. However, I would like to roughly repeat what James Gosling (Java inventor) said at a lectu

Re: Java or C++?

2008-04-15 Thread Bob Martin
in 342436 20080414 160208 =?UTF-8?B?R3J6ZWdvcnogU8WCb2Rrb3dpY3o=?= <[EMAIL PROTECTED]> wrote: >> Hello, I was hoping to get some opinions on a subject. I've been >> programming Python for almost two years now. Recently I learned Perl, >> but frankly I'm not very comfortable with it. Now I want to

Re: Java or C++?

2008-04-14 Thread Brian Vanderburg II
> My idea, if you really love Python and never think about erasing it > from your mind, go for C (not C++). A script language plus C can solve > every problem you need to solve. Also Python works pretty fine with C. I agree mostly with this one. Scripting is very nice when writing an applicatio

Re: Java or C++?

2008-04-14 Thread 王宁
My idea, if you really love Python and never think about erasing it from your mind, go for C (not C++). A script language plus C can solve every problem you need to solve. Also Python works pretty fine with C. If you want a better job, maybe Java. Not sure though. If you want to educate yourself a

Re: Java or C++?

2008-04-14 Thread Carl Banks
On Apr 14, 2:44 am, [EMAIL PROTECTED] wrote: > Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure wh

Re: Java or C++?

2008-04-14 Thread Grzegorz Słodkowicz
> Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure which. Which one do you think > is a softer tr

Re: Java or C++?

2008-04-14 Thread lbonafide
On Apr 14, 1:44 am, [EMAIL PROTECTED] wrote: > Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure wh

Re: Java or C++?

2008-04-14 Thread lbonafide
On Apr 14, 2:24 am, bdsatish <[EMAIL PROTECTED]> wrote: > On Apr 14, 12:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > > > in 342367 20080414 074410 [EMAIL PROTECTED] wrote: > > > >Hello, I was hoping to get some opinions on a subject. I've been > > >programming Python for almost two years now. Rec

Re: Java or C++?

2008-04-14 Thread Marco Mariani
[EMAIL PROTECTED] wrote: > Which one do you think will educate me the best? Advanced javascript might teach you something too, and be very useful at the same time. Take a look at the Crockford lessons on Yahoo! Video. http://video.yahoo.com/watch/111593 http://video.yahoo.com/watch/111594 htt

Re: Java or C++?

2008-04-14 Thread Robert Bossy
[EMAIL PROTECTED] wrote: > Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure which. Which one do yo

Re: Java or C++?

2008-04-14 Thread Marc 'BlackJack' Rintsch
On Mon, 14 Apr 2008 00:49:13 -0700, xakee wrote: > Well if you need an easier transition, go for java. But personally i > would recommend you to go for C/C++. What's that C/C++!? C and C++ are quite different languages. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/l

Re: Java or C++?

2008-04-14 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : > Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure which. Which one do

Re: Java or C++?

2008-04-14 Thread xakee
On Apr 14, 11:44 am, [EMAIL PROTECTED] wrote: > Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure w

Re: Java or C++?

2008-04-14 Thread Brian
On Mon, Apr 14, 2008 at 3:24 AM, bdsatish <[EMAIL PROTECTED]> wrote: > On Apr 14, 12:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > > in 342367 20080414 074410 [EMAIL PROTECTED] wrote: > > > > >Hello, I was hoping to get some opinions on a subject. I've been > > >programming Python for almost two

Re: Java or C++?

2008-04-14 Thread bdsatish
On Apr 14, 12:21 pm, Bob Martin <[EMAIL PROTECTED]> wrote: > in 342367 20080414 074410 [EMAIL PROTECTED] wrote: > > >Hello, I was hoping to get some opinions on a subject. I've been > >programming Python for almost two years now. Recently I learned Perl, > >but frankly I'm not very comfortable with

Re: Java or C++?

2008-04-14 Thread Bob Martin
in 342367 20080414 074410 [EMAIL PROTECTED] wrote: >Hello, I was hoping to get some opinions on a subject. I've been >programming Python for almost two years now. Recently I learned Perl, >but frankly I'm not very comfortable with it. Now I want to move on >two either Java or C++, but I'm not sure

Re: Java Developer Exploring Python

2006-04-19 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] 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). -- http://mail.python.org/mailman/listinfo/python-list

Re: Java Developer Exploring Python

2006-04-19 Thread SPE - Stani's Python Editor
> 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

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, 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 gu

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Aahz
In article <[EMAIL PROTECTED]>, Jon Ribbens <[EMAIL PROTECTED]> 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 "Py

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Fredrik Lundh
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

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, 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,

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-19 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, 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? -- http://mail.python.org/mailman/listinfo/python-list

RE: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Delaney, Timothy (Tim)
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. fil

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Chris Lambacher
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 +, Jon Ribbens wrote: > In article <[EMAIL PROTECTED]>, Aahz wrote: > > On that front, I think that pysqlite is much more importan

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Aahz
In article <[EMAIL PROTECTED]>, Jon Ribbens <[EMAIL PROTECTED]> wrote: >In article <[EMAIL PROTECTED]>, 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

Re: Java Developer Exploring Python

2006-04-18 Thread Carl J. Van Arsdall
Jarek Zgoda wrote: > [EMAIL PROTECTED] 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

Re: Java Developer Exploring Python

2006-04-18 Thread Jarek Zgoda
[EMAIL PROTECTED] 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 t

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Fredrik Lundh
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 stan

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Jon Ribbens
In article <[EMAIL PROTECTED]>, 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

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Jorge Godoy
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 Berkele

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Aahz
In article <[EMAIL PROTECTED]>, Jorge Godoy <[EMAIL PROTECTED]> wrote: >Aahz wrote: >> In article <[EMAIL PROTECTED]>, >> Roy Smith <[EMAIL PROTECTED]> wrote: >>> >>>Indeed, I think the inclusion of ctypes is far and away the most exciting >>>thing in 2.5. >> >> Really? More than pysqlite? > >T

Re: 2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Jorge Godoy
Aahz wrote: > In article <[EMAIL PROTECTED]>, > Roy Smith <[EMAIL PROTECTED]> 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

2.5 excitement (was Re: Java Developer Exploring Python)

2006-04-18 Thread Aahz
In article <[EMAIL PROTECTED]>, Roy Smith <[EMAIL PROTECTED]> wrote: >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (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 >>

Re: Java Developer Exploring Python

2006-04-18 Thread bruno at modulix
[EMAIL PROTECTED] 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 co

Re: Java Developer Exploring Python

2006-04-18 Thread Renato
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 -- ht

Re: Java Developer Exploring Python

2006-04-17 Thread Roy Smith
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (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 exci

Re: Java Developer Exploring Python

2006-04-17 Thread Alex Martelli
Ravi Teja <[EMAIL PROTECTED]> 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.

Re: Java Developer Exploring Python

2006-04-17 Thread redefined . horizons
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

Re: Java Developer Exploring Python

2006-04-17 Thread Ravi Teja
>> 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 op

Re: Java RMI-like services in Python

2005-07-18 Thread Maurice LING
Thank you Harald and Alan, Pyro seems to be used widely in this area but PyLinda is much cleaner and simpler to use. However, given that the object or class to be executed by execution machines are not known at development time, I wish to seek you advice on remote class loading. Can an object

Re: Java RMI-like services in Python

2005-07-18 Thread Alan Kennedy
[Maurice LING] > I am wondering if Python has services or frameworks that does the same > as Java RMI? As Harald mentioned, Pyro is firmly in the "Remote Method Invocation" space. And there's always CORBA, of which there are multiple python and java implementations. Which might be useful, if yo

Re: Java RMI-like services in Python

2005-07-18 Thread Harald Massa
Maurice LING <[EMAIL PROTECTED]> wrote in news:dbfmbq$e49$1 @domitilla.aioe.org: > I am wondering if Python has services or frameworks that does the same > as Java RMI? google for pyro Harald -- http://mail.python.org/mailman/listinfo/python-list

  1   2   >