Re: Is there a concerted effort afoot to improve the Python Wiki?

2009-09-20 Thread kirby
" and think training monkeys to write "Hello world" in Python might be a good way to improve user group diversity. -- Forwarded message -- From: kirby urner Date: Tue, Sep 15, 2009 at 11:36 AM Subject: Fwd: [PSF-Members] All-positive diversity statement To: divers..

Re: output from external commands

2005-10-24 Thread darren kirby
readlines(): >>> . . . process(line) Or check out subprocess if you have 2.4.. > James > > -- > My blog: http://www.crazydrclaw.com/ > My homepage: http://james.colannino.org/ -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "

[OT] Re: output from external commands

2005-10-24 Thread darren kirby
? In any event, I will refrain from trying to help people here until I get over this silly stage I seem to be stuck in... it just doesn't seem worth it. I am not trying to sound like a whiner here, I just wish you experts would go easy on us novices... -d -- darren kirby :: Part of the

Re: Windows vs Linux [was: p2exe using wine/cxoffice]

2005-10-26 Thread darren kirby
how to do this with bash/readline I will be > indebted to them and it will increase my chances of switching to Linux > a bit! (Although not at work where I have no choice!) Try ctrl-r in bash, then type your first few letters... -d -- darren kirby :: Part of the problem since 1976 ::

page faults when spawning subprocesses

2005-11-09 Thread Dave Kirby
seen this problem? 4) are there any other situations that could be causing a continuous stream of minor page faults? 5) WTF can I do about it? Dave Kirby (dave.x.kirby at gmail dot com) -- http://mail.python.org/mailman/listinfo/python-list

exception KeyboardInterrupt and os.system command

2005-11-27 Thread darren kirby
have 2.4 installed... OS is Linux, if it matters. If you need to see the code it is here: http://badcomputer.org/unix/dir2ogg/dir2ogg.bot Although, this code is the program as it stands, not the code I am testing. Thanks, -d -- darren kirby :: Part of the problem since 1976 :: http://badcompu

Re: exception KeyboardInterrupt and os.system command

2005-11-28 Thread darren kirby
I could find a reason for this behavior, and the site tells me the package is unmaintained, and has security flaws which will not be fixed. So I guess I will find a new mp3 decoder... -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of

Re: Favorite flavor of Linux? (for python or anything else)

2005-12-04 Thread darren kirby
nt now. In any event, it is an excellant timesaver if you have a network of similar systems. emerge from source on your staging server, build a bin package, and push it to the rest of the systems. -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org/ "...the numbe

Re: Python Challenge ahead [NEW] for riddle lovers

2005-04-29 Thread darren kirby
am currently stuck. It's starting to hurt my head. There are 478 results in the form *BBBsBBB* but the thing said 'exactly' right, well there are 10 results in the form *sBBBsBBBs* None of them seem to work... I quit ;) -- darren kirby :: Part of the problem since 1976 :

Twisted vs POS (Plain-old sockets)

2006-09-03 Thread Darren Kirby
I am really just fishing for opinions here...If it makes a difference: Depending on performance parts of this app may well end up as a prototype for a final (...alternative?) C++ implementation.Thanks for consideration, -d-- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org &q

Re: Twisted vs POS (Plain-old sockets)

2006-09-04 Thread Darren Kirby
On 9/3/06, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Sun, 3 Sep 2006 00:19:17 -0700, Darren Kirby <[EMAIL PROTECTED]> wrote: > >Hey all, > > > >I have a (FOSS) project here that I am about to start that requires TCP > >networking support, and

Re: stock quotes

2006-09-14 Thread Darren Kirby
On 9/13/06, Donlingerfelt <[EMAIL PROTECTED]> wrote: > I would like to download stock quotes from the web, store them, do > calculations and sort the results. However I am fairly new and don't have a > clue how to parse the results of a web page download. I can get to the > site, but do not know

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread darren kirby
x27;, t) You should get ten results. Consider all ten together to get your solution... -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, J

Re: Python Challenge ahead [NEW] for riddle lovers

2005-05-02 Thread darren kirby
that leads to unclear thinking... -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 pgppGkifujJIs.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list

Re: Language documentation ( was Re: Computing Industry shams)

2005-05-10 Thread Lawrence Kirby
On Tue, 10 May 2005 04:58:48 -0700, alex goldman wrote: > Sean Burke wrote: ... >> No, you're just confused about the optimization metric. >> In regexes, "greedy" match optimizes for the longest match, >> not the fastest. >> >> And this is common regex terminology - man perlre and you will >> f

Re: Language documentation ( was Re: Computing Industry shams)

2005-05-10 Thread Lawrence Kirby
On Tue, 10 May 2005 06:52:18 -0700, alex goldman wrote: > Lawrence Kirby wrote: ... >> However the original quote was in the context of regular expressions, so >> discussion of the terminology used in regular expressions is far more >> relevant than the terminology use

Re: Formatting Time

2005-06-03 Thread darren kirby
a little confused as to how you have a float that represents seconds? This will only work if 'seconds' is an int ( al la ' 44342865') but maybe it could help you? -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX ins

Re: New mailing list mirrors

2007-06-10 Thread kirby urner
Thanks tomer, I joined both through Google. Kirby "moe" Urner 4dsolutions.net/ocn/cp4e.html myspace.com/4dstudios [EMAIL PROTECTED] (moe rhymes with Minister of Education was my thinking -- a portfolio I sometimes grab for a gig, but always put back where I found it). On 6/10/0

Re: Can a low-level programmer learn OOP?

2007-07-14 Thread darren kirby
g--- Mel? Is that you? http://www.pbm.com/~lindahl/mel.html -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 -- http://mail.python

Re: help - python can't find file

2007-05-21 Thread darren kirby
d like RTFM but I do think that you could use some reading on Linux CLI usage. You say you have some Linux books? I say this as my reading of your message indicates your problems lie with misunderstanding the shell/paths etc, not with Python itself... -d -- darren kirby :: Part of the

Re: Reading (and writing?) audio file tags

2007-05-24 Thread darren kirby
ad me: "Mutagen works on Python 2.3+ and has no dependencies outside the CPython standard library" so it should work on Windows I think. It is just pure Python so there you go... > In the absence of something suitable, I'll probably go back to dumping > the tags via a

Re: PHP5 programmer learning Python

2007-05-27 Thread darren kirby
ienced you will probably want to check out "Dive into Python. [2] Have fun, -d [1] http://pleac.sourceforge.net/ [2] http://diveintopython.org/toc/index.html -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown t

My 'time' module is broken, unsure of cause

2007-08-23 Thread darren kirby
this? Any hints for me to track this issue down? Any further information I could provide? Thanks for consideration, -d -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972 -- http://mail.python.org/mailman/listinfo/python-list

Re: My 'time' module is broken, unsure of cause

2007-08-23 Thread darren kirby
hon 2.4.3 (#2, Oct 6 2006, 07:52:30) > [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > > >>> import time > >>> time.time() > >

Re: passing command line arguments

2007-09-07 Thread darren kirby
%s \ > (sys.argv[0], string.join(sys.argv[1:])) You don't want the 's' on the last format operator. Try: print 'The arguments of %s are "%s"' % \ (sys.argv[0], string.join(sys.argv[1:])) > any help would be greatly appreciated > >

Re: [Edu-sig] minimum age to learn python (a.k.a graphical vs text languages)

2007-03-10 Thread kirby urner
writing some py files -- we don't reinvent all of mathematics, me neither). I get a few middle schoolers in these classes, but only a couple, and usually already about two standard deviations in the college level direction. Kirby -- http://mail.python.org/mailman/listinfo/python-list

Re: [Edu-sig] minimum age to learn python (a.k.a graphical vs text languages)

2007-03-10 Thread kirby urner
On 3/10/07, Andreas Raab <[EMAIL PROTECTED]> wrote: > kirby urner wrote: > > I just talked to the computer teacher yesterday and he > > was reporting some rumor that future versions of Alice will > > center around the same Sims as in Sims, which my daughter > > p

Re: fclient project seeking co-coders

2007-10-28 Thread kirby urner
Another Urner, that's interesting. Not many of us. Kirby Urner Portland, Oregon USA On 10/28/07, Jürgen Urner <[EMAIL PROTECTED]> wrote: > > Hello all, > > I Just recently registered a project fclient to sourceforge.net > [http://sourceforge.net/projects/fclien

Re: [Edu-sig] "do" as a keyword

2007-12-12 Thread kirby urner
7;re used to." Usually beginners outgrow their initial discomfort, like when learning to drive stick instead of automatic or whatever. Kirby -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie question: if var1 == var2:

2008-11-29 Thread kirby urner
It's the newline after each word that's messing you up. var = "tree\n" ... or if item.strip() == var: ... etc. Kirby On Fri, Nov 28, 2008 at 7:47 PM, <[EMAIL PROTECTED]> wrote: > Hi All, > > I dont understand why the following code never finds "tre

Re: [Edu-sig] teaching python using turtle module

2009-11-29 Thread kirby urner
ch, consistent with a more generic approach to math concepts (vectors, polynomials, polyhedra) as objects (types), extending the OO rubric. We teach maths as extensible type systems that advance through the invention of new types, not just as systems evolving

Re: [Edu-sig] teaching python using turtle module

2009-11-30 Thread kirby urner
with Decimals. The reason this seems unfamiliar is the unit of volume is the tetrahedron formed by any four equi-radiused balls in inter-tangency. I'm spinning this as Martian Math these days, yakking on math-thinking-l about it, learned it from Bucky Fuller, Dave Koski et al. Kirby -- http:

Re: [Edu-sig] teaching python using turtle module

2009-11-30 Thread kirby urner
e version of tmod.py for the benefit of future students, and/or I could simply link to this post in the edu-sig archives (why not both?). Kirby -- >>> from mars import math http://www.wikieducator.org/Digital_Math -- http://mail.python.org/mailman/listinfo/python-list

Re: [Edu-sig] teaching python using turtle module

2009-12-01 Thread kirby urner
that much strong thanks to you. Kirby [1] Eber, Dorothy Harley. Genius At Work. about AGB is one of my fave syllabus entries, obscure and fun. On Mon, Nov 30, 2009 at 4:52 PM, kirby urner wrote: > On Mon, Nov 30, 2009 at 4:31 PM, Gregor Lingl wrote: > > << fascinating code >>

Re: [Edu-sig] some turtle questions

2010-01-25 Thread kirby urner
here, either by another turtle (! -- shared data structure) or by this turtle, or maybe it's still the default untrammeled color. You can add new methods, like "glide" or "explode" that translate to the underlying turtle somehow -- use your imagination. Kirby On Sun, Jan

Re: [Edu-sig] odd drawing problem with turtle.py

2010-01-31 Thread kirby urner
brary turtle. That's a well-known design pattern and a good way to get extra features sometimes. Kirby On Sun, Jan 31, 2010 at 4:27 PM, Brian Blais wrote: > I'm on Python 2.5, but using the updated turtle.py Version 1.0.1 - 24. 9. > 2009.  The following script draws 5 circl

Re: [Edu-sig] odd drawing problem with turtle.py

2010-01-31 Thread kirby urner
On Sun, Jan 31, 2010 at 8:07 PM, Vern Ceder wrote: > kirby urner wrote: >> >> I don't see where you've defined a Turtle class to instantiate sir. > > The Turtle class is part of the turtle library, so that's not an issue. > Hey, good point Vern, not firing

Re: [Edu-sig] odd drawing problem with turtle.py

2010-02-01 Thread kirby urner
; > bb > > > No obvious need to subclass. You weren't being lazy, I was being sloppy. I'm glad Vern caught my error right away. Kirby -- http://mail.python.org/mailman/listinfo/python-list

Re: Packages at Python.org

2010-12-01 Thread kirby urner
Good to hear from you sir. I've enjoying working with your modules and am getting some good results. I sent you a note off-list wondering how actively you might be supporting this valuable utility. Encouraging to find you here so quickly. Kirby On Wed, Dec 1, 2010 at 2:32 PM, Ethan F

Re: Combing Medusa's Hair... (Design Pattern)

2010-12-14 Thread kirby urner
regards, > kushal > Yeah, that's probably right. This is more like a pedagogical metaphor, a mnemonic. As the name for a design pattern, it should probably be confined to Python examples, as that's where the wordplay on Medusa makes some sense, and not just because her hai

Re: [Edu-sig] [ANNC] pynguin-0.7 (python turtle graphics application)

2010-04-11 Thread kirby urner
here are simple plot functions available (yes, I know about matplotlib, Sage...) Curious how much of the Standard Library turtle model gets used here. Is the turtle stuff all rewritten from scratch. Kirby -- http://mail.python.org/mailman/listinfo/python-list