Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Corey Richardson
On Sun, 10 Jun 2012 21:46:50 -0700 (PDT) Broad Liyn wrote: > of course java is the best option in my opinion.There is no need to > provide many evidences that java is better than c# because its > advantages are really obvious. > Not as obvious as you'd imagine... I can't think of many. -- Cor

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Broad Liyn
在 2012年6月10日星期日UTC+8上午6时44分44秒,Yesterday Paid写道: > I'm planning to learn one more language with my python. > Someone recommended to do Lisp or Clojure, but I don't think it's a > good idea(do you?) > So, I consider C# with ironpython or Java with Jython. > It's a hard choice...I like Visual studio(

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread rusi
On Jun 10, 6:40 pm, Matej Cepl wrote: > On 10/06/12 00:44, Yesterday Paid wrote: > > > I'm planning to learn one more language with my python. > > Just my personal experience, but after passively learning many many > languages, I came to the conclusion that I (and I suppose many others) > am able

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread rusi
On Jun 10, 4:52 pm, Dietmar Schwertberger wrote: > Am 10.06.2012 08:16, schrieb rusi:> This is worth a read in this > context:http://osteele.com/archives/2004/11/ides > > > I've read the article. It presents some nice ideas, but probably the > author has not used Python before. > Otherwise he w

Re: Strange Problem with pythonw.exe

2012-06-10 Thread Terry Reedy
On 6/10/2012 7:39 PM, a...@vorsicht-bissig.de wrote: Thank you for your help. I found the problem at some other place. The registry tweaks didn't solve it. But I found the hint to look up my .idlerc folder. So the problem was entirely IDLE related (yes, it worked before). But it wasnt PyQt'S pro

Re: [Q] How to specify options for 'setup.py install' by environment variable?

2012-06-10 Thread Makoto Kuwata
On Sun, Jun 10, 2012 at 3:51 PM, Ned Deily wrote: >> >> Thank you Ned, >> but I can't find environment variable name on that page which is >> equivarent to '--install-scripts' or other options. > > Sorry, I wasn't clear.  Using the Distutils config files would be > instead of setting environment v

Re: Strange Problem with pythonw.exe

2012-06-10 Thread asa
> > Hello subscribers, > > > > I've recently encountered a strange problem with Python for Windows. > > I'm using Windows 7 Pro 64 Bit and Python 3.2.3 64 Bit (also tried 32 > > bit). The Problem is, that pythonw.exe does not work at all! > > Therefore no IDLE for me... But python.exe runs just fi

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Chris Angelico
On Mon, Jun 11, 2012 at 5:37 AM, Dietmar Schwertberger wrote: > Chris Angelico wrote (in two posts): > >> There was a time when that was a highly advertisable feature - "build >> XYZ applications without writing a single line of code!". I've seen it >> in database front-end builders as well as GUI

Re: Passing ints to a function

2012-06-10 Thread Rick Johnson
On Jun 9, 3:29 am, Jussi Piitulainen wrote: > Here's something you could have thought of for yourself even when you > didn't remember that Python does have special built-in support for > applying a function to a list of arguments: > > def five(func, args): >    a, b, c, d, e = args >    return fu

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Paul Rubin
Matej Cepl writes: > I know that, and it lies on my badtable for some time already, but I > just never got enough excited about the idea yet. Python is just much > more fun. Here is an exercise from the book that you might like to try in Python: http://mitpress.mit.edu/sicp/full-text/book/book

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Matej Cepl
On 10/06/12 22:40, Paul Rubin wrote: You might start with Abelson and Sussman's classic book: http://mitpress.mit.edu/sicp I know that, and it lies on my badtable for some time already, but I just never got enough excited about the idea yet. Python is just much more fun. Matěj -- http://

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Rick Johnson
On Jun 10, 2:36 pm, Rick Johnson wrote: > # > # Or become a pro and create reusable objects! > # > class LE(tk.Frame): >     def __init__(self, master, **kw): >         tk.Frame.__init__(self, master) >         self.l = tk.Label(self, **kw) >         self.l.pack(side=LEFT) >    

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Paul Rubin
Matej Cepl writes: > Well, I could at least passively read many languages (starting with > Pascal, C, and unsuccessful attempt to learn Prolog, so even > statically typed languages are not that mysterious to me), I wouldn't count Pascal or C as statically typed in any interesting way. C++ (templ

err: A cool new chatbot written and extensible in python

2012-06-10 Thread Guillaume BINET
Hi all, We have released a cool extensible chatbot for your development teams chatrooms. At my current company we have a ton of fun with it so we have decided to spread the love and release it as an open source project. Of course it is written and extensible in Python. Feel free to give it a try

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Dietmar Schwertberger
Am 10.06.2012 21:36, schrieb Rick Johnson: It is possible. Try Tkinter for the "get-you-from-a-to-b" solution, or, wxPython if you like fog lamps, heated seats, and navigation systems. I prefer wx or Qt. The look and feel is one reason. But the fact that Tkinter is still the standard GUI toolki

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Dietmar Schwertberger
(Sorry for posting without references to the previous messages, but it seems that many messages don't get through to the nntp server that I'm using.) Chris Angelico wrote (in two posts): > There was a time when that was a highly advertisable feature - "build > XYZ applications without writing a

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Rick Johnson
On Jun 9, 8:25 am, Dietmar Schwertberger wrote: > Before anyone now writes "Good GUIs are coded by hand": > I agree, but for many purposes only simple GUIs are required > and it should be possible to create these without studying manuals > (on toolkit and GUI editor). It is possible. Try Tkinte

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Matej Cepl
On 10/06/12 18:32, Paul Rubin wrote: Really, that's only if the new language is pretty much the same as the old ones, in which case you haven't really learned much of anything. Languages that use interesting new concepts are challenges in their own right. Well, I could at least passively read m

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Rick Johnson
On Jun 8, 7:27 am, Wolfgang Keller wrote: > This whole cycle of "design GUI"->"generate code"->add own code to > generated code"->"run application with GUI" has always seemed very > un-pythonic to me. A dynamic, interpreted language should allow to work > in a more "lively", "direct" way to build

Re: what gui designer is everyone using

2012-06-10 Thread Rick Johnson
On Jun 7, 4:18 pm, Kevin Walzer wrote: > On 6/5/12 10:10 AM, Mark R Rivet wrote: > > > I want a gui designer that writes the gui code for me. I don't want to > > write gui code. what is the gui designer that is most popular? > None. I write GUI code by hand (Tkinter). I second that notion. Writi

Re: Nexus Programming Language

2012-06-10 Thread Rick Johnson
On Jun 10, 12:45 am, rusi wrote: > On Jun 10, 7:46 am, Adam Campbell wrote: > > > The Nexus programming language version 0.5.0 has been released. It is > > an "object-oriented, dynamically-typed, reflective programming > > language", drawing from Lua and Ruby.www.nexuslang.org > > What does nexus

Re: Nexus Programming Language

2012-06-10 Thread Rick Johnson
On Jun 10, 7:21 am, "Colin J. Williams" wrote: > On 10/06/2012 1:45 AM, rusi wrote: > > What does nexus have that python doesn't? > > Yeah I know this kind of question leads to flames but a brief glance > > at the about page does not tell me anything in this direction. > > It has a more complex bl

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Kevin Walzer
On 6/8/12 8:27 AM, Wolfgang Keller wrote: What "GUI designer" would come the closest to the way that Cocoa's Interface Builder works? I.e. is there any one (cross-platform) that allows to actually "connect" the GUI created directly to the code and make it available "live" in an IDE? If you're d

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Paul Rubin
Matej Cepl writes: > The point is that you are never interested in learning *a language*, > everybody who has at least some touch with programming can learn most > languages in one session in the afternoon. Really, that's only if the new language is pretty much the same as the old ones, in which

Re: PyDoc - Python Documentation Plugin for Eclipse

2012-06-10 Thread Alexey Gaidamaka
On Sun, 10 Jun 2012 05:02:35 -0500, Andrew Berg wrote: > On 6/10/2012 4:22 AM, Alexey Gaidamaka wrote: >> Practically the plugin is a simple html archive from python >> documentation website running >> inside Eclipse so you can call it using Eclipse help system. As for now >> it is pretty large (

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Chris Angelico
On Sun, Jun 10, 2012 at 11:40 PM, Matej Cepl wrote: > Just my personal experience, but after passively learning many many > languages, I came to the conclusion that I (and I suppose many others) am > able to learn only one platform well. The point is that you are never > interested in learning *a

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Matej Cepl
On 10/06/12 00:44, Yesterday Paid wrote: I'm planning to learn one more language with my python. Just my personal experience, but after passively learning many many languages, I came to the conclusion that I (and I suppose many others) am able to learn only one platform well. The point is tha

Another non blocking method in thread

2012-06-10 Thread Prashant
Hi, I have created a very simple client-server model using sockets. Server is created by sub classing threading.thread. The 'run' method is continuously listening for client's response. When server send a string to client, client response back by changing that string into uppercase. I would lik

Re: Nexus Programming Language

2012-06-10 Thread Colin J. Williams
On 10/06/2012 1:45 AM, rusi wrote: On Jun 10, 7:46 am, Adam Campbell wrote: The Nexus programming language version 0.5.0 has been released. It is an "object-oriented, dynamically-typed, reflective programming language", drawing from Lua and Ruby.www.nexuslang.org What does nexus have that pyt

looking for a python script disk/storage benchmark

2012-06-10 Thread tbaror
Hi All, I am started to write a utility (python 3.x) to test storage/disk benchmark , my thought were using binary buffered Io, but i would like to see if there any script out there written so i would use as template searching via Google found only one but not what exactly what i am looking for.

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread becky_lewis
My mistake about Lisp being purely functional (I have very little experience with common Lisp itself), though Clojure is. That doesn't change my point, to which you appear to agree, Lisp and Clojure teach folks a different way of approaching problems, which is always useful :) On Jun 10, 12:25 pm,

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Dietmar Schwertberger
Am 10.06.2012 08:16, schrieb rusi: This is worth a read in this context: http://osteele.com/archives/2004/11/ides So which language would you suggest to use next? ;-) I've read the article. It presents some nice ideas, but probably the author has not used Python before. Otherwise he would have

Re: which one do you prefer? python with C# or java?

2012-06-10 Thread Harald Hanche-Olsen
[becky_lewis ] > Lisp and Clojure are functional languages. No, they're not. But you can (and often will) do quite a bit of functional programming in Lisp, as it lends itself quite naturally to that way of thinking. But in (Common) Lisp you also have CLOS, which is a rather different way to do

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Arnaud Delobelle
On 10 June 2012 07:16, rusi wrote: > This is worth a read in this context: http://osteele.com/archives/2004/11/ides Interesting! I definitely fall nicely at one extreme of this dichotomy. Every time I've tried to use an IDE, it's made me feel inadequate and I've quickly retreated to my comfort

Re: PyDoc - Python Documentation Plugin for Eclipse

2012-06-10 Thread Andrew Berg
On 6/10/2012 4:22 AM, Alexey Gaidamaka wrote: > Practically the plugin is a simple html archive from python > documentation website running > inside Eclipse so you can call it using Eclipse help system. > As for now it is pretty large (~7 mb), but i'm planning to optimize it > in near future. Rath

PyDoc - Python Documentation Plugin for Eclipse

2012-06-10 Thread Alexey Gaidamaka
Greets! Since i'm new to Python, i've decided to create a handy plugin for Elipse SDK which is my primary dev environment. Practically the plugin is a simple html archive from python documentation website running inside Eclipse so you can call it using Eclipse help system. As for now it is pr

PyDoc - Python Documentation Plugin for Eclipse

2012-06-10 Thread Alexey Gaidamaka
Greets! Since i'm new to Python, i've decided to create a handy plugin for Elipse SDK which is my primary dev environment. Practically the plugin is a simple html archive from python documentation website running inside Eclipse so you can call it using Eclipse help system. As for now it is pr