Re: limited python virtual machine (WAS: Another scripting language implemented into Python itself?)

2005-01-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Michael Spencer <[EMAIL PROTECTED]> wrote: . . . >Right - the crux of the problem is how to identify dangerous objects. My >point >is that if such as test is possible, then safe exec is very

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Terry Reedy <[EMAIL PROTECTED]> wrote: . . . >worrying about Python security seems superfluous. Why worry, for instance, >about os.unlink when the user can just do the same much easier in a tex

Re: Please suggest on the book to follow

2005-01-27 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Fuzzyman <[EMAIL PROTECTED]> wrote: >We've only just had Python 2.4. Based on previous experience that means >it will be about 18 months before python 2.5. > >I learned to program from 'Programming Python'. Particularly the stuff >on Tkinter is very helpful. I do

Re: Point of Sale

2005-01-27 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Andreas Pauley <[EMAIL PROTECTED]> wrote: >Hi, > >My company has given me a rather cool project: >I have to provide them with an open-source python-based point-of-sale / >cash register system that can integrate with their existing ERP backend. > >The project will i

Re: Another scripting language implemented into Python itself?

2005-01-27 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Arthur <[EMAIL PROTECTED]> wrote: . . . >As long as we include the cost of treating adults as children, and >take it seriously as the kind of cost it is, I'm OK. > >I think Terry's point covers

Entirely off-topic personal grumble unrelated to original poster (was: Point of Sale)

2005-01-27 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Andreas Pauley <[EMAIL PROTECTED]> wrote: . . . >Actually I just mean that I'm not looking for a 100% feature-fit, if I get >a 70% fit I'll jump in and develop the other 30%.

Re: Please suggest on the book to follow

2005-01-27 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, santanu <[EMAIL PROTECTED]> wrote: . . . >>From what you and Fyzzyman said, I guess when I am done with >Programming Python, graduating to the latest features would >be quite easy. Isn't it?

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 28)

2005-01-28 Thread Cameron Laird
QOTW: "It might be nice if it was widely understood (in IT) that Python was a language any competent programmer could pick up in an afternoon, such that Java, C, and Perl shops would not be concerned about the need for their staff to learn a new language." -- Eric Pederson "What's kind of surpris

Dr. Dobb's Python-URL! - weekly Python news and links (Jan 28)

2005-01-28 Thread Cameron Laird
QOTW: "It might be nice if it was widely understood (in IT) that Python was a language any competent programmer could pick up in an afternoon, such that Java, C, and Perl shops would not be concerned about the need for their staff to learn a new language." -- Eric Pederson "What's kind of surpris

Re: Coding style article with interesting section on white space

2005-01-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: . . . >One ought to do a little research before publishing an article. >Apparently, many authors and editors are too lazy to do so. > ... and/or ignorant or unculture

Re: variable declaration

2005-01-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: >Robert Brewer <[EMAIL PROTECTED]> wrote: > >> Bah. Nothing teaches you a new language like having your job depend upon >> it. People who study languages merely for "personal growth" learn 50% of >> the syntax and 1% of the co

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 1)

2005-01-31 Thread Cameron Laird
QOTW: "The right solution will end up being unique to Python though. It has to feel like Python." -- Guido van Rossum http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html "Sparring with Alex Martelli is like boxing Mike Tyson, except that one experiences brain enhancement rather than brai

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 1)

2005-02-01 Thread Cameron Laird
QOTW: "The right solution will end up being unique to Python though. It has to feel like Python." -- Guido van Rossum http://aws.typepad.com/aws/2005/01/amazon_devcon_g_4.html "Sparring with Alex Martelli is like boxing Mike Tyson, except that one experiences brain enhancement rather than brai

Running WMI within a Windows service

2005-06-21 Thread cameron . mccloud
Hi, When trying to import the WMI module in a Python Windows Service, I get the following: dynamic module does not define init function (initwmi) The WMI version is 0.6. Python 2.4 on Win32, Python Win32 extensions version 203 Code below, Cam. def SvcDoRun(self): import servi

Re: Running WMI within a Windows service

2005-06-22 Thread cameron . mccloud
Tim, Changing the path didn't do anything, but changing the name of the module to my_wmi did the trick. Thanks very much, Cam. Tim Golden wrote: > [EMAIL PROTECTED] > | Hi, > | > | When trying to import the WMI module in a Python Windows > | Service, I get > | the following: > | > | dynamic

Re: Database recommendations for Windows app

2005-06-22 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dan <[EMAIL PROTECTED]> wrote: . . . >> You wouldn't have to distribute the (rather expensive) Access application >> since this is little more than a front for the underlying DAO/ADO database >>

Re: Database recommendations for Windows app

2005-06-22 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dan <[EMAIL PROTECTED]> wrote: >On 6/22/2005 1:14 PM, Dave Cook wrote: >> On 2005-06-22, Cameron Laird <[EMAIL PROTECTED]> wrote: >> >> >>>Are you saying that Python-based applications are particularly >>&g

Re: Database recommendations for Windows app

2005-06-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dave Cook <[EMAIL PROTECTED]> wrote: >On 2005-06-23, Peter Hansen <[EMAIL PROTECTED]> wrote: . . . >>Type checking? SQLite currently supports >> neither. > >sqlite3 has a "strict affinity" m

Re: Allowing only one instance of a script?

2005-06-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Grant Edwards <[EMAIL PROTECTED]> wrote: . . . >You can also use a network port instead of a file. Binding a >socket to a port is an exclusive and atomic operation. An >advantage to the networ

Re: Question about Python

2005-07-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jan Danielsson <[EMAIL PROTECTED]> wrote: >Hello all, > > I recently started using Python, and I must say I like it. Both the >language and libraries available for it. > > Background: I have written an application which I use to keep track >of my personal econom

Re: Any Lua Coders About?

2005-07-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Joseph Garvin <[EMAIL PROTECTED]> wrote: >Wendell III wrote: > >>Hey, >> >>I'm looking for a few good Lua guys with some IM network experience. >>Anyone around fit that criteria? . . . >I'd say

Re: ssh popen stalling on password redirect output?

2005-07-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Cantankerous Old Git <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] wrote: >> In general, it is good idea to use expect kind of tool to deal with >> interactive programs like ssh. You may try using pexpect >> (http://pexpect.sourceforge.net). >> > >I tried tha once

Re: Environment Variable

2005-07-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Sybren Stuvel <[EMAIL PROTECTED]> wrote: >tuxlover enlightened us with: >> No, the replies from Grant's and Sybren's do answer my question. > >It would be a lot more polite to actually thank the people helping >you. .

Re: Detecting computers on network

2005-07-22 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, gene tani <[EMAIL PROTECTED]> wrote: >Hi Sandeep, > >i didn't see where you said if these hosts you want to ping are on your >internal network, or beyond your gateway. Probably the only truly >reliable way to maintain an active hosts list is to install a >ping-sendi

Re: query regarding expect

2005-07-22 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Girish <[EMAIL PROTECTED]> wrote: >Hi, > >I wanna do some automation using "pexpect". >I have an application which must be invoked from the command line in >linux environment,it consists of buttons,textboxes etc can i access >those widgets using "pexpect",say i wanna

Dr. Dobb's Python-URL! - weekly Python news and links (Aug 12)

2005-08-12 Thread Cameron Laird
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) "[A] suggestion from the world of 'agile development': stop making so many decisions and start writing some actual cod

Re: UCALC equivalent

2005-08-12 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Max Erickson <[EMAIL PROTECTED]> wrote: . . . >> The python equivalent: >> >> exec "def area(length,width): return length*width" >> exec "def frac(x): return abs(abs(x) - int(abs(x)))

Dr. Dobb's Python-URL! - weekly Python news and links (Aug 12)

2005-08-13 Thread Cameron Laird
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) "[A] suggestion from the world of 'agile development': stop making so many decisions and start writing some actual cod

Re: Library vs Framework (was Dr. Dobb's Python-URL!)

2005-08-18 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Kay Schluehr <[EMAIL PROTECTED]> wrote: . . . >What are frameworks really good for - a very true success story. > >A colleague of mine used to spread all kinds of flags ( state- and >property mar

Re: Some questions

2005-08-18 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alessandro Bottoni <[EMAIL PROTECTED]> wrote: >Titi Anggono wrote: >> 1. Can we use Tkinter for web application such as Java? > >What do you mean? If you want to build up a GUI (something like a HTML page) >for a web-based application, you can do it with TKinter. Yo

Dr. Dobb's Python-URL! - weekly Python news and links (Aug 18)

2005-08-18 Thread Cameron Laird
QOTW: "It seems to me that Java is designed to make it difficult for programmers to write bad code, while Python is designed to make it easy to write good code." -- Magnus Lycka "Code attracts people that like to code. Tedious, repetitive c.l.py threads attract people that like to write tedious,

Dr. Dobb's Python-URL! - weekly Python news and links (Aug 18)

2005-08-19 Thread Cameron Laird
QOTW: "It seems to me that Java is designed to make it difficult for programmers to write bad code, while Python is designed to make it easy to write good code." -- Magnus Lycka "Code attracts people that like to code. Tedious, repetitive c.l.py threads attract people that like to write tedious,

Perl books (was: Experience regarding Python tutorials?)

2005-08-30 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, SamFeltus <[EMAIL PROTECTED]> wrote: . . . >with (google TMTOWTDI), so Perl will teach you to BE CAREFUL. The >O'Reilly Perl books are excellent. > Well, no. I understand you writing that, and

Re: Calling ftp commands from python

2005-08-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >Your best bet would be to use "pexpect" module. Code may look something >like: > >import pexpect >import sys >child = pexpect.spawn ('ftp ftp.site.com') >child.expect ('Name .*: ') >child.sendline ('username') >child.ex

Re: Well, Reading is hard to learn...

2005-09-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Boddie <[EMAIL PROTECTED]> wrote: >bruno wrote: >> >> I have spent 1 week on learning reading and felt good. but I still don't >> understand most part of Emmanuel Kant's writings. >> > >Monty Python really missed out there: cut to a sketch featuring three >yea

Re: Lambda

2005-02-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Tim Leslie <[EMAIL PROTECTED]> wrote: . . . >* There is much debate as to just how useful lambda functions are and >they are likely to be removed from the language in the distant futute >(python

Re: newbie question

2005-02-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dan Perl <[EMAIL PROTECTED]> wrote: . . . >has the conciseness of the C statement. The pre- and post-increment >and -decrement in C/C++/Java are very powerful and I miss them in python. > > M

Pioneers of WIMPishness (was: A great Alan Kay quote)

2005-02-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Scott David Daniels <[EMAIL PROTECTED]> wrote: . [thoroughly appropriate focus on Engelbart and his Augment colleagues] . . >(or great) guess and

Re: Considering python - have a few questions.

2005-02-13 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Tim Roberts <[EMAIL PROTECTED]> wrote: >"Heather Stovold" <[EMAIL PROTECTED]> wrote: >> >>I need to make a GUI interface. Some of the screens need to be dynamically >>created, with the screen information in a database. Included in the database >>will be pictures (.

Re: gui scripting

2005-02-14 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Tonino <[EMAIL PROTECTED]> wrote: >HI, > >I have a 2 phase question: > >Phase 1 is I am needing to automate a report generation from a >proprietary product. Currently a person sits and input's the data into >a GUI frontend and clicks's the appropriate buttons to sta

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-14 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >> One of the most funny things within open-source is that switching: >> >> first: >> "we have powerfull solutions which beat this and that" >> >> then: >> "hey, this is just volunteer work" >> > >I don't see the contrad

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-14 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Tim Peters <[EMAIL PROTECTED]> wrote: >[Ilias Lazaridis] >... . . . >That leaves volunteers, or a company that wants what you want enough >to pay for it on their own (which has happened, but not

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 15)

2005-02-14 Thread Cameron Laird
QOTW: "I've forgotten what we are arguing about, but I'm sure I'm right." -- Jive Dadson "I believe the best strategy against Identity theft is bad credit." -- Tom Willis "You can't live without unit tests. And once you have unit tests, the added value of declarations is tiny, and their cost re

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 15)

2005-02-15 Thread Cameron Laird
QOTW: "I've forgotten what we are arguing about, but I'm sure I'm right." -- Jive Dadson "I believe the best strategy against Identity theft is bad credit." -- Tom Willis "You can't live without unit tests. And once you have unit tests, the added value of declarations is tiny, and their cost re

Re: low-end persistence strategies?

2005-02-16 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Rubin 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 web site that might get a dozen hits a day. >The idea

Re: kill a process in XP

2005-02-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dave Brueck <[EMAIL PROTECTED]> wrote: >Tor Erik Sønvisen wrote: >>>From my Python-program I spawn a new process. When using P_NOWAIT spawnl >> returns the pid but in windows it returns a process handle. >> Later I want to kill this process. How can I do this when

Re: Attaching to a Python Interpreter a la Tcl

2005-02-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Robin Becker <[EMAIL PROTECTED]> wrote: >DE wrote: >> Hello, >> >> Some long time ago, I used to use Tcl/Tk. I had an tcl embedded into my >> app. >> >> The coolest thing was however, I was able to attach to the interpreter >> (built in to my app) via a tcl shell

Re: python tutorial/projects

2005-02-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Leif B. Kristensen <[EMAIL PROTECTED]> wrote: >Danny skrev: > >> Does anyone know of a good python tutorial? >> I was also looking for some non-trivial projects to do in python. > >There's a lot of projects on Sourceforge that are written in Python, >where you're fr

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 24)

2005-02-23 Thread Cameron Laird
QOTW: "Who's 'Guido'?" -- Ilias Lazaridis "I know this document. It has no relevance to me." -- Ilias Lazaridis, on http://www.catb.org/~esr/faqs/smart-questions.html > "Nobody asked them to do this (AFAIK), it's more that nobody could _stop_ them from doing it." -- timbot, on the work of Jason

Dr. Dobb's Python-URL! - weekly Python news and links (Feb 24)

2005-02-24 Thread Cameron Laird
QOTW: "Who's 'Guido'?" -- Ilias Lazaridis "I know this document. It has no relevance to me." -- Ilias Lazaridis, on http://www.catb.org/~esr/faqs/smart-questions.html > "Nobody asked them to do this (AFAIK), it's more that nobody could _stop_ them from doing it." -- timbot, on the work of Jason

Re: Flushing print()

2005-02-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Daniel Yoo <[EMAIL PROTECTED]> wrote: >gf gf <[EMAIL PROTECTED]> wrote: . . . >: If not, how can I flush it manually? sys.stdout.flush() didn't >: seem to work. > >H, that's odd. sys.stdou

Re: What's the cost of using hundreds of threads?

2005-03-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Steve Holden <[EMAIL PROTECTED]> wrote: . . . >> I've read somewhere (I cann't recall where, though, was it MSDN?) that >> Windows is not well suited to run more than 32 threads per process. Mo

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 1)

2005-03-01 Thread Cameron Laird
Editor's note: "Python-URL!" is minimal. It doesn't support advertisements, we never allow the subscribers' addresses to be used for other purposes, we don't claim infallibility, and we even take a couple weeks off some years. Occasionally, though--not as often as the US enters a shooting war, sa

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 1)

2005-03-02 Thread Cameron Laird
Editor's note: "Python-URL!" is minimal. It doesn't support advertisements, we never allow the subscribers' addresses to be used for other purposes, we don't claim infallibility, and we even take a couple weeks off some years. Occasionally, though--not as often as the US enters a shooting war, sa

Re: What's the cost of using hundreds of threads?

2005-03-02 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Przemys³aw Ró¿ycki <[EMAIL PROTECTED]> wrote: >Thanks for your comments on winXP threads implementation. You confirmed >me in conviction that I shouldn't use windows. >Personally I use linux with 2.6.10 kernel, so hopefully I don't have to >share your grief. ;) ?

Re: survey

2005-03-05 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Peter Hansen <[EMAIL PROTECTED]> wrote: >Dave Zhu wrote: >> Hello All, >> >> Is there any survey on scripting languages? I would >> like to get information on several scripting languages >> including Python, Perl, Ruby, Tcl, etc. > >What kind of information? ... P

Re: Calling python scripts from php

2005-03-05 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Michael Livingston <[EMAIL PROTECTED]> wrote: >Hi all, > >I'm currently working on a project to develop an online simulation model of >the juvenile justice system in Queensland. We've developed the simulation >model using the python module simPy and currently we're

Re: resources

2005-03-07 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, shield0092005 <[EMAIL PROTECTED]> wrote: > >hi >i'v been searching 4 resources ,and study materials on PYTHON.If any >body has some suggestion for getting ebooks ,pdf,or tutorials kindly >let me know. >thankyou > > > If your search did not encounter http://python

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 7)

2005-03-07 Thread Cameron Laird
QOTW: "Really, of course, the only things you need to make explicit are the ones that readers don't understand." -- Steve Holden "Working with unicode objects in Python is so transparent, it's easy to forget about what a C extension would likely want." -- Kevin Dangoor "You take leadership in a

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 7)

2005-03-08 Thread Cameron Laird
QOTW: "Really, of course, the only things you need to make explicit are the ones that readers don't understand." -- Steve Holden "Working with unicode objects in Python is so transparent, it's easy to forget about what a C extension would likely want." -- Kevin Dangoor "You take leadership in a

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 18)

2005-03-18 Thread Cameron Laird
QOTW: "Python's best feature is comp.lang.python." -- Joerg Schuster "I learn something valuable from comp.lang.python every week, and most of it has nothing to do with Python." -- Richie Hindle Google writes successful (if suboptimal) applications. Google relies on Python: htt

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 18)

2005-03-18 Thread Cameron Laird
QOTW: "Python's best feature is comp.lang.python." -- Joerg Schuster "I learn something valuable from comp.lang.python every week, and most of it has nothing to do with Python." -- Richie Hindle Google writes successful (if suboptimal) applications. Google relies on Python: htt

Re: Variable Variable

2005-03-19 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Kay Schluehr <[EMAIL PROTECTED]> wrote: > >Tanteauguri wrote: >> Hi List, is there in python a variable variable like in PHP ($$var)? >> >> What I want to do is something like that: >> >> pc=["a","b","c"] >> >> for i in pc: >> i = anyclass() >> >> a.shutdown() >

Re: tkinter manual question

2004-11-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Sean McIlroy <[EMAIL PROTECTED]> wrote: >The 'Canvas Methods' section of the online Intro to Tkinter >(http://www.pythonware.com/library/tkinter/introduction/x2102-methods.htm) >refers (without explanation) to something called "bbox". What is this? >TIA "bounding bo

Re: A lock that times out but doesn't poll

2004-11-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jive <[EMAIL PROTECTED]> wrote: . . . >B) Writing bug-free code is quite possible when the job is well-defined and >"from scratch." . .

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)

2004-12-01 Thread Cameron Laird
QOTW: "... why does Microsoft try so hard to protect its sources?" "To avoid embarrassment." -- Peter Maas and Grant Edwards http://groups.google.com/groups?frame=left&th=9a599152d8b23b54 "Sufficiently advanced cluelessness is indistinguishable from malice." -- Alex Martelli 2.4 is fina

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 2)

2004-12-02 Thread Cameron Laird
QOTW: "... why does Microsoft try so hard to protect its sources?" "To avoid embarrassment." -- Peter Maas and Grant Edwards http://groups.google.com/groups?frame=left&th=9a599152d8b23b54 "Sufficiently advanced cluelessness is indistinguishable from malice." -- Alex Martelli 2.4 is fina

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, John Machin <[EMAIL PROTECTED]> wrote: >Jive wrote: >> "Martin v. Löwis" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > OTOH, people who only have VC6 just need to buy VS.NET 2003, >> > which is still available. >> >> I don't even know how to do

Re: Looking for a coder to do some work

2004-12-13 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Allan Irvine <[EMAIL PROTECTED]> wrote: >HI >> >> Hope this is the right place for this, I am new. I have a spec to >create >> a (dual screen) framework application that >> >> 1 displays mp3, flash, jpegs etc. on top screen >> 2: displays buttons on bottom screen whi

Re: Html or Pdf to Rtf (Linux) with Python

2004-12-14 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Axel Straschil <[EMAIL PROTECTED]> wrote: >Hello! > >Sorry Cameron, I was replying, now my folloup ;-): > >> Are you trying to convert one document in particular, or automate the >> process of conveting arbitrary HTML documents?

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 15)

2004-12-17 Thread Cameron Laird
QOTW: "[Python demands more thought in optimization, because i]n other languages, by the time you get the bloody thing working it's time to ship, and you don't have to bother worrying about making it optimal." -- Simon Brunning "One of the best features of c.l.py is how questions phrased in the m

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Nick Coghlan <[EMAIL PROTECTED]> wrote: >Jive wrote: >> Can someone explain to me why Python 2.4 on MS Windows has these backward >> compatibility problems? What am I missing? > >The problem is the Python C/API. At the moment, it exposes things >directly (like >da

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jive <[EMAIL PROTECTED]> wrote: . . . >Doesn't Microsoft have an answer for that? There are (at last count) nine >skillion ActiveX >components in the wild. Surely Microsoft didn't blast them in

Re: New versions breaking extensions, etc.

2004-12-13 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jive <[EMAIL PROTECTED]> wrote: . . . >Bit by bit, I am remembering now just how stupifyingly brain-dead the MS DLL >scheme is. . .

Re: Html or Pdf to Rtf (Linux) with Python

2004-12-14 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alexander Straschil <[EMAIL PROTECTED]> wrote: >Hello! > >I have to convert an HTML document to rtf with python, was just googling >for an hour and did find nothing ;-( >Has anybody an Idea how to convert (under Linux) an HTML or Pdf Document >to Rtf? > >Thanks, AX

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 15)

2004-12-15 Thread Cameron Laird
QOTW: "[Python demands more thought in optimization, because i]n other languages, by the time you get the bloody thing working it's time to ship, and you don't have to bother worrying about making it optimal." -- Simon Brunning "One of the best features of c.l.py is how questions phrased in the m

Re: Change vars in the parent process

2004-12-21 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Thomas Guettler <[EMAIL PROTECTED]> wrote: >Am Tue, 21 Dec 2004 06:20:09 -0800 schrieb Markus Franz: > >> Hi! >> >> >> Is there any possibility to change vars inside a parent process from >> the inside of a child process? >> Thanks > >Hi, > >No, that's impossible.

Re: Complementary language?

2004-12-26 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Robin Becker <[EMAIL PROTECTED]> wrote: . . . >interesting, but not unique features. From the outside it seems >difficult to say whether say "distributed programming" is uniquely >easily imple

Re: Jython & IronPython Under Active Development?

2004-12-26 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> wrote: . . . >It should be noted that Jim Hugunin no longer works on Jython although >he did start the project (possibly with others, I'm not sure).

Re: Tkinter vs wxPython

2004-12-28 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alejandro Weinstein <[EMAIL PROTECTED]> wrote: . . . >the standard GUI for Python. I read some tutorials, but didn't go to >far, and didn't like the Tkinter looks too much. Then I tried

Re: Making pygopherd working with Mac OS X

2004-12-28 Thread Cameron Kaiser
/0/Software/Gopher/Mailing%20List.txt -- Cameron Kaiser * [EMAIL PROTECTED] * posting with a Commodore 128 personal page: http://www.armory.com/%7Espectre/ ** Computer Workshops: games, productivity software and more for C64/128! ** ** http://www.armory.com/%

Re: Lambda going out of fashion

2004-12-28 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: ><[EMAIL PROTECTED]> wrote: > >> Thanks. :-) Two remarks. >> o One-liner fits the eyes & brains of a portion of people. > >True! So, personally, I'd rather code, e.g., > >def bools(lst): return map(bool, lst) > >rather than b

Reference behavior through C (was: Lambda going out of fashion)

2004-12-28 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Craig Ringer <[EMAIL PROTECTED]> wrote: . . . > IMO the reference behaviour of functions in the C API could be >clearer. One often has to simply know, or refer to the docs, to tell >whether a p

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30)

2004-12-30 Thread Cameron Laird
QOTW: "I found the discussion of unicode, in any python book I have, insufficient." -- Thomas Heller "If you develop on a Mac, ... Objective-C could come in handy. . . . PyObjC makes mixing the two languages dead easy and more convenient than indoor plumbing." -- Robert Kern Among other ac

Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30)

2004-12-30 Thread Cameron Laird
QOTW: "I found the discussion of unicode, in any python book I have, insufficient." -- Thomas Heller "If you develop on a Mac, ... Objective-C could come in handy. . . . PyObjC makes mixing the two languages dead easy and more convenient than indoor plumbing." -- Robert Kern Among other ac

Getting the word to conventional programmers

2005-03-22 Thread Cameron Laird
*DevSource* profiles "The State of the Scripting Universe" in http://www.devsource.com/article2/0,1759,1778141,00.asp >. -- http://mail.python.org/mailman/listinfo/python-list

Re: Getting the word to conventional programmers

2005-03-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: . . . >It would have been nice to put in a blurb for some of the cool stuff >planned for 8.5. That way people could see that things are *happening* >in the Tcl world a

Re: Getting the word to conventional programmers

2005-03-23 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Advocates of languages and programming methodologies sometimes compare >the current version of their favorite language to an old version of >their disfavored language, resulting in skewed comparisons. For >example, Conway writes > >"Inter

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 24)

2005-03-23 Thread Cameron Laird
QOTW: [Must be seen to be believed] http://groups-beta.google.com/group/comp.lang.python/msg/7613422265cdc010 "If you don't read answers, don't post questions :-/" -- bruno desthuilliers News from PyCon2005 emerges almost continuously. See, for example, this blog startpoint:

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 24)

2005-03-24 Thread Cameron Laird
QOTW: [Must be seen to be believed] http://groups-beta.google.com/group/comp.lang.python/msg/7613422265cdc010 "If you don't read answers, don't post questions :-/" -- bruno desthuilliers News from PyCon2005 emerges almost continuously. See, for example, this blog startpoint:

Re: Getting the word to conventional programmers

2005-03-24 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: . . . >Maybe companies such as Intel, IBM, and Sun would devote resources to >optimizing Python on their hardware if the language had an ISO >standard, as do C, C++, a

Re: breaking up is hard to do

2005-03-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, bbands <[EMAIL PROTECTED]> wrote: . [puzzlement about globals, on which several others have already aptly counseled] . . >camper with Python. I wa

Re: Dr. Dobb's Python-URL! - weekly Python news and links (Mar 24)

2005-03-26 Thread Cameron Laird
as they got it formed, they elected Whitney Young as the chairman, and who [do] you think became the co-chairman? Stephen Currier, the white man, a millionaire. Powell was talking about it down at the Cobo [Hall] today. This is what he was talking about. Powell knows it happened. Randolph knows it

Re: character-filtering and Word (& company)

2005-03-27 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, John Machin <[EMAIL PROTECTED]> wrote: > >Charles Hartman wrote: >> I'm working on text-handling programs that want plain-text files as >> input. It's fine to tell users to feed the programs with plain-text >> only, but not all users know what this means, even after

Re: Little Q: how to print a variable's name, not its value?

2005-03-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Bill Mill <[EMAIL PROTECTED]> wrote: . . . >(i.e. I respectfully disagree that mixing data with program code is a bad idea) . .

Re: Python & LEGO Mindstorm control...

2005-03-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, D H <[EMAIL PROTECTED]> wrote: . . . >I would use the graphical language environment that comes with Lego >Mindstorms. It was designed for kids. > >I haven't seen anyone show how to program mi

Re: how do you use a closure in a class

2005-03-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul McGuire <[EMAIL PROTECTED]> wrote: >Well, I'm not sure "closure" is the Pythonic way. But in Python, you >can use functions to dynamically create other functions. Here's an >example of this feature (although there are far simpler ways to do >this), tallying vo

Re: What's the best GUI toolkit in Python,Tkinter,wxPython,QT,GTK?

2005-03-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Dave Cook <[EMAIL PROTECTED]> wrote: . . . >wxPython seems to have the best cross-platform support among CPython >toolkits, but it never seemed very Pythonic to me. There's a higher-level >pack

Dr. Dobb's Python-URL! - weekly Python news and links (Mar 30)

2005-03-29 Thread Cameron Laird
QOTW: "This is a Python newsgroup. Assume that we all have been brainwashed." -- Peter Otten "[M]y experience porting Java to Jython is that it mostly involves deleting stuff :-)" -- Kent Johnson "[K]eep in mind, however, that not all problems in life can be solved with software." -- Roy Smith

Re: good design & method calls

2005-03-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Ron_Adam <[EMAIL PROTECTED]> wrote: >On Tue, 29 Mar 2005 09:09:37 -0500, Charles Hartman ><[EMAIL PROTECTED]> wrote: > >>I know the answer to this is going to be "It depends . . .", but I want >>to get my mind right. In Fowler's *Refactoring* I read: "Older >>lang

<    7   8   9   10   11   12   13   14   15   16   >