Re: Writing portable applications (Was: Jargons of Info Tech industry)

2005-08-27 Thread Mike Meyer
Rich Teer [EMAIL PROTECTED] writes: On Sat, 27 Aug 2005, Mike Meyer wrote: I think you're right - a web standard designed for writing real applications probably wouldn't start life as a markup for text. The only thing I can think of that even tries is Flash, but it's What about Java? Using

Re: variable hell

2005-08-26 Thread Mike Meyer
://mail.python.org/mailman/listinfo/python-list -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-08-26 Thread Mike Meyer
John Bokma [EMAIL PROTECTED] writes: Paul Rubin http://[EMAIL PROTECTED] wrote: Mike Meyer [EMAIL PROTECTED] writes: Another advantage is that evewry internet-enabled computer today already comes with an HTML renderer (AKA browser) No, they don't. Minimalist Unix distributions don't

Re: Jargons of Info Tech industry

2005-08-26 Thread Mike Meyer
is required. Some of the things you list are a danger even without HTML; most modern news/mail readers will follow links in flat ascii. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more

Re: Jargons of Info Tech industry

2005-08-26 Thread Mike Meyer
to web sites, just like it does to everything else. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-08-26 Thread Mike Meyer
version, as well as making it work on proprietary workstation OS's. Of course, considering the state of most of the HTML on the web, I have *no* idea why most of them are doing this. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW

Re: Jargons of Info Tech industry

2005-08-26 Thread Mike Meyer
available like xrn and xvnews. It may be that the site you were at only offered a few readers. But that's a different issue. All of this is from memory, of course - and may well be wrong. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW

Re: global interpreter lock

2005-08-26 Thread Mike Meyer
the problems and look for solutions, because some problems can't be solved with async I/O. That's why I posted the article titled Static vs. dynamic checking for support of concurrent programming - I'm trying to find out if one potential solution could be adapted for Python. mike -- Mike

Re: Jargons of Info Tech industry

2005-08-25 Thread Mike Meyer
in your news and mail readers. JavaScript, Java, and any form of object embedding. Oh yeah, and frames. No problem. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http

Static vs. dynamic checking for support of concurrent programming

2005-08-25 Thread Mike Meyer
separate variables as such? Thanks, mike -- MIKE Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: global interpreter lock

2005-08-24 Thread Mike Meyer
Bryan Olson [EMAIL PROTECTED] writes: Mike Meyer wrote: Bryan Olson writes: Mike Meyer wrote: The rule I follow in choosing my tools is Use the least complex tool that will get the job done. Even if a more complex tool could do the job better? In that case, the simpler model

Re: Jargons of Info Tech industry

2005-08-23 Thread Mike Meyer
on. But given that most of the people sending around formatted text are using point-n-click GUIs to create the stuff, the main advantage of HTML - that it's easy to write by hand - isn't needed. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce

Re: global interpreter lock

2005-08-22 Thread Mike Meyer
Paul Rubin http://[EMAIL PROTECTED] writes: Mike Meyer [EMAIL PROTECTED] writes: Even simpler to program in is the model used by Erlang. It's more CSP than threading, though, as it doesn't have shared memory as part of the model. But if you can use the simpler model to solve your problem

Re: global interpreter lock

2005-08-22 Thread Mike Meyer
Dennis Lee Bieber [EMAIL PROTECTED] writes: On Sat, 20 Aug 2005 22:30:43 -0400, Mike Meyer [EMAIL PROTECTED] declaimed the following in comp.lang.python: with these issues. If I ever find myself having to have non-trivial threads again, I'll check the state of the threading models in other

Re: while c = f.read(1)

2005-08-22 Thread Mike Meyer
, that might be the time to look into this. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: global interpreter lock

2005-08-20 Thread Mike Meyer
Donn Cave [EMAIL PROTECTED] writes: Quoth Paul Rubin http://[EMAIL PROTECTED]: | Mike Meyer [EMAIL PROTECTED] writes: | The real problem is that the concurrency models available in currently | popular languages are still at the goto stage of language | development. Better models exist, have

Re: global interpreter lock

2005-08-20 Thread Mike Meyer
Bryan Olson [EMAIL PROTECTED] writes: Mike Meyer wrote: The real problem is that the concurrency models available in currently popular languages are still at the goto stage of language development. Better models exist, have existed for decades, and are available in a variety

Re: Python jobs

2005-08-19 Thread Mike Meyer
-- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: global interpreter lock

2005-08-19 Thread Mike Meyer
on almost the same topic, lamenting that diagnostic tools in popular programming languages pretty much sucked, being at best no better than they were 30 years ago. The two together seem to indicate that something is fundamentally broken somewhere. -- Mike Meyer [EMAIL PROTECTED] http

Re: Save Binary data.

2005-08-19 Thread Mike Meyer
the file in that subdirectory. Easy to do programmatically, it's still easy to find files by hand, and you can make it as fine-grained as you want. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email

Re: BeautifulSoup

2005-08-19 Thread Mike Meyer
htmlAnchor.transformString( inputHTML ) How well does it deal with other attributes in front of the href, like A onClick=... href=...? How about if my HTML has things that look like HTML in attributes, like TAG ATTRIBUTE=stuffA HREF=stuff? Thanks, mike -- Mike Meyer [EMAIL PROTECTED

Re: time.clock() problem under linux (precision=0.01s)

2005-08-18 Thread Mike Meyer
should use the timeit module, which chooses the correct timer to use for the platform it's running on, as well as working around a number of other things that trip up people trying to benchmark code. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm

Re: creating/modifying sparse files on linux

2005-08-18 Thread Mike Meyer
be true for anything claiming to be Unix. The results on systems that break this aren't pretty. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman

Re: python html

2005-08-18 Thread Mike Meyer
isn't well-formed (which is probably true for most of the stuff on the web), you need a more understanding parser. I'd look into using BeatifulSoup for this, though Iv'e only used it to extract information from web pages, not to modify them. mike -- Mike Meyer [EMAIL PROTECTED

Re: Library vs Framework

2005-08-17 Thread Mike Meyer
Peter Decker [EMAIL PROTECTED] writes: On 8/16/05, Mike Meyer [EMAIL PROTECTED] wrote: Well, they may have created a library class that does the job for them. Figuring out which is which seemed to be the point of this thread. I guess my summary of the thread was that a library is built

Re: Library vs Framework

2005-08-16 Thread Mike Meyer
which is which seemed to be the point of this thread. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: open links in a html page

2005-08-16 Thread Mike Meyer
; } The other alternative is to translate the above into Python, and run that code. JavaScript lets you do some really cool effects. It pretty much sucks for any program that wants to read the page, though - your parser, search engines, etc. mike -- Mike Meyer [EMAIL PROTECTED

Re: Invoking GUI for app running in background with a keypress

2005-08-15 Thread Mike Meyer
a finished product. I use it heavily on a daily basis. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Printing to printer

2005-08-12 Thread Mike Meyer
configuration should transate whatever format you feed it to something the printer can print. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman

Re: Writing a small battleship game server in Python

2005-08-12 Thread Mike Meyer
-- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is this?

2005-08-12 Thread Mike Meyer
the operators on lists and numbers is that the symbols got overloaded for both types. The operators on lists aren't commutative, aren't associative, and don't have inverses. Given that, the surprising thing is that S + S is the same as S * 2 as often as it is. mike -- Mike Meyer [EMAIL PROTECTED

Re: What are modules really for?

2005-08-12 Thread Mike Meyer
be: Everything you can manipulate is an instance of a class or a type. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Running one Python program from another as a different user

2005-08-12 Thread Mike Meyer
, and the setuid man page. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python supports LSP, does it?

2005-08-11 Thread Mike Meyer
. The LSP is more strict than that. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Printing literal text of an argument

2005-08-11 Thread Mike Meyer
via introspection (see the help for the inspect module for more details). I'm not sure if there's a similar way to figure out what the globals were at the point that debug is called. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW

Re: Python supports LSP, does it?

2005-08-10 Thread Mike Meyer
is Eiffel's contracts. Eiffel's DbC has been picked up by other languages. D and SPARK come to mind. In a broader sense, a couple of Python frameworks support interfaces, which basically guarantee subtyping at the same level as Liskov's CLU language does. mike -- Mike Meyer [EMAIL

Re: Recommendations for CVS systems

2005-08-10 Thread Mike Meyer
software, with excellent support, from people who really understand both software development and the open source software movement. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information

Re: Is there a way of executing a command in a string?

2005-08-10 Thread Mike Meyer
is a *dangerous* function. Don't use it on data that you aren't 100% sure of the origin of. Better yet, avoid it if at all possible. If you'll tell us why you think you need to do this, possibly we can help you avoid using exec. mike -- Mike Meyer [EMAIL PROTECTED] http

Re: What are modules really for?

2005-08-10 Thread Mike Meyer
. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python supports LSP, does it?

2005-08-09 Thread Mike Meyer
. The wikipedia was really abusing the phrase LSP. I've corrected the wikipedia. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python

Re: Recommendations for CVS systems

2005-08-09 Thread Mike Meyer
In [EMAIL PROTECTED], François Pinard [EMAIL PROTECTED] typed: [Mike Meyer] [...] I generally wind up cursing at [subversion] at least once a day. Would you accept elaborating a bit on the motivations of the cursing? Your message says Perforce does nice things, one might fuzzily imply

Re: Decline and fall of scripting languages ?

2005-08-08 Thread Mike Meyer
reasonably fast code for. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Wheel-reinvention with Python

2005-08-07 Thread Mike Meyer
Dennis Lee Bieber [EMAIL PROTECTED] writes: On 06 Aug 2005 17:27:33 -0700, Paul Rubin http://[EMAIL PROTECTED] declaimed the following in comp.lang.python: Mike Meyer [EMAIL PROTECTED] writes: Is there a free language you consider successful? I can't think of any that are a lot more (i.e

Re: Fat and happy Pythonistas

2005-08-07 Thread Mike Meyer
Dennis Lee Bieber [EMAIL PROTECTED] writes: On Sat, 06 Aug 2005 21:37:54 -0400, Mike Meyer [EMAIL PROTECTED] declaimed the following in comp.lang.python: The concensus of this group is a *long* way from the debate has moved on. I agree that it's the concensus of this group

Proposed new collection methods

2005-08-06 Thread Mike Meyer
reduce vanish. These have probably been proposed before, but under other names. If so, I'd appreciate pointers to the discussion. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information

Re: Fat and happy Pythonistas (was Re: Replacement for keyword 'global' good idea? ...)

2005-08-06 Thread Mike Meyer
John Roth [EMAIL PROTECTED] writes: Mike Meyer [EMAIL PROTECTED] wrote in message What I want to see in Python 3000 is an AST based language that lets the editors do the pretty printing. Do you want automatic indenting or would you prefer end statements? It's an editor formatting option

Re: Fat and happy Pythonistas (was Re: Replacement for keyword 'global' good idea? ...)

2005-08-06 Thread Mike Meyer
Peter Hansen [EMAIL PROTECTED] writes: Mike Meyer wrote: John Roth [EMAIL PROTECTED] writes: The world is moving on, in ways that I think you're not seeing. And Python is standing still in many of those same ways. I find it hilarious that this arrived at my news server the same day that Peter

Re: Wheel-reinvention with Python

2005-08-05 Thread Mike Meyer
Torsten Bronger [EMAIL PROTECTED] writes: Hallöchen! Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes

Re: The ONLY thing that prevents me from using Python

2005-08-05 Thread Mike Meyer
ISPs will find out that Python is popular is if potential customers tell them they need it. So if they say no, be *sure* and tell them you won't be using them because of that. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD

Re: Replacement for keyword 'global' good idea? (e.g. 'modulescope' or 'module' better?)

2005-08-05 Thread Mike Meyer
that would be much worse than global. For one thing, most variables would be local whether or not they are declared. Second, having an indication that you need to check module globals in the function is a better than not having that clue there. mike -- Mike Meyer [EMAIL PROTECTED

Re: Wheel-reinvention with Python

2005-08-04 Thread Mike Meyer
In [EMAIL PROTECTED], Cliff Wells [EMAIL PROTECTED] typed: On Thu, 2005-08-04 at 01:04 -0400, Mike Meyer wrote: Right. Let's go back to the original question: What's the app I use on Unix that acts like py2exe on Windows and py2app on Unix? Here's where I ask *you* to stop being an ass

Re: Python IDE's

2005-08-04 Thread Mike Meyer
commands, it has a chance of working. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: pain

2005-08-04 Thread Mike Meyer
at compile time (well, some of the time, anyway), the jython code will have to do a method search at run time. Chance are, if you're supposed to be wwriting in Java, your application isn't sensitive enough to the performance of the code for this to matter. mike -- Mike Meyer [EMAIL PROTECTED

Re: Wheel-reinvention with Python

2005-08-04 Thread Mike Meyer
Torsten Bronger [EMAIL PROTECTED] writes: Hallöchen! Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: [...] You didn't answer the question about how you define agile project

Re: Wheel-reinvention with Python

2005-08-03 Thread Mike Meyer
Cliff Wells [EMAIL PROTECTED] writes: On Tue, 2005-08-02 at 20:17 -0400, Mike Meyer wrote: Um - you're not answering the question I asked. I asked What app do I use to bundle my applications for Unix, ala py2exe (or whatever it is) for Windows? You're telling me how to install wxPython

Re: Wheel-reinvention with Python

2005-08-03 Thread Mike Meyer
Torsten Bronger [EMAIL PROTECTED] writes: Hallöchen! Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Because such projects attract the greatest number of developers, many of them being amongst the most diligent developers, too. I expect this to have

Re: Wheel-reinvention with Python

2005-08-03 Thread Mike Meyer
Cliff Wells [EMAIL PROTECTED] writes: On Wed, 2005-08-03 at 09:47 -0400, Mike Meyer wrote: Cliff Wells [EMAIL PROTECTED] writes: On Tue, 2005-08-02 at 20:17 -0400, Mike Meyer wrote: Um - you're not answering the question I asked. I asked What app do I use to bundle my applications for Unix

Re: Wheel-reinvention with Python

2005-08-03 Thread Mike Meyer
Mike Meyer [EMAIL PROTECTED] writes: I think you'll find that wxPython installs perfectly on Tiger using the package provided. Indeed, the only really painful platform to install wxPython on is Linux, where you pretty much need to build from source if you want the latest and greatest. FWIW

Re: Standards not standard

2005-08-03 Thread Mike Meyer
is that this GOOD THING must propogate into other areas like GUI and the Web Toolkits. Good idea. Are you willing to write the standard, and at least one GUI toolkit implementation to show that it's workable? mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm

Re: Wheel-reinvention with Python

2005-08-02 Thread Mike Meyer
to build an application bundle for all those Unix systems for a Python app I use that includes wxPython - or any other third party libraries I may be using. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant

Re: Wheel-reinvention with Python

2005-08-02 Thread Mike Meyer
Jorge Godoy [EMAIL PROTECTED] writes: Mike Meyer wrote: In fact this sounds more like a joke I've heard a while ago: standards, if you don't like the ones out there, create your own. Works for me. What works for you? You believe that chaos is better than having standards? I believe

Re: Wheel-reinvention with Python

2005-08-02 Thread Mike Meyer
[EMAIL PROTECTED] (phil hunt) writes: On Tue, 02 Aug 2005 00:42:53 -0400, Mike Meyer [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (phil hunt) writes: In practise any Python GUI is going to contain code from otyher languages since if it was coded all the way down in python it would be too slow

Re: Wheel-reinvention with Python

2005-08-02 Thread Mike Meyer
Torsten Bronger [EMAIL PROTECTED] writes: Hallöchen! Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: [...] I'm interested in a language with a big community. This is my definition of success. [...] GUI applications seem to be the most attractive

Re: Wheel-reinvention with Python

2005-08-02 Thread Mike Meyer
probably copy THE over to my FreeBSD box and try it there. thanks, mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python

Re: Wheel-reinvention with Python

2005-08-01 Thread Mike Meyer
Cliff Wells [EMAIL PROTECTED] writes: On Sun, 2005-07-31 at 14:58 -0400, Mike Meyer wrote: And what do I use to bundle my application for Unix? Most of the things I build get installed on Unix servers. You install GUI apps on Unix *servers*? Yup. Thanks to the wonders of X, I can run GUI

Re: Wheel-reinvention with Python

2005-08-01 Thread Mike Meyer
Jorge Godoy [EMAIL PROTECTED] writes: Mike Meyer wrote: We already have multiple distributions of Python: CPython, IronPython, and Jython (and there's at least one more). We even have multiple distributions of CPython, what with Active State doing their own and the MacPython distribution

Re: Wheel-reinvention with Python

2005-08-01 Thread Mike Meyer
Torsten Bronger [EMAIL PROTECTED] writes: Hallöchen! Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: [...] None of us has talked about changing syntax. However, the standard library is part of the language unless you're really very petty. Or you use

Re: Wheel-reinvention with Python

2005-08-01 Thread Mike Meyer
- and is plenty fast. Of course, it doesn't do a lot of graphics work, even for a window manager. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman

Re: Wheel-reinvention with Python

2005-08-01 Thread Mike Meyer
to work very hard on it. If the dependencies will build out of the box - cool. If not - I have lots of other things to do. -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http

Re: Standards not standard

2005-08-01 Thread Mike Meyer
all taken a crack at implementing it. The latter is slowly happening in the Python community. But it's a slow process. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http

Re: Wheel-reinvention with Python

2005-07-31 Thread Mike Meyer
Torsten Bronger [EMAIL PROTECTED] writes: Hallöchen! Mike Meyer [EMAIL PROTECTED] writes: Torsten Bronger [EMAIL PROTECTED] writes: Calvin Spealman [EMAIL PROTECTED] writes: The choice is GUI toolkits is largely seperate from Python. Consider that they are just bindings to libraries

Re: Wheel-reinvention with Python

2005-07-31 Thread Mike Meyer
Cliff Wells [EMAIL PROTECTED] writes: On Sun, 2005-07-31 at 00:59 -0400, Mike Meyer wrote: I don't particularly like Tkinter, but it seems to me that it's pretty much won. It seems to be installed on every desktop platform along with Python. That means that if I want to distribute GUI apps

Re: Wheel-reinvention with Python

2005-07-31 Thread Mike Meyer
Jorge Godoy [EMAIL PROTECTED] writes: Mike Meyer wrote: [ Having GUI stuff included on a standard installation of Python ] However, you can get compilers for both that come bundled with a good GUI library. Could it be that that's what you really want - someone to distribute Python bundled

Re: Wheel-reinvention with Python

2005-07-31 Thread Mike Meyer
nothing about batteries. Nah, using Tkinter is pythonic because practicality beats purity. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman

Re: multiple inheritance super()

2005-07-31 Thread Mike Meyer
Michele Simionato [EMAIL PROTECTED] writes: Mike Meyer: I think you're replying to me, but you didn't include any indication so I can't be sure. Oops, sorry, yes, I was replying to you. These two are cases of what I was talking about when I referred to the Church-Turing thesis. Well, let

Re: A replacement for lambda

2005-07-30 Thread Mike Meyer
[EMAIL PROTECTED] (Bengt Richter) writes: On Fri, 29 Jul 2005 18:07:31 -0400, Mike Meyer [EMAIL PROTECTED] wrote: I know, lambda bashing (and defending) in the group is one of the most popular ways to avoid writing code. However, while staring at some Oz code, I noticed a feature that would seem

Re: Wheel-reinvention with Python

2005-07-30 Thread Mike Meyer
that if I want to distribute GUI apps, I'm going to cause the least headache for my end users by writing them in Tkinter. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information

Re: multiple inheritance super()

2005-07-30 Thread Mike Meyer
Python. I wouldn't bet on it happening. They seem to violate explicit is better than implicit. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman

Re: writing a web client

2005-07-29 Thread Mike Meyer
string. Done return ''.join(get_contents(x) for x in ele) mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: multiple inheritance super()

2005-07-29 Thread Mike Meyer
the implementation of the child - that's simply ugly. Also, it creates an apparent relationship between all the most abstract classes that doesn't really exist. Do you have a proposed solution that doesn't have these problems? mike -- Mike Meyer [EMAIL PROTECTED] http

A replacement for lambda

2005-07-29 Thread Mike Meyer
, but the the others can't. Giving clases the same functionality seems to be the reasonable thing to do. It's symmetric. And if anonymous function objects are good, then anonymous class objects ought to be good as well. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home

Re: Block-structured resource handling via decorators

2005-07-29 Thread Mike Meyer
thing. The question is whether having to turn your scope into a function to do this is more trouble than it's worth. I'd certainly be interested in seeing the implementation. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD

Re: monitor a folder for file creation, how?

2005-07-28 Thread Mike Meyer
assume you're on Windows - and I can't help you with this one. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: multiple inheritance super()

2005-07-27 Thread Mike Meyer
://fuhm.org/super-harmful/ . It's got some good practical advice on using super in your code. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo

Re: [OT] Problems with permissions etc

2005-07-27 Thread Mike Meyer
. The exact command will depend on your distro. It's probably one of rpm or apt-get, but might be emerge, or maybe even port. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http

Re: searching string url

2005-07-27 Thread Mike Meyer
to get it into a mail merge. That depends on your platform and the software you're using to send the mail. Shouldn't be all that hard. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information

Re: Counting processors

2005-07-26 Thread Mike Meyer
how much of that functionality you get out of the box. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

Re: Safest manner to extend search path for modules?

2005-07-26 Thread Mike Meyer
it into a function: import sys, os.path def fixpath(*new): sys.path.extend(os.path.join(sys.path[0], x) for x in new) This requires 2.4. Change it to ([os.path ... new]) for earlier versions. Of course, I note that sys.path[0] is '', so the join doesn't do anything. mike -- Mike Meyer

Re: [path-PEP] Path inherits from basestring again

2005-07-24 Thread Mike Meyer
, some file manager routines would work and some would not. Are. But I think they're a lot longer now. bhuda% grep PATH_MAX /usr/include/sys/syslimits.h #define PATH_MAX 1024 /* max bytes in pathname */ mike -- Mike Meyer [EMAIL PROTECTED] http

Re: How to run python script in background after i logout

2005-07-24 Thread Mike Meyer
from leftover data in the python program. Of course, one way of doing that is relaunching the python program. not_time_to_exit depends on your environment. Proper signal handling is usually the way to deal with this. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org

Re: time.time() under load between two machines

2005-07-23 Thread Mike Meyer
- are they syncing to different external sources? Have you checked the drift file on the two machines? mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org

Re: Getting a dictionary from an object

2005-07-23 Thread Mike Meyer
): return self.obj.__getattribute__(key) I don't think this is particularly useful behaviour. How do you use it? def __str__(self): return self._format % self mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce

Re: [path-PEP] Path inherits from basestring again

2005-07-23 Thread Mike Meyer
. */ I think - but I'm not positive, and don't have a Linux box handy to check on - that this comment is false if your Unix is really Linux. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more

Re: goto

2005-07-22 Thread Mike Meyer
, resulting in exceptions from bugs in the variant as well as bugs in the loop. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python

Re: Generating images with text in them

2005-07-22 Thread Mike Meyer
in and create a bitmapped font file, or scan them in in multipe sizes and cons up a competing font. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman

Re: Stupid question: Making scripts python-scripts

2005-07-22 Thread Mike Meyer
for all variants?). However, #!/usr/bin/env mypythonscript works like a charm. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo

Re: Web-Forms

2005-07-21 Thread Mike Meyer
. BeautifulSoup URL: http://www.crummy.com/software/BeautifulSoup/ for extracting data from the pages. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org

Re: goto

2005-07-20 Thread Mike Meyer
Peter Hansen [EMAIL PROTECTED] writes: Sybren Stuvel wrote: Mike Meyer enlightened us with: I dislike gotos because it is too easy to inadvertently create infinite loops. 10 WINK; 20 GOTO 10 And it's impossible without them? while True: pass I thought the same thing, but then I read it again

Re: Opinions on KYLIX 3 (Delphi 4 Linux)

2005-07-19 Thread Mike Meyer
Thomas Bartkus [EMAIL PROTECTED] writes: On Mon, 18 Jul 2005 19:56:24 -0400, Mike Meyer wrote: Thomas Bartkus [EMAIL PROTECTED] writes: Re-train on a new platform, and re-write from scratch? What do you do when an open source project you were using gets abandoned? cvs import -m

Re: goto

2005-07-19 Thread Mike Meyer
10 And it's impossible without them? while True: pass mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. -- http://mail.python.org/mailman/listinfo/python-list

<    4   5   6   7   8   9   10   11   12   13   >