Python-URL! - weekly Python news and links (Mar 31)

2012-04-02 Thread Cameron Laird
I pine for the fjords. And it's time to bring "Python-URL!" to a close. "Python-URL!", which Jean-Claude Wippler and I appear to have launched in 1998, has reached the end of its utility. We still have many loyal and enthusiastic readers--one subscription request arrived within the last day, in

Python-URL! - weekly Python news and links (Mar 31)

2012-04-02 Thread Cameron Laird
I pine for the fjords. And it's time to bring "Python-URL!" to a close. "Python-URL!", which Jean-Claude Wippler and I appear to have launched in 1998, has reached the end of its utility. We still have many loyal and enthusiastic readers--one subscription request arrived within the last day, in

Python-URL! - weekly Python news and links (Jun 7)

2011-06-07 Thread Cameron Laird
[Drafted by Gabriel Genellina.] QOTW: "'Reminds me of the catch-phrase from the first Pirates of the Caribbean movie: 'It's more of a guideline than a rule.'" - Tim Roberts, 2011-05-27, on the "mutator-methods-return-None" Announcing two maintenance releases (including security fixes): 2.5.

Python-URL! - weekly Python news and links (Jun 14)

2011-06-14 Thread Cameron Laird
[Originally drafted by Gabriel Genellina.] QOTW: "Well, it's incompatible with the Python compiler I keep in my head. Have these developers no consideration for backward-thinking- compatibility?" (Ben Finney, 2011-06-10, on certain old but not-so-obvious change) Python versions 2.7.2 and 3

Re: Looking PDF module

2011-06-24 Thread Cameron Laird
On Jun 24, 6:45 am, "neil.suffi...@gmail.com" wrote: > You might also want to have a look at Pisa (http://www.xhtml2pdf.com/ > ) . It's based on reportlab but might suit you better. There's more to the story. As with many things, the answer is, "it depends". In this case, there are so many varia

Python-URL! - weekly Python news and links (Aug 10)

2011-08-10 Thread Cameron Laird
QOTW: "If an elegant solution doesn't occur to me right away, then I first compose the most obvious solution I can think of. Finally, I refactor it until elegance is either achieved or imagined." - Neil Cerutti, 2011-07-28 What is the real purpose of __all__? http://old.nabble.com/__all

Python-URL! - weekly Python news and links (Aug 10)

2011-08-10 Thread Cameron Laird
QOTW: "If an elegant solution doesn't occur to me right away, then I first compose the most obvious solution I can think of. Finally, I refactor it until elegance is either achieved or imagined." - Neil Cerutti, 2011-07-28 What is the real purpose of __all__? http://old.nabble.com/__all

Python-URL! - weekly Python news and links (Aug 25)

2011-08-25 Thread Cameron Laird
[Original draft by Gabriel Genellina.] QOTW: "Python is a programming language, not an ice cream shop." - Steven D'Aprano, 2011-08-10, on providing the language with just "more choices" Comparing the relative speed of `i += 1` and `i = i + 1` http://groups.google.com/group/comp.lang.

Python-URL! - weekly Python news and links (Mar 23)

2011-03-23 Thread Cameron Laird
QOTW: "So far as I know, that actually just means that the test suite is insufficient." - Peter Seebach, when an application passes all its tests http://groups.google.com/group/comp.lang.lisp/msg/29aff9595bb0eac0 Administrative note: it's been a while--since the end of October 2010, in fact;

Python-URL! - weekly Python news and links (Apr 2)

2011-04-02 Thread Cameron Laird
QOTW: "Let us cease to nourish those fabled ones who dwell under bridges." - Tom Zych http://groups.google.com/group/comp.lang.python/msg/c1052c962becfc26 Look for "Python Insider" below. Then read through everything there. You'll want to know about this one. Once again, the PSF sp

Python-URL! - weekly Python news and links (Apr 9)

2011-04-09 Thread Cameron Laird
QOTW: [You'll have to see it for yourself: !Viva 2.7.1!] http://groups.google.com/group/comp.lang.python/msg/8d79c5ee3913f82d "De-briefing" is characteristically something we do too little; there's a LOT of value in systematic examination of what we've experienced. Unladen Swallow pre

Python-URL! - weekly Python news and links (Apr 21)

2011-04-21 Thread Cameron Laird
QOTW: "Python is a pragmatic language, so all the rules come pre- broken." - Mel http://groups.google.com/group/comp.lang.python/msg/208face4a8e00062 Look! In the sky! It's a SciPy demonstration! It's a business! No, it's ForecastWatch: http://goo.gl/AvzqZ EuroPython 201

Python-URL! - weekly Python news and links (May 10)

2011-05-10 Thread Cameron Laird
[This content provided by Gabriel Genellina, despite what the "From:" line says.] QOTW: "Often, the cleverness of people is inversely proportional to the amount of CPU power and RAM that they have in their computer. Unfortunately, the difficulty in debugging and maintaining code is often directl

Python-URL! - weekly Python news and links (May 18)

2011-05-18 Thread Cameron Laird
QOTW: "When did we come to the idea that people should be able to program in a language without actually learning it? The fact that Python comes so close to that possibility is nothing short of revolutionary. I suppose one day a reasoning android will be able to sit down at the terminal of a sta

Python-URL! - weekly Python news and links (May 26)

2011-05-26 Thread Cameron Laird
[This edition drafted by Gabriel Genellina.] QOTW: "They did a study once to determine the best tool for development. Turns out that the most productive tool was generally the one that the user believed was the most productive. In hindsight I think that that was rather obvious." - D'Arcy J.M. C

Re: how to get any available port

2005-10-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: . . . >Here's how it behaved over several runs: >$ python soc.py >('0.0.0.0', 34205) >$ python soc.py >('0.0.0.0', 34206) >$ python soc.py >('0.0.0.0', 34207) > >I

Re: New project coming up...stay with Python, or go with a dot net language??? Your thoughts please!

2005-10-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, spiffo <[EMAIL PROTECTED]> wrote: . . . >I am a corporate developer, working for a single company. Got a new project >coming up and wondering if I should stay with Python for this new, fairly >la

Re: Can Python replace TCL/Expect

2005-10-06 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Robert Kern <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] wrote: >> Hi >> >> I'm learning Python. I don't know whether Python can do something like >> Expect can do. If yes, please show me how to do it. >> I want to do something automatically: open connection to a

Re: Can Python replace TCL/Expect

2005-10-06 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jorgen Grahn <[EMAIL PROTECTED]> wrote: . . . >It depends. I do not feel /that/ advanced, but I've been bitten by pexpect's >limitations several times in several places. > >... which puts me in

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 17)

2005-10-17 Thread Cameron Laird
QOTW: "If you don't have the time to be paranoid, try taking the time to straighten out identity theft." -- K. G. Schneider "The best way to make classes on the fly is generally to call the metaclass with suitable parameters (just like, the best way to make instances of any type is generally to ca

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 17)

2005-10-17 Thread Cameron Laird
QOTW: "If you don't have the time to be paranoid, try taking the time to straighten out identity theft." -- K. G. Schneider "The best way to make classes on the fly is generally to call the metaclass with suitable parameters (just like, the best way to make instances of any type is generally to ca

Re: Python vs Ruby

2005-10-20 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, bruno modulix <[EMAIL PROTECTED]> wrote: >Bryan wrote: >> Amol Vaidya wrote: >> >>> Hi. I am interested in learning a new programming language, and have >>> been debating whether to learn Ruby or Python. >(snip) >> >> why don't you do what i did? download ruby a

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 26)

2005-10-25 Thread Cameron Laird
QOTW: "Using Unix for 20+ years probably warps one's perception of what's obvious and what isn't." -- Grant Edwards "... windoze users--despite their unfortunate ignorance, they are people too." -- James Stroud "The Widget Construction Kit (WCK) is an extension API that allows you to imp

Dr. Dobb's Python-URL! - weekly Python news and links (Oct 26)

2005-10-26 Thread Cameron Laird
QOTW: "Using Unix for 20+ years probably warps one's perception of what's obvious and what isn't." -- Grant Edwards "... windoze users--despite their unfortunate ignorance, they are people too." -- James Stroud "The Widget Construction Kit (WCK) is an extension API that allows you to imp

Re: Cheapest pocket device to code python on

2005-11-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Sybren Stuvel <[EMAIL PROTECTED]> wrote: >Devan L enlightened us with: >> I would not recommend trying to code on a handheld device. Small >> screen size and [usually] small keyboards make it >> less-than-practical. Stick with a laptop, or write it in a notebook, >>

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 6)

2005-11-06 Thread Cameron Laird
QOTW: "- don't use SAX unless your document is huge - don't use DOM unless someone is putting a gun to your head" - Istvan Albert "I wouldn't fret too much about a sharp remark from Fredrik Lundh. They're pretty much all that way. ;) It looks like you already did the right thing - read past the

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 6)

2005-11-06 Thread Cameron Laird
QOTW: "- don't use SAX unless your document is huge - don't use DOM unless someone is putting a gun to your head" - Istvan Albert "I wouldn't fret too much about a sharp remark from Fredrik Lundh. They're pretty much all that way. ;) It looks like you already did the right thing - read past the

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-07 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Kevin Walzer <[EMAIL PROTECTED]> wrote: . . . >I've gotten all the approropriate resources for learning Python (docs, >books, tutorials), so my question is this: are there any "gotchas" that >Tc

Re: Invoking Python from Python

2005-11-08 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Thomas Guettler <[EMAIL PROTECTED]> wrote: . . . >creating source code with a script, is no good solution. > >Once I had to maintain lisp code which stored its data in lisp code, too >(incl. co

Re: A Tcl/Tk programmer learns Python--any advice?

2005-11-08 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Russell E. Owen <[EMAIL PROTECTED]> wrote: . [acute observations] . . >Features of Python that are well integrated and well worth using include: >- objects >- collection classes (

Re: Invoking Python from Python

2005-11-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mike Meyer <[EMAIL PROTECTED]> wrote: . . . >Since Cameron didn't provide examples, let me grab a simple one. The >cheetah templating system works by creating Python programs from the >template.

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 9)

2005-11-09 Thread Cameron Laird
QOTW: "The lesson for me is to spend much less time on Python discussion and much more on unfinished projects. So even if I never use the new syntax, I will have gained something ;-)" - Terry Reedy "In short, this group is a broad church, and those readers with brains the size of planets should

Re: Invoking Python from Python

2005-11-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mike Meyer <[EMAIL PROTECTED]> wrote: . . . >It's very flexible - but at this point, the "configuration file" is a >Python program, and not really suitable to use by non-programmers.

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 9)

2005-11-10 Thread Cameron Laird
QOTW: "The lesson for me is to spend much less time on Python discussion and much more on unfinished projects. So even if I never use the new syntax, I will have gained something ;-)" - Terry Reedy "In short, this group is a broad church, and those readers with brains the size of planets should

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 16)

2005-11-15 Thread Cameron Laird
QOTW: "You can tell everything is well in the world of dynamic languages when someone posts a question with nuclear flame war potential like 'python vs. ruby' and after a while people go off singing hymns about the beauty of Scheme..." - vdrab "ctypes completely rocks." - Grant Edwards Mich

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 16)

2005-11-16 Thread Cameron Laird
QOTW: "You can tell everything is well in the world of dynamic languages when someone posts a question with nuclear flame war potential like 'python vs. ruby' and after a while people go off singing hymns about the beauty of Scheme..." - vdrab "ctypes completely rocks." - Grant Edwards Mich

Re: running functions

2005-11-16 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Grant Edwards <[EMAIL PROTECTED]> wrote: >On 2005-11-16, Gorlon the Impossible <[EMAIL PROTECTED]> wrote: > >> I'm not sure how to phrase this question. I have a Python function >> that sends MIDI messages to a synth. When I run it, I of course have >> to wait until

Re: running functions

2005-11-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Gorlon the Impossible <[EMAIL PROTECTED]> wrote: . . . >the fly' so to speak. I checked out the threading module and its >working for what I am trying to do at the moment, but I am open to >sugg

Re: How to write an API for a Python application?

2005-11-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, dwelch <[EMAIL PROTECTED]> wrote: >Gary Kshepitzki wrote: >> Hello >> I would like to create an API for a piece of Python code. The API is for use >> by non Python code. >> It should support interaction in both directions, both accessing functions >> on the API an

Re: How to write an API for a Python application?

2005-11-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Boddie <[EMAIL PROTECTED]> wrote: . . . >meaning that callbacks and other things just work. Rolling your own >solution, on the other hand, can end in a long road discovering what >those CORB

Re: How to write an API for a Python application?

2005-11-19 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, I mumbled: . . . >Pyro might be perfect. My own instinct is to start even more >primitively, with a minimal asynchat client and server. I've >looked through the *Cookbook*, and see that it does

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 26)

2005-11-26 Thread Cameron Laird
QOTW: "... '[B]ut assume that I have some other use case' isn't a valid use case". - Fredrik Lundh "Rolling your own solution, on the other hand, can end in a long road discovering what those CORBA people were doing for all those years." - Paul Boddie NOTW: sceptifications. Steven D'Apra

Dr. Dobb's Python-URL! - weekly Python news and links (Nov 26)

2005-11-27 Thread Cameron Laird
QOTW: "... '[B]ut assume that I have some other use case' isn't a valid use case". - Fredrik Lundh "Rolling your own solution, on the other hand, can end in a long road discovering what those CORBA people were doing for all those years." - Paul Boddie NOTW: sceptifications. Steven D'Apra

Re: How to write an API for a Python application?

2005-11-28 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: . . . >Note also that you can freely download all of the code in my book as >http://examples.oreilly.com/pythonian/pythonian-examples.zip (it's just >36 K

Re: How to write an API for a Python application?

2005-11-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: . . . >Yeah, O'Reilly tools have this delightful penchant for inserting a space >between two adjacent underscores, drives me crazy:-(. > > >Alex Do more

Re: How to get started in GUI Programming?

2005-11-29 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Kay Schluehr <[EMAIL PROTECTED]> wrote: > >[EMAIL PROTECTED] wrote: >> I am trying to learn GUI programming in Python, but have to confess I >> am finding it difficult. > >Don't do it if you can prevent it. > >GUI - toolkits are very complex beasts and at least to me

Re: python speed

2005-12-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Isaac Gouy wrote: > >> Which stated "Python is doing the heavy lifting with GMPY which is a >> compiled C program with a Python wrapper" - but didn't seem to compare >> that to GMPY with a Java wrapper? > >You are missing the main idea: J

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

2005-12-02 Thread Cameron Laird
QOTW: "Python makes it easy to implement algorithms." - casevh "Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which doesn't have immutable variables. Their real problem is usually with binding, not immutability." - Mike Me

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

2005-12-04 Thread Cameron Laird
QOTW: "Python makes it easy to implement algorithms." - casevh "Most of the discussion of immutables here seems to be caused by newcomers wanting to copy an idiom from another language which doesn't have immutable variables. Their real problem is usually with binding, not immutability." - Mike Me

Re: Use python to test Java and Windows (dll) applciations

2005-12-05 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, jb <[EMAIL PROTECTED]> wrote: >Hello everybody: > >I need help, and please let me know if python is the language of choice >to implement following functionalities: > >I am trying to test a Java application and a C++ (win32) application. > >I want to be able to write

Re: Ant (with Python extensions) good replacement for distutils?

2005-12-06 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Diez B. Roggisch <[EMAIL PROTECTED]> wrote: >[EMAIL PROTECTED] wrote: >> I know distutils well but don't know anything about Ant except that it >> is a build >> tool from Apache project. >> >> Could it possible be better or as good as distutils? >> (There are extens

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

2005-12-07 Thread Cameron Laird
QOTW: "... and to my utter surprise it worked." - Andrew Nagel on his move from wxPython to programming Tkinter in desperation "Python has more web application frameworks than keywords." - Skip Montanaro (but probably others going back years) Frithiof Andreas Jensen writes frankly on use o

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

2005-12-08 Thread Cameron Laird
QOTW: "... and to my utter surprise it worked." - Andrew Nagel on his move from wxPython to programming Tkinter in desperation "Python has more web application frameworks than keywords." - Skip Montanaro (but probably others going back years) Frithiof Andreas Jensen writes frankly on use o

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

2005-12-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, David Isaac <[EMAIL PROTECTED]> wrote: > >"Cameron Laird" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> Jibes against the lambda-clingers lead eventually to serious >> questions of style i

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

2005-12-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, I reported: . . . >"Python has more web application frameworks than keywords." - Skip >Montanaro (but probably others going back years) . .

Re: new in programing

2005-12-09 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mike C. Fletcher <[EMAIL PROTECTED]> wrote: >Python iterates over "things" (objects), of which integer numbers are >just one possible choice. The range built-in command produces ranges of >integers which are useful for tasks such as this. > >lim = 3 > >for i in ra

Re: The Industry choice

2004-12-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Paul Rubin wrote: >Peter Dembinski <[EMAIL PROTECTED]> writes: >> If it has to be both reliable and secure, I suggest you used more >> redundant language such as Ada 95. > >That's something to think about and it's come up in discussions, b

Re: The Industry choice

2004-12-31 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Christopher Koppler <[EMAIL PROTECTED]> wrote: . . . >Manager culture is still very much mired in rituals that may in one form >or another go back to hunter-gatherer days (or maybe even further)

Re: The Industry choice

2005-01-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Hans Nowak <[EMAIL PROTECTED]> wrote: >Paul Rubin wrote: > >> You should write unit tests either way, but in Python you're relying >> on the tests to find stuff that the compiler finds for you with Java. > >As I wrote on my weblog a while ago, I suspect that this ef

Re: The Industry choice

2005-01-01 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Bulba wrote: >>OK, so what projects and why would you consider >>Python: >>1. "clearly unsuitable" > >Large-scale scientific computing projects, such as numerical weather >prediction, where performance is critical. Python could be used as

Re: The Industry choice

2005-01-02 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mark Carter <[EMAIL PROTECTED]> wrote: . [tale of *very* typical experience with non-software engineers] . . >use something like

Industrial organization (was: The Industry choice)

2005-01-03 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: >Bulba! <[EMAIL PROTECTED]> wrote: > >> True. I have a bit of interest in economics, so I've seen e.g. >> this example - why is it that foreign branches of companies >> tend to cluster themselves in one city or country (e.g. >

Re: The Industry choice

2005-01-03 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Terry Reedy <[EMAIL PROTECTED]> wrote: > >"Steve Holden" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> Well clearly there's a spectrum. However, I have previously written that >> the number of open source projects that appear to get stuck somewher

Compiler benefits (was: The Industry choice)

2005-01-03 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: >Roy Smith wrote: >>I think you've hit the nail on the head. In awk (and perl, and most >>shells, and IIRC, FORTRAN), using an undefined variable silently gets >>you a default value (empty string or zero). This tends to propagate >>errors

How can engineers not understand source-code control? (was: The Industry choice)

2005-01-03 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mark Carter <[EMAIL PROTECTED]> wrote: . . . >Don't start me! Dammit, too late ... > >I've noticed that they have an overwhelming obsession with GUIs, too. >They design wizards for everything.

Re: How can engineers not understand source-code control?

2005-01-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Mark Carter <[EMAIL PROTECTED]> wrote: . . . >True story: when I began working for my current employer, there was a >guy there doing some work with a spreadsheet. He was given two weeks to

Re: The Industry choice

2005-01-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Peter Dembinski <[EMAIL PROTECTED]> wrote: . . . >def foo(x): >return str(x) > >str = foo(x) > >And now, let's say that foo()'s definition is in another module. >It is hard for a programmer

Re: The Industry choice

2005-01-04 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alan Gauld <[EMAIL PROTECTED]> wrote: >On Sat, 01 Jan 2005 16:08:07 GMT, [EMAIL PROTECTED] (Cameron >Laird) wrote: > >> I argue that it's a false opposition to categorize projects in >> terms of use of single languages. Many

Re: navigating/changing directories

2005-01-06 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Nick Coghlan <[EMAIL PROTECTED]> wrote: >The script is executed in a process separate from your command shell, and >hence >has no effect on your shell's current directory. > >There are some things that batch files and shell scripts are still good for - >manipulat

Excluded and other middles in licensing (was: The Industry choice)

2005-01-06 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Alex Martelli <[EMAIL PROTECTED]> wrote: . . . >One last reflection -- I believe there are or used to be some programs >written by people no doubt of very good will, distributed with all >sources

Re: Integration with java

2005-01-14 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Istvan Albert <[EMAIL PROTECTED]> wrote: >Joachim Boomberschloss wrote: > >> the code is already written in Python, using the >> standard libraries and several extension modules > >One thing to keep in mind is that Jython does not >integrate CPython, instead it "u

Re: Integration with java (Jpype vs. JPE)

2005-01-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jon Perez <[EMAIL PROTECTED]> wrote: >Can someone summarize in a nutshell what is the >difference between JPype and JPE? JPE's the original. It provided more functionality than JPype has achieved so far, I believe (though that could change any day). I think no on

Re: java 5 could like python?

2005-01-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, vegetax <[EMAIL PROTECTED]> wrote: . . . >For example if i remember a function i want ie:get attribute, i dont >remember if the module implementer coded it as >getAttribute,GetAttribute,get_attr

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

2005-01-15 Thread Cameron Laird
QOTW: "Python: it tastes so good it makes you hungrier." -- EP "I don't consider 'throws Exception' to be sloppy, I consider it to be programmers voting with their feet." -- Roy Smith The Centre for Epidemiology and Research has released a high-quality suite of Python-based "Network-en

Re: Why 'r' mode anyway?

2005-01-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Tim Peters <[EMAIL PROTECTED]> wrote: . . . >reading up the bits in the index and offsets too, etc. IIRC, Unix was >actually quite novel at the time in insisting that all files were just >raw b

Re: reusing Tkinter Canvases

2005-01-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Sean McIlroy <[EMAIL PROTECTED]> wrote: >I'd like to save one Tkinter Canvas in order to use it on another >Canvas later. The problem is that it gets saved as EPS but it needs to >be GIF to be reuseable. How can I convert that format? .

Re: java 5 could like python?

2005-01-15 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Bengt Richter <[EMAIL PROTECTED]> wrote: . . . >This triggers a thought: Some are more passive about exploring than others, >and think there's nothing to be seen except what's pointed at. Sad for

Re: Checking for X availability

2005-01-16 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Nils Nordman <[EMAIL PROTECTED]> wrote: >On Tue, Jan 11, 2005 at 03:32:01AM -0800, Flavio codeco coelho wrote: >> So my question is: how can I check for the availability of X? i.e., >> How will my program know if its running in a text only console or in >> console w

Re: PyChecker messages

2005-01-16 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Roger Binns <[EMAIL PROTECTED]> wrote: . . . >> runner.py:200: Function (detectMimeType) has too many returns (11) >> >> The function is simply a long "else-if" clause, branching out to different

Re: PyChecker messages

2005-01-17 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Ben Sizer <[EMAIL PROTECTED]> wrote: >But you could use a dict of return values, or even just assigning a >different return value in each if clause. The end result is that you >have a single well-defined exit point from the function, which is >generally considered to

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

2005-01-17 Thread Cameron Laird
QOTW: "Python: it tastes so good it makes you hungrier." -- EP "I don't consider 'throws Exception' to be sloppy, I consider it to be programmers voting with their feet." -- Roy Smith The Centre for Epidemiology and Research has released a high-quality suite of Python-based "Network-en

Re: script to automate GUI application (newbie)

2005-01-18 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Jim <[EMAIL PROTECTED]> wrote: > >It sounds like a case for the Expect program, to me. Try Google-ing >for "Expect". If you are looking for a Python approach, then try >googling for "Expect Python". > >Jim > No--that is, I find his description unambiguous in NOT a

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Orlando Vazquez <[EMAIL PROTECTED]> wrote: >Jeff Shannon wrote: > >snip > >> Because you cannot make Python secure against a malicious (or ignorant) >> user -- there's too much flexibility to be able to guard against every >> possible way in which user-code could

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Carl Banks <[EMAIL PROTECTED]> wrote: . . . >> Python, or Perl, or TCL, or Ruby, or PHP, > >Not PHP. PHP is one of the better (meaning less terrible) examples of >what happens when you do this s

Re: Another scripting language implemented into Python itself?

2005-01-25 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, Quest Master <[EMAIL PROTECTED]> wrote: . . . >I know C/C++ might be better suited for a task of this kind, but most >of the modules in my application which need speed have already been >coded i

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

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

  1   2   3   4   5   6   7   >