Re: UCALC equivalent

2005-08-12 Thread Dark Cowherd
thx, Well moving to Python from another language needs lots of chanegs inside your head. -- DarkCowherd -- http://mail.python.org/mailman/listinfo/python-list

UCALC equivalent

2005-08-12 Thread Dark Cowherd
http://www.ucalc.com/mathparser/index.html There is a great library called UCALC which allows you to set up an expression and evaluate it for e.g. you an define an expression by calling a function in UCALC then call it with various values of x for e.g. see this page http://www.ucalc.com/mathparse

Re: Standards not standard

2005-08-02 Thread Dark Cowherd
> > I really think that the community needs a lot more of STANDARDS not > > a STANDARD GUI > > Standards happen in one of two ways. Either an 800-lb gorrilla > establishes them by fiat, or a group of people interested in having > their code play well together hashes out something after they've all

Standards not standard

2005-07-31 Thread Dark Cowherd
Hi, Multiple threads running currently about reinventing the wheel, Multiple GUI's etc. Being able to write a usable GUI is key task for all programmers today - read. ESR's http://www.catb.org/~esr/writings/cups-horror.html And look at ESR's reason to come over to Python - he wanted to write a GUI

Python language ver 2.4 , development platform 0.4

2005-07-30 Thread Dark Cowherd
The Python language is at ver 2.4 and a thing of beauty. As a development environment IMHO it is probably 0.4 I really like what I read when I say "import this" in Python. But as a development environment - TOOWTDI and "batteries included" are just not true. I would like to place my position in

Re: Ten Essential Development Practices

2005-07-29 Thread Dark Cowherd
I am new to Python. I tried it out and think it is fantastic. I really loved this from import this statements: There should be one-- and preferably only one --obvious way to do it. But this not true of Python. GUI, Web development, Application Framework - it is shambles. It is so frustrating fo

Re: [Pythoncard-users] Grid problems

2005-07-25 Thread Dark Cowherd
> > info = dbc.fetchall() > > > self.dbTable=DBTable(¿?¿?¿?¿?) ß here is where I have problems, I > used cursor, argument but no data shown > Hmm, Not sure, but isnt the data in the variable 'info' try self.dbTable = info -- Dark Cow

Re: First app, thanks people

2005-07-25 Thread Dark Cowherd
Hmm, I was looking at the code as I am also learning Python. In case you are interested in bug report. class LineTool method OnLeftUp needs self.done = True or else if you are in Line mode and you just click with out moving the mouse you get an error. DarkCowherd -- http://mail.python.org

Re: Getting a dictionary from an object

2005-07-24 Thread Dark Cowherd
> voiceless-ly'rs What does this mean?? Just curious (googled that and ly'rs and didnt find anything relevant) -- Dark Cowherd -- http://mail.python.org/mailman/listinfo/python-list

Re: Python vs. Access VBA

2005-07-23 Thread Dark Cowherd
an handle terabytes of data. -- Dark Cowherd -- http://mail.python.org/mailman/listinfo/python-list

Re: smtplib

2005-07-23 Thread Dark Cowherd
ease. > > Do you know any idea about this change? > > Regards > > -- > http://mail.python.org/mailman/listinfo/python-list > > If you are using Windows there is no SMTP server running on localhost by default so you may be getting an error. If you post

Re: What is your favorite Python web framework?

2005-07-23 Thread Dark Cowherd
s. Would going past the learning curve allow me to write applications like that. -- Dark Cowherd -- http://mail.python.org/mailman/listinfo/python-list

Re: email format in python

2005-07-19 Thread Dark Cowherd
This seems to give reasonable results. import re pattern = r'[EMAIL PROTECTED],4}\b' pattobj = re.compile(pattern) ps = pattobj.search if ps(stringtocheck): But as lots of people have already told you on this list. This should only be used to give a warning and not prevent the use of that p

Re: Fwd: Should I use "if" or "try" (as a matter of speed)?

2005-07-12 Thread Dark Cowherd
OK, I can see that the Python way of doing things is very different. However I think Roy made a very pertinent point "Imagine if do_setup_code or do_stuff_with(f) unexpectedly threw an IOError for some reason totally unrelated to the file not existing." This is the kind of situation that the rule '

Re: Help with inverted dictionary

2005-07-12 Thread Dark Cowherd
As Steven said this looks too much like home work But what the heck I am also learning python. So I wrote a small program. A very small program. I am fairly new to Python, I am stunned each time to see how small programs like this can be. Since I am also learning can somebody comment if anything h

Fwd: Should I use "if" or "try" (as a matter of speed)?

2005-07-12 Thread Dark Cowherd
I use Delphi in my day job and evaluating and learning Python over the weekends and spare time. This thread has been very enlightening to me. The comments that Joel of Joel on Software makes here http://www.joelonsoftware.com/items/2003/10/13.html was pretty convincing. But I can see from the comm

Why does reply to messages on this list put the sender in the To

2005-07-12 Thread Dark Cowherd
Most lists when i hit reply it puts the list address back in the To address and some lists allow you to configure this. But in this list reply sends the mail back as a private mail and there seems to be no option to configure this. Am I missing something DarkCowherd -- http://mail.python.org/mai

Re: Should I use "if" or "try" (as a matter of speed)?

2005-07-11 Thread Dark Cowherd
> > def joels_function(args): >error_result = 0 >good_result = None >process(args) >if error_condition(): >error_result = -1 # flag for an error >elif different_error_conditon(): >error_result = -2 >else: >more_processing() >if another_error

Re: Should I use "if" or "try" (as a matter of speed)?

2005-07-09 Thread Dark Cowherd
http://www.joelonsoftware.com/items/2003/10/13.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Considering moving from Delphi to Python [Some questions]

2005-07-04 Thread Dark Cowherd
Stupid of me. I want some feedback on folllwing: anybody who has experience in writing SOAP servers in Python and data entry heavy web applications. Any suggestions? darkcowherd On 7/4/05, Dark Cowherd <[EMAIL PROTECTED]> wrote: > Hi, > > We program in Delphi in our shop and are

Considering moving from Delphi to Python [Some questions]

2005-07-04 Thread Dark Cowherd
Hi, We program in Delphi in our shop and are generally very happy with it. We are now looking at cross-platform options especially for middle tier and web server. I have been doing a lot of reading and testing of Python, I am falling in love with the language :-) But seems to be be very difficul