Re: Python Newbie

2005-07-16 Thread johng2001
The usual order I recommed is ... http://honors.montana.edu/~jjc/easytut/easytut/ http://www.ibiblio.org/obp/thinkCSpy/ http://docs.python.org/tut/tut.html Ron's list is quite a good place for tutorials http://www.awaretek.com/tutorials.html -- http://mail.python.org/mailman/listinfo/python-lis

Re: Another newbie question from Nathan.

2005-07-10 Thread johng2001
Nathan Pinno wrote: > Hi all, > > How do I make Python get a def? Is it the "get" function, or something > else? I need to know so that I can get a def for that computer > MasterMind(tm) game that I'm writing. > > BTW, I took your advice, and wrote some definitions for my Giant > Calculator pro

Re: Favorite non-python language trick?

2005-06-24 Thread johng2001
John Machin wrote: > James wrote: > > Interesting thread ... > > > > 1.) Language support for ranges as in Ada/Pascal/Ruby > > 1..10 rather than range(1, 10) > > Did you mean 1..9 or 1...10 or both or neither? You are right. There is a difference. 1..10 == range(1, 10 + 1) > Can this construct be

Re: JPype and classpath (Was Re: embedding jython in CPython... )

2005-01-23 Thread johng2001
Thanks for the response. However, I continue to have problems. Allow me to give some more detail. For simplicity of testing, I hard coded the classpath and JVM path (BTW getDefaultJVMPath() returns None on my system) import os, os.path from jpype import * startJVM("C:/jdk1.5.0/jre/bin/client/jvm

Re: embedding jython in CPython...

2005-01-22 Thread johng2001
> As for using JPype ... well it depends on what you want to script. if > you Java code is the main app, I'd eschew CPython completely and use > Jython to script. If you main app is in Python, and the Java code is > "simply" libraries you wish to use, then I'f go with CPython + Jpype. It > is very

Re: RPC with Python - Comparison?

2004-12-06 Thread johng2001
> Candidates could be: > > - Pyro > - Twisted.spread > - OSE (XML-RPC) > - ICE > - ...others? Anyone has any insights on REST Vs SOAP/XML-RPC? I have seen these debates else where on the web. Just want to know what the view point here is. -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Patents 'IsNot'

2004-12-02 Thread johng2001
All the VB fans I know have not experienced Delphi. They just don't know what they are missing. I am sure there are people who actually chose VB, but not any one I know. When I marvelled at VB myself, it was back when I myself was unaware of Delphi/C++ Builder. I used to think C++ programming on Wi

Re: Delphi underrated, IDE clues for Python

2004-12-02 Thread johng2001
Yes! Boa goes a long way. I have been using it for almost 2 1/2 years now. But it does not come close to the comfort of Delphi. But then of course, Delphi is not just a WYSIWYG GUI designer. VCL is very advanced compared to GUI toolkits available for Python. The community has over the years created