Re: Is Python like VB?

2005-03-18 Thread Tom Willis
On 18 Mar 2005 07:22:05 -0800, scattered [EMAIL PROTECTED] wrote: Tim Roberts wrote: Mike Cox [EMAIL PROTECTED] wrote: As you may or may not know, Microsoft is discontinuing Visual Basic in favor of VB.NET and that means I need to find a new easy programming language. I heard that

Re: Is Python like VB?

2005-03-18 Thread Tom Willis
On Fri, 18 Mar 2005 15:45:10 -0500, Tom Willis [EMAIL PROTECTED] wrote: On Fri, 18 Mar 2005 20:20:19 +, Steve Horsley [EMAIL PROTECTED] wrote: scattered wrote: You are right that VBA isn't being discontinued yet. My own interest in learning python is to find a replacement for Excel

Re: Is Python like VB?

2005-03-18 Thread Tom Willis
On Fri, 18 Mar 2005 20:20:19 +, Steve Horsley [EMAIL PROTECTED] wrote: scattered wrote: You are right that VBA isn't being discontinued yet. My own interest in learning python is to find a replacement for Excel VBA. I'm a mathematician who likes to throw quick programs together for

Re: Good use for Jython

2005-03-16 Thread Tom Willis
On 15 Mar 2005 23:54:16 -0800, Mike Wimpe [EMAIL PROTECTED] wrote: Other than being used to wrap Java classes, what other real use is there for Jython being that Python has many other GUI toolkits available? Also, these toolkits like Tkinter are so much better for client usage (and faster)

Re: About Databases...

2005-03-11 Thread Tom Willis
On Fri, 11 Mar 2005 23:32:48 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello NG, I am still quite a newbie with Python (I intensely use wxPython, anyway). I would like to know what are, in your opinions, the best/faster databases that I could use in Python (and, of course, I

Re: modifiable config files in compiled code?

2005-03-10 Thread Tom Willis
10 Mar 2005 06:02:22 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi All, I've been trying to come up with an elegant solution to this problem, but can't seem to think of anything better than my solution below. I have a Python program that needs to be converted into an executable.

Re: modifiable config files in compiled code?

2005-03-10 Thread Tom Willis
On Thu, 10 Mar 2005 13:01:28 -0500, Steve Holden [EMAIL PROTECTED] wrote: Larry Bates wrote: Note: my comments assume Windows distribution. Why do you think you can't you have a config file after you convert your program to an executable? I do it all the time and so do many I suspect

Re: modifiable config files in compiled code?

2005-03-10 Thread Tom Willis
ConfigParser works on linux I'm pretty sure. I just ran Ipython imported it and loaded a config file. I don't remember anything in the docs that said otherwise. I would prefer an xml style config file myself. But I can get by with and ini right now. The logging framework seems to me to be the

windows bat file question

2005-03-01 Thread Tom Willis
I'm trying to get pylint running on windows and the bat file for it seems a little screwy. I'm hoping someone may have figured this out already. rem = -*-Python-*- script @echo off rem DOS section rem You could set PYTHONPATH or TK environment variables

Re: windows bat file question

2005-03-01 Thread Tom Willis
On Tue, 01 Mar 2005 10:12:29 -0500, Peter Hansen [EMAIL PROTECTED] wrote: Tom Willis wrote: I'm trying to get pylint running on windows and the bat file for it seems a little screwy. I'm hoping someone may have figured this out already. ... All I get is the python prompt, the lines

Re: Dealing with config files what's the options

2005-02-25 Thread Tom Willis
On Fri, 25 Feb 2005 15:02:04 -0700, Dave Brueck [EMAIL PROTECTED] wrote: Jorgen Grahn wrote: On Tue, 22 Feb 2005 20:38:28 -0500, Tom Willis [EMAIL PROTECTED] wrote: How are the expert pythoneers dealing with config files? ... Any ideas? How about writing them in Python

Re: python tutorial/projects

2005-02-24 Thread Tom Willis
On 24 Feb 2005 02:06:24 -0800, Fuzzyman [EMAIL PROTECTED] wrote: I'm looking for people to work on a couple of projects... online bookmarks manager for example Regards, Fuzzy http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list

Re: Interesting decorator use.

2005-02-24 Thread Tom Willis
On Thu, 24 Feb 2005 11:15:07 -0800, Scott David Daniels [EMAIL PROTECTED] wrote: I have started doing the following to watch for exceptions in wxPython. I'd like any input about (A) the interface, and (B) the frame before I throw it in the recipes book. import wx, os, sys

Re: Interesting decorator use.

2005-02-24 Thread Tom Willis
On Thu, 24 Feb 2005 15:00:46 -0700, Steven Bethard [EMAIL PROTECTED] wrote: Tom Willis wrote: Question on decorators in general. Can you parameterize those? If I wanted to something and after the function call for example, I would expect something like this would work. def

Re: Interesting decorator use.

2005-02-24 Thread Tom Willis
On Thu, 24 Feb 2005 15:20:30 -0700, Steven Bethard [EMAIL PROTECTED] wrote: Tom Willis wrote: Question on decorators in general. Can you parameterize those? Wow thanks for the explanation!! Some of it is a bit mind bending to me at the moment , but I'm going to mess with it a bit. Oh

Re: Dealing with config files what's the options

2005-02-23 Thread Tom Willis
On Wed, 23 Feb 2005 20:15:47 +, Phil Jackson [EMAIL PROTECTED] wrote: Tom Willis [EMAIL PROTECTED] writes: How are the expert pythoneers dealing with config files? You could use the cPickle module if you don't mind your config files being unreadable by humans. There is also the shlex

Re: searching pdf files for certain info

2005-02-22 Thread Tom Willis
I tried that for something not python related and I was getting sporadic spaces everywhere. I am assuming this is not the case in your experience? On Tue, 22 Feb 2005 10:45:09 -0500, rbt [EMAIL PROTECTED] wrote: Andreas Lobinger wrote: Aloha, rbt wrote: Thanks guys... what if I

Re: python tutorial/projects

2005-02-22 Thread Tom Willis
I found this one helpful http://diveintopython.org/ and this one http://ibiblio.org/obp/thinkCS/python/english/ Just found this one http://hetland.org/python/instant-python and this page has links to many more. http://www.python.org/doc/Intros.html And because I'm a huge Bruce Eckel fan.

Re: python tutorial/projects

2005-02-22 Thread Tom Willis
and static thrown everywhere. It's still good information though. On Tue, 22 Feb 2005 18:56:24 -0500, Tom Willis [EMAIL PROTECTED] wrote: I found this one helpful http://diveintopython.org/ and this one http://ibiblio.org/obp/thinkCS/python/english/ Just found this one http://hetland.org

Re: searching pdf files for certain info

2005-02-22 Thread Tom Willis
flaky commercial tool. And if I can do it with free stuff, all the better my boss will love me. On Tue, 22 Feb 2005 11:31:16 -0500, rbt [EMAIL PROTECTED] wrote: Tom Willis wrote: I tried that for something not python related and I was getting sporadic spaces everywhere. I am assuming

Re: searching pdf files for certain info

2005-02-22 Thread Tom Willis
Ah that makes sense. I only see the behavior in pdftotext. ps2ascii doesn't give me the layout , which for my purposes, I certainly need. Thanks for the info, Looks like I'll keep searching for that silver bullet.:( On Tue, 22 Feb 2005 20:07:50 -0500, rbt [EMAIL PROTECTED] wrote: Tom Willis

Re: Dealing with config files what's the options

2005-02-22 Thread Tom Willis
Thanks, I'm not too keen on the ini layout. But it's good to know it's there. On Wed, 23 Feb 2005 14:50:27 +1300, Tony Meyer [EMAIL PROTECTED] wrote: How are the expert pythoneers dealing with config files? [...] You can just import ConfigParser, or look at the various alternatives:

WebServices/SOAP/Zolera Arghhhhhhhhh!!!!!!...not so much

2005-02-18 Thread Tom Willis
I am not a SOAP/Web Services expert!! But I had to interface with some webservice code here at work. I was reading on the net the complextypes didn't work or were finnicky etc Well I managed to get it to work on Zolera 1.7. First the code generated from the wsdl didn't work without some

Re: low-end persistence strategies?

2005-02-16 Thread Tom Willis
Sounds like you want pickle or cpickle. On Tue, 15 Feb 2005 19:00:31 -0800 (PST), Paul Rubin http://phr.cx@nospam.invalid wrote: I've started a few threads before on object persistence in medium to high end server apps. This one is about low end apps, for example, a simple cgi on a personal

Re: Python UPS / FedEx Shipping Module

2005-02-14 Thread Tom Willis
the specs, lot's of hoops to jump through to contiuously be certified. I guess I care anyway because the problem domain is so interesting to me. Maybe it's because I'm running a fever. :) Thanks for the info. On Mon, 14 Feb 2005 09:51:35 -0500, Gabriel Cooper [EMAIL PROTECTED] wrote: Tom Willis

Re: wxPython OGL future

2005-02-14 Thread Tom Willis
What are you looking to do exactly? I don't know what OGL is. On Mon, 14 Feb 2005 16:50:51 -0800 (PST), PD [EMAIL PROTECTED] wrote: Hi Everyone, I am sort of a new developer to python and working in an academic environment. I climbed the learning curve on wxPython far enough to get the

Re: Python UPS / FedEx Shipping Module

2005-02-12 Thread Tom Willis
Are the modules just accessing the published apis for their webservices? I'm just wondering because I used to work for a logistics mgmt company that paid money to be a strategic partner with FedEx/UPS/Airborn etc so that they could information on how to return rates/print labels/generate

Re: Unit Testing in Python

2005-02-11 Thread Tom Willis
I've had great experience doing Test Driven Development. Ideally you would do it from the start, but it is great for refactoring as well. In any language. One of the pitfalls to look out for is to not get too hung up on it. In the end it's just a tool you use at your discretion. When I first

Re: Unit Testing in Python

2005-02-10 Thread Tom Willis
Neat the original poster shows up as a potential Phisher with a nice big red warning in gmail. Due to some funky header fakedness. Don't give them your SSN. :) I have a related question. What is PyDoc? I see it come up alot in searches for Unit testing and python, but I've never gotten around

Re: Unit Testing in Python

2005-02-10 Thread Tom Willis
It could be a bug in gmail. I wasn't actually accusing you, just thought it was funny enough to point out. Of course you could be more sarcastic than me who knows. :) I'm not worried though. I believe the best strategy against Identity theft is bad credit. So question , do you see the big red

Re: Python and version control

2005-02-09 Thread Tom Willis
I'll throw in my reccomendation for svn as well. It just works. On Wed, 09 Feb 2005 14:01:33 -0800 (PST), Timo Virkkala [EMAIL PROTECTED] wrote: Carl wrote: What is the ultimate version control tool for Python if you are working in a Windows environment? I would very much recommend

Re: win32com/makepy question

2005-01-28 Thread Tom Willis
Wow Thanks I didn't even know about the gencache that's is exactly what I was hoping for. On Fri, 28 Jan 2005 09:06:15 -, Tim Golden [EMAIL PROTECTED] wrote: [Tom Willis] | It seems in COM late binding is something that should be | avoided if possible. | | Because python seems

win32com/makepy question

2005-01-27 Thread Tom Willis
Just a general question. It seems in COM late binding is something that should be avoided if possible. Because python seems to be really good at doing thing dynamically I'm wondering why no one has figured out how to make the functionality in makepy fire automagically when you need it. For