Re: Python for philosophers

2013-05-15 Thread Tim Daneliuk
ow questions like the OPs ought be resolved, please read: http://pvspade.com/Sartre/cookbook.html -- ---- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python for philosophers

2013-05-15 Thread Tim Daneliuk
On 05/15/2013 10:43 PM, Terry Jan Reedy wrote: On 5/15/2013 9:17 PM, Tim Daneliuk wrote: http://pvspade.com/Sartre/cookbook.html Wikedly funny. "Today I made a Black Forest cake out of five pounds of cherries and a live b

Re: Python for philosophers

2013-05-15 Thread Tim Daneliuk
On 05/15/2013 11:49 PM, alex23 wrote: On May 16, 11:17 am, Tim Daneliuk wrote: http://pvspade.com/Sartre/cookbook.html Best recipe for tuna casserole ever! Cheers for this :) "I have have realized that the traditional omelet form (eggs and cheese) is bour

Re: Python for philosophers

2013-05-16 Thread Tim Daneliuk
On 05/16/2013 09:27 AM, Grant Edwards wrote: On 2013-05-16, Tim Daneliuk wrote: On 05/15/2013 08:01 PM, Ned Batchelder wrote: On 5/11/2013 4:03 PM, Citizen Kant wrote: Don't get me wrong. I can see the big picture and the amazing things that programmers write on Python, it's ju

Re: Static Maps from Lat Long data in XLS file

2013-05-21 Thread Tim Daneliuk
mage, but rather Google returns an image when that url is used. Any tips or pointers are much appreciated! https://pypi.python.org/pypi/xlrd -- ------- Tim Daneliuk -- http://mail.python.org/mailman/listinfo/python-list

Need Pattern For Logging Into A Website

2013-01-24 Thread Tim Daneliuk
for doing this. TIA, -- -------- Tim Daneliuk tun...@tundraware.com PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Need Pattern For Logging Into A Website

2013-01-25 Thread Tim Daneliuk
On 01/25/2013 10:01 AM, Steve Petrie wrote: On Thursday, January 24, 2013 8:29:51 PM UTC-5, Tim Daneliuk wrote: I need to write a Python script to do the following: - Connect to a URL and accept any certificate - self-signed or authoritative - Provide login name/password credentials

Re: Need Pattern For Logging Into A Website

2013-01-25 Thread Tim Daneliuk
On 01/25/2013 01:18 PM, Michael Torrie wrote: On 01/25/2013 09:18 AM, Tim Daneliuk wrote: On 01/25/2013 10:01 AM, Steve Petrie wrote: On Thursday, January 24, 2013 8:29:51 PM UTC-5, Tim Daneliuk wrote: The mechanize module (http://wwwsearch.sourceforge.net/mechanize/) might be a place to start

Re: Need Pattern For Logging Into A Website

2013-01-26 Thread Tim Daneliuk
On 01/26/2013 12:53 AM, Michael Torrie wrote: On 01/25/2013 05:15 PM, Tim Daneliuk wrote: Does it handle self-signed SSL certs? No idea. you'd have to try it. OK, thanks for the pointer. -- ---- Tim Daneliuk

Re: Donald E. Knuth in Python, cont'd

2012-04-16 Thread Tim Daneliuk
to do much, but have a mental model for how things work with a deeper understanding of things like the aforementioned makes a huge difference when working on your own code. P.S. Jon Bentley's "Programming Pearls" are also must reads for serious programmers. -- -

Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Tim Daneliuk
it bring you as much joy as it brought me! > You realize that you must now reprise this with, "I'm your wicked Uncle Guido" ... right? -- ---- Tim Daneliuk tun...@tundraware.com -- http://mail.python.org/mailman/listinfo/python-list

Re: "Python Wizard," with apologies to The Who

2011-07-12 Thread Tim Daneliuk
On 7/12/2011 12:08 PM, Tim Daneliuk said this: > On 7/12/2011 11:40 AM, John Keisling said this: >> After too much time coding Python scripts and reading Mark Lutz's >> Python books, I was inspired to write the following lyrics. For those >> too young to remember, th

Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
eas anyone? -- -------- Tim Daneliuk tun...@tundraware.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
On 8/5/2011 2:05 PM, Irmen de Jong said this: > On 05-08-11 19:53, Tim Daneliuk wrote: >> I have a task where I want to create pretty simple one page visual >> interfaces (Graphical or Text, but it needs to run across Windows, >> Cygwin, Linux,*BSD, OSX ...). These interf

Re: Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
On 8/5/2011 3:42 PM, Philip Semanchuk wrote: On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: On 8/5/2011 2:05 PM, Irmen de Jong said this: On 05-08-11 19:53, Tim Daneliuk wrote: I have a task where I want to create pretty simple one page visual interfaces (Graphical or Text, but it needs to

Re: Table Driven GUI Definition?

2011-08-05 Thread Tim Daneliuk
On 8/5/2011 5:51 PM, Philip Semanchuk wrote: On Aug 5, 2011, at 6:20 PM, Tim Daneliuk wrote: On 8/5/2011 3:42 PM, Philip Semanchuk wrote: On Aug 5, 2011, at 4:10 PM, Tim Daneliuk wrote: On 8/5/2011 2:05 PM, Irmen de Jong said this: On 05-08-11 19:53, Tim Daneliuk wrote: I have a task

Re: Old Man Yells At Cloud

2017-09-16 Thread Tim Daneliuk
On 09/16/2017 12:38 AM, Steve D'Aprano wrote: > /rant on > > So apparently everyone who disagrees that Python should be more like > Javascript > is an old greybeard fuddy-duddy yelling "Get off my lawn!" to the cool kids -- > and is also too stupid to know how dumb they are. > > "Hi, I've been p

Re: Old Man Yells At Cloud

2017-09-16 Thread Tim Daneliuk
On 09/16/2017 12:38 AM, Steve D'Aprano wrote: > /rant on > > So apparently everyone who disagrees that Python should be more like > Javascript > is an old greybeard fuddy-duddy yelling "Get off my lawn!" to the cool kids -- > and is also too stupid to know how dumb they are. > > "Hi, I've been p

Re: Old Man Yells At Cloud

2017-09-17 Thread Tim Daneliuk
On 09/16/2017 09:59 AM, Tim Daneliuk wrote: > On 09/16/2017 12:38 AM, Steve D'Aprano wrote: >> /rant on >> >> So apparently everyone who disagrees that Python should be more like >> Javascript >> is an old greybeard fuddy-duddy yelling "Get off my lawn!&

Re: Python Templating Language

2017-12-16 Thread Tim Daneliuk
On 12/17/2017 12:41 AM, Abdur-Rahmaan Janhangeer wrote: > Hi all, > > Can somebody point out to me some py-based template languages interpreters > resources? > > Thank you ! > http://jinja.pocoo.org/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Grumpy: Python to Go compiler

2017-01-08 Thread Tim Daneliuk
On 01/08/2017 06:18 PM, Deborah Swanson wrote: > (haha, unless > you ask) C'mon, go for it ... there hasn't been a good rant here in 4 or 5 minutes ... -- https://mail.python.org/mailman/listinfo/python-list

Re: How coding in Python is bad for you

2017-01-23 Thread Tim Daneliuk
On 01/23/2017 11:24 AM, breamore...@gmail.com wrote: > The article is here http://lenkaspace.net/index.php/blog/show/111 > > Kindest regards. > > Mark Lawrence. > Beyond silly. Languages - like all tools - can be used properly or badly. -- https://mail.python.org/mailman/listinfo/python-list

Re: How coding in Python is bad for you

2017-01-23 Thread Tim Daneliuk
On 01/23/2017 02:19 PM, Chris Angelico wrote: > On Tue, Jan 24, 2017 at 6:59 AM, Grant Edwards > wrote: >> On 2017-01-23, breamore...@gmail.com wrote: >> >>> The article is here http://lenkaspace.net/index.php/blog/show/111 >> >> I don't really think any of his points are valid, but one way that

Re: Thank you Python community!

2018-03-19 Thread Tim Daneliuk
On 03/19/2018 02:05 PM, bartc wrote: > I've often wondered what the guys who invented C (around 1970) must have been  > smoking to have come up with some of those ideas. I dunno, but I do know that - if they were smoking something - it was rolled in greenbar paper ... -- https://mail.python.org/m

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Tim Daneliuk
On 07/01/2018 12:17 PM, MRAB wrote: > On 2018-07-01 18:06, Abdur-Rahmaan Janhangeer wrote: >> was viewing pep526, so, finally, python cannot do without hinting the type >> as other languages? >> will python finally move to >> int x = 3 where int is a pre annotation? >> >> i am not arguing it's usef

Re: PEP 526 - var annotations and the spirit of python

2018-07-02 Thread Tim Daneliuk
On 07/02/2018 06:22 PM, Gregory Ewing wrote: > A > truly good programmer will be able to learn about the language > being used on the job. Except that the current attempt is to use techniques like agile, scrum, pair programming, and so forth to turn programming into a factory activity. High degre

Re: Guido van Rossum resigns as Python leader

2018-07-14 Thread Tim Daneliuk
On 07/14/2018 10:16 AM, Skip Montanaro wrote: >> Is it irrational to wonder whether projects should be looking to migrate to >> new languages? This kind of announcement makes me worry for the future. > > Umm, yeah. The language is stable, widely used packages are stable. > Guido actually has littl

Re: Cult-like behaviour [was Re: Kindness]

2018-07-14 Thread Tim Daneliuk
On 07/14/2018 04:09 AM, Christian Gollwitzer wrote: > I agree with this observation and it feels quite strange to me. I regularly > use three languages (C++, Python and Tcl), all three are under active > development, and IMHO all of them have flaws, there are is always something > which is elega

Re: Cult-like behaviour [was Re: Kindness]

2018-07-15 Thread Tim Daneliuk
On 07/14/2018 07:40 PM, Chris Angelico wrote: > You'd better avoid most of JavaScript, C++, and most other languages, > then. Every language feeps a little, and Python is definitely not as > bad as some. Point Of Order: C++ is one gigantic feep to be avoided at all costs... :) -- https://mail.pyt

Re: ESR "Waning of Python" post

2018-10-12 Thread Tim Daneliuk
On 10/11/2018 12:15 AM, Gregory Ewing wrote: > Paul Rubin wrote [concerning GIL removal]: >> It's weird that Python's designers were willing to mess up the user >> language in the 2-to-3 transition but felt that the C API had to be kept >> sarcosanct.  Huge opportunities were blown at multiple leve

Re: ESR "Waning of Python" post

2018-10-12 Thread Tim Daneliuk
On 10/12/2018 11:43 AM, Skip Montanaro wrote: > I sort of skimmed ESR's post, and sort of skimmed this thread, so > obviously I'm totally qualified to offer my observations on the post > and follow ups. :-) Skip - In the 15-ish years I've been reading this group, this has NEVER been an obstacle f

Re: Accessing clipboard through software built on Python

2018-10-28 Thread Tim Daneliuk
On 10/27/2018 08:17 AM, Musatov wrote: > I am wondering if Python could be used to write a program that allows: > > 1. Highlight some text > 2. Ctl+HOTKEY1 stores the string of text somewhere as COPIEDTEXT1 > 3. Highlight another string of text > 4. Ctl+HOTKEY1 stores another string of text somewh

Re: Accessing clipboard through software built on Python

2018-10-28 Thread Tim Daneliuk
On 10/28/2018 02:08 PM, Akkana Peck wrote: > Tim Daneliuk writes: >> However, the highlighted text must be copied explicitly: >> >> Highlight >> Ctl-C > [ ... ] >> X actually has several clipboard buffers and it can be tricky to get this >> going.

Re: Accessing clipboard through software built on Python

2018-10-28 Thread Tim Daneliuk
On 10/28/2018 02:08 PM, Akkana Peck wrote: > Tim Daneliuk writes: >> However, the highlighted text must be copied explicitly: >> >> Highlight >> Ctl-C > [ ... ] >> X actually has several clipboard buffers and it can be tricky to get this >> going.

Re: Lifetime of a local reference

2019-02-26 Thread Tim Daneliuk
On 2/26/19 3:54 PM, Marko Rauhamaa wrote: > Consider this function: > > def fun(): > f = open("lock") > flock.flock(f, fcntl.LOCK_EX) > do_stuff() > sys.exit(0) > > Question: can a compliant Python implementation close f (and, > consequently, release the file l

Re: join and split with empty delimiter

2019-07-17 Thread Tim Daneliuk
On 7/17/19 4:24 PM, Chris Angelico wrote: > Agreed. There are a number of other languages where splitting on an > empty delimiter simply fractures the string into characters (I checked > Pike, JavaScript, Tcl, and Ruby), and it's a practical and useful > feature. +1. Not only that, it makes the la

Re: Proper shebang for python3

2019-07-20 Thread Tim Daneliuk
On 7/20/19 1:20 PM, Chris Angelico wrote: > On Sun, Jul 21, 2019 at 4:13 AM Michael Speer wrote: >> >> You may want to use `#!/usr/bin/env python3` instead. >> >> There is a concept in python called the virtual environment. This used to >> be done with a tool called virtualenv in python2, and is n

Re: Proper shebang for python3

2019-07-20 Thread Tim Daneliuk
On 7/20/19 2:56 PM, Peter J. Holzer wrote: > On 2019-07-20 14:11:44 -0500, Tim Daneliuk wrote: >> So, no, do NOT encode the hard location - ever. Always use env to >> discover the one that the user has specified. The only exception is >> /bin/sh which - for a variety of r

Re: Proper shebang for python3

2019-07-20 Thread Tim Daneliuk
On 7/20/19 5:14 PM, Chris Angelico wrote: > Using env for everything is a terrible idea and one that > will basically make virtual environments useless. Not if you manage them properly. Everyone's mileage is different, but when I enter a venv, I ensure everything I do there is packaged to work t

Re: Proper shebang for python3

2019-07-20 Thread Tim Daneliuk
On 7/20/19 5:47 PM, Tim Daneliuk wrote: > On 7/20/19 5:14 PM, Chris Angelico wrote: >> Using env for everything is a terrible idea and one that >> will basically make virtual environments useless. > > Not if you manage them properly. > > Everyone's mileage is di

Re: Proper shebang for python3

2019-07-20 Thread Tim Daneliuk
On 7/20/19 6:04 PM, Chris Angelico wrote: > Are you aware of every systemwide command that happens to be > implemented in Python, such that you won't execute any of them while > you have the venv active? No, but this has never been a problem because the newer versions of python tend to be pretty g

Re: Proper shebang for python3

2019-07-20 Thread Tim Daneliuk
On 7/20/19 6:04 PM, Cameron Simpson wrote: > If you require a specific outcoming, set a specific environment. It is under  > your control. Control it. Exactly right. I have just had the REALLY irritating experience of trying to bootstrap a location insensitive version of linuxbrew that mostly wo

Re: Proper shebang for python3

2019-07-21 Thread Tim Daneliuk
On 7/21/19 8:47 AM, Peter J. Holzer wrote: > That's fine. Unlike Tim I don't claim that anybody who disagrees with me > must be a newbie. Peter, that's ad hominem and unfair. I never said anything close to that. What I said is that if someone were to spend an extended period of time in devops and

Re: Proper shebang for python3

2019-07-22 Thread Tim Daneliuk
On 7/20/19 4:28 PM, Brian Oney wrote: > Why not make a compromise? What would be a potential pitfall of the > following spitbang? > > #!python Not sure this really changes the discussion. -- https://mail.python.org/mailman/listinfo/python-list

Randomizing Strings In A Microservices World

2019-12-09 Thread Tim Daneliuk
I ran across a kind of fun problem today that I wanted to run past you Gentle Geniuses (tm): - Imagine an environment in which there may be multiple instances of a given microservice written in Python. - Each of these services needs to produce a string of ten digits guaranteed to be unique

Re: Randomizing Strings In A Microservices World

2019-12-09 Thread Tim Daneliuk
On 12/9/19 8:50 PM, Paul Rubin wrote: > Tim Daneliuk writes: >> - Imagine an environment in which there may be multiple instances of a given >> microservice written in Python. > > Decide the maximum number of microservice instances, say 1000. Chop up > the 10 digit ra

Re: Randomizing Strings In A Microservices World

2019-12-09 Thread Tim Daneliuk
On 12/9/19 8:54 PM, Dennis Lee Bieber wrote: > On Mon, 9 Dec 2019 18:52:11 -0600, Tim Daneliuk > declaimed the following: > >> >> - Each of these services needs to produce a string of ten digits guaranteed >> to be unique >> on a per service instance basis A

Re: Randomizing Strings In A Microservices World

2019-12-10 Thread Tim Daneliuk
On 12/10/19 10:36 AM, Peter Pearson wrote: > Just to be sure: you *are* aware that the "Birthday Paradox" says > that if you pick your 10-digit strings truly randomly, you'll probably > get a collision by the time of your 10**5th string . . . right? I did not consider this, but the point is taken.

Re: Randomizing Strings In A Microservices World

2019-12-15 Thread Tim Daneliuk
On 12/10/19 12:37 PM, Chris Angelico wrote: > On Wed, Dec 11, 2019 at 5:01 AM Tim Daneliuk wrote: >> >> On 12/10/19 10:36 AM, Peter Pearson wrote: >>> Just to be sure: you *are* aware that the "Birthday Paradox" says >>> that if you pick your 10-di

Lists And Missing Commas

2019-12-23 Thread Tim Daneliuk
If I do this: foo = [ "bar", "baz" "slop", "crud" ] Python silently accepts that and makes the middle term "bazslop". BUT, if I do this: foo = [ "bar", "baz" 1, "crud" ] or this: foo = [ "bar", 2 1, "crud" ] The interpreter throws a syntax error. This is more of an intellectual

Re: Lists And Missing Commas

2019-12-23 Thread Tim Daneliuk
On 12/23/19 7:52 PM, DL Neil wrote: > > WebRef: https://docs.python.org/3/reference/lexical_analysis.html Yep, that explains it, but it still feels non-regular to me. From a pointy headed academic POV, I'd like to see behavior consistent across types. Again ... what do I know? -- https://mai

Re: Lists And Missing Commas

2019-12-23 Thread Tim Daneliuk
On 12/23/19 8:35 PM, Chris Angelico wrote: > On Tue, Dec 24, 2019 at 12:56 PM DL Neil via Python-list > wrote: >> However, your point involves the fact that whereas: >> >> 1 + 2 # 3 is *clearly* addition, and >> "a" + "b" # "ab" is *clearly* concatenation >> >> "a" "b" # al

Re: Lists And Missing Commas

2019-12-24 Thread Tim Daneliuk
On 12/24/19 6:37 AM, Stefan Ram wrote: > And you all are aware that this kind of string concatenation > happens in C and C++, too, aren't you? > > main.c > > #include > int main( void ){ puts( "a" "b" ); } > > transcript > > ab Noting that it has been a long time since I looked at the

3.8.5 Failing To Install With pythonz

2020-08-09 Thread Tim Daneliuk
I have a weird problem I could use a bit of help with ... I have successfully installed 3.8.5 using pew/pythonz on a BSD FreeBSD system. But when I attempt to install it on a Linux system I get the traceback below. In this case, pew/pythonz were installed locally in my own account using system nat

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-18 Thread Tim Daneliuk
On 8/17/20 1:26 PM, Chris Angelico wrote: > For context, see this commit: > > https://github.com/python/peps/commit/0c6427dcec1e98ca0bd46a876a7219ee4a9347f4 > > The commit message is highly politically charged and is now a > permanent part of the Python commit history. The Python Steering > Counc

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-18 Thread Tim Daneliuk
On 8/18/20 12:28 PM, justin walters wrote: > I apologize for being ageist earlier as well. That was out of line. I am likely older than you and there is no reason to apologise. Only the profoundly undeveloped psyche takes every opportunity to find offense when none is intended. It is the sign of

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-18 Thread Tim Daneliuk
On 8/18/20 6:34 PM, rmli...@riseup.net wrote: > I would kindly recommend that folks just educate themselves on what I would also like to help you become educated. Be sure to check out these literary treasures - they are the foundation of the worldview you are espousing: The_Origin of the Famil

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-18 Thread Tim Daneliuk
On 8/18/20 6:34 PM, rmli...@riseup.net wrote: > I would kindly recommend that folks just educate themselves on what Speaking of being educated ... Could you please do an exposition for all us ignorant types on the books that really animate your worldview: The_Origin of the Family, Private P

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 8:35 AM, Alexandre Brault wrote: > I've not seen anyone objecting to the idea of removing the reference to > Strunk and White in favour of the underlying message of "be understandable by > others who may read your comments" (there were at most a few philosophical > "what is understand

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/18/20 12:18 PM, gia wrote: > That's why I picked Math, it is also universally accepted, it's very > strict, and it leaves the reader to decide its color based on themselves > (it's not white btw :) Sorry, but when it comes to the demands of the woke, you are not immune. Reported widely ear

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 2:00 PM, Karen Shaeffer wrote: > Where you conclude with: "Methinks there is an ideological skunk in the > parlor …” > > Considering all your posts on this thread, it is reasonable to infer you have > some ideological motivations. My motivation was to demonstrate that if people of yo

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 1:10 PM, J. Pic wrote: > Tim, don't you also think that statements should be backed by > evidence, even more if they are particularly accusatory ? > > We'll be lucky if S&W's editor doesn't sue the PSF for slandering for > publishing that S&W "upholds white supremacy". > As a general

Re: Final statement from Steering Council on politically-charged commit messages

2020-08-19 Thread Tim Daneliuk
On 8/19/20 3:29 PM, Ethan Furman wrote: > On 8/19/20 12:40 PM, Tim Daneliuk wrote: >> On 8/19/20 2:00 PM, Karen Shaeffer wrote: > >>> Considering all your posts on this thread, it is reasonable to infer you >>> have some ideological motivations. >> >>

Re: Python's carbon guilt

2020-10-10 Thread Tim Daneliuk
On 10/10/20 2:35 PM, Marco Sulla wrote: > He should also calculate the carbon dioxide emitted by brains that > works in C++ only. I omit other sources. > yes, methane is an alleged greenhouse gas as well -- https://mail.python.org/mailman/listinfo/python-list

Re: 1 Million users.. I can't Scale!!

2005-09-28 Thread Tim Daneliuk
y for these kinds of problems. We're always looking for a great new customer. Always-Developing-New-Business-ly Yours, ---- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

OT - Re: Microsoft Hatred FAQ

2005-11-03 Thread Tim Daneliuk
for both systems and applications software. Stop foaming, and go do something useful with them ... No Cheers, -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: OT - Re: Microsoft Hatred FAQ

2005-11-03 Thread Tim Daneliuk
Steven D'Aprano wrote: > On Thu, 03 Nov 2005 04:34:20 -0500, Tim Daneliuk wrote: > > > >>A) I don't much care if people wander off topic from time to time - >>that's what filters are for. But as a matter of general courtesy >>is it too m

Re: OT - Re: Microsoft Hatred FAQ

2005-11-03 Thread Tim Daneliuk
Steven D'Aprano wrote: > On Thu, 03 Nov 2005 14:56:44 -0500, Tim Daneliuk wrote: > > >>There is a difference between what is *illegal* and what constitutes >>a *crime*. > > > Why thank you, you've really made my day. That's the funniest thing I

Tkinter Puzzler

2005-01-07 Thread Tim Daneliuk
ne) Any ideas why the first form does not fly? TIA, -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter Puzzler

2005-01-07 Thread Tim Daneliuk
Tim Daneliuk wrote: I am trying to initialize a menu in the following manner: for entry in [("Up", KeyUpDir), ("Back", KeyBackDir), ("Home", KeyHomeDir), ("Startdir", KeyStartDir), ("Root", KeyRootDir)]: func = entry[1] UI.ShortBtn.menu

Tkinter, Alt, and Windows

2005-01-07 Thread Tim Daneliuk
nyone else run into this behavior and have a fix??? TIA, ---- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter, Alt, and Windows

2005-01-07 Thread Tim Daneliuk
Tim Daneliuk wrote: Arggg. I have a program that runs comfortably across both Unix variants and Windows ... except I wish to bind an Alt-ButtonRelease-3 combination to popup a menu. This works flawlessly under Unix, but with windows, the menu appears briefly and then disappears. I&#

Getting List Of All Filesystem Mounts

2005-01-08 Thread Tim Daneliuk
Is there some pure Python/portable way to get a list of all currently mounted filesystems? Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo

Re: Python.org, Website of Satan

2005-01-11 Thread Tim Daneliuk
be practiced non-routably... -- -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN]: twander 3.160 Released And Available

2005-01-12 Thread Tim Daneliuk
tion - about 3100/1300 lines of code/comments - A RCT (Really Cool Tool) that will have you addicted in a day or two See the web page for more information, a screen shot, and the complete documentation. ------ Tim Daneliuk [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

[ANN]: twander 3.160 Released And Available

2005-01-12 Thread Tim Daneliuk
tion - about 3100/1300 lines of code/comments - A RCT (Really Cool Tool) that will have you addicted in a day or two See the web page for more information, a screen shot, and the complete documentation. ------ Tim Daneliuk [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Unclear On Class Variables

2005-01-13 Thread Tim Daneliuk
* rather than the class. It is late and I am probably missing the obvious. Enlightenment appreciated ... -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman

Re: news feed problem -- anyone else?

2005-01-17 Thread Tim Daneliuk
wing *free* newsfeed: http://individual.net/ HTH, -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

[ANN] tconfpy 2.112 Released And Available

2005-01-20 Thread Tim Daneliuk
cluding Unix 'man', Plain Text, html, pdf, and ~ Postscript. 'tconfpy' is a Pure Python module and is platform-independent. It should work identically on any platform on which Python runs. - -- Tim D

re Insanity

2005-01-22 Thread Tim Daneliuk
MPT...] string in the line. Ideas anyone? -- -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Comments in configuration files

2005-01-22 Thread Tim Daneliuk
27;tconfpy' recognizes a superset of the language recognized by 'ConfigParser'. But you have to be careful because the semantics are somewhat different. -- -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: h

Re: Insanity

2005-01-23 Thread Tim Daneliuk
Fredrik Lundh wrote: Tim Daneliuk wrote: Given an arbitrary string, I want to find each individual instance of text in the form: "[PROMPT:optional text]" I tried this: y=re.compile(r'\[PROMPT:.*\]') Which works fine when the text is exactly "[PROMPT:whatever]"

Re: re Insanity

2005-01-23 Thread Tim Daneliuk
Orlando Vazquez wrote: Tim Daneliuk wrote: For some reason, I am having the hardest time doing something that should be obvious. (Note time of posting ;) Given an arbitrary string, I want to find each individual instance of text in the form: "[PROMPT:optional text]" I tried t

Re: Insanity

2005-01-23 Thread Tim Daneliuk
Fredrik Lundh wrote: Tim Daneliuk wrote: Thanks - very helpful. One followup - your re works as advertised. But if I use: r'\[PROMPT:[^]].*\]' it seems not to. the '.*' instead of just '*' it matches the entire string ... it's not "just '*'

Re: re Insanity

2005-01-26 Thread Tim Daneliuk
Aahz wrote: In article <[EMAIL PROTECTED]>, Tim Daneliuk <[EMAIL PROTECTED]> wrote: Given an arbitrary string, I want to find each individual instance of text in the form: "[PROMPT:optional text]" I tried this: y=re.compile(r'\[PROMPT:.*\]') Which wor

tkinter: Can You Underline More Than 1 Char In A Menu Title

2005-01-27 Thread Tim Daneliuk
differently in different circumstances. Is it possible to underline more than a single character as I am doing with the 'underline=0' above. I tried 'underline=(0,2)' but that didn't work. Ideas? TIA, -- -------

Re: tkinter: Can You Underline More Than 1 Char In A Menu Title

2005-01-27 Thread Tim Daneliuk
Jeff Epler wrote: On Thu, Jan 27, 2005 at 06:38:22AM -0500, Tim Daneliuk wrote: Is it possible to underline more than a single character as I am doing with the 'underline=0' above. I tried 'underline=(0,2)' but that didn't work. No. Jeff I love

Re: tkinter: Can You Underline More Than 1 Char In A Menu Title

2005-01-31 Thread Tim Daneliuk
Tim Roberts wrote: Tim Daneliuk <[EMAIL PROTECTED]> wrote: I am currently underling the first character of a menu title (to indicate its shortcut/accelerator key) like this: self.WildBtn = Menubutton(self.mBar, text=WILDMENU, underline=0, state=DISABLED) However, I intend to actually ha

Re: tkinter: Can You Underline More Than 1 Char In A Menu Title

2005-02-01 Thread Tim Daneliuk
Fredrik Lundh wrote: Tim Daneliuk wrote: However, I intend to actually have two separate keys invoke this menu to have it behave differently in different circumstances. You can, of course, CHANGE the underlined character to match the circumstances. Yeah, I understand that ... what I want is two

Nokia Chooses Python

2005-02-01 Thread Tim Daneliuk
http://press.nokia.com/PR/200501/978226_5.html -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Generating .pyc/.pyo from a make file

2005-02-02 Thread Tim Daneliuk
es the pyo file, but myprog starts up and keeps running. IOW, I need a batch method for generating compiled python. I know it exists, but I can't find it for some reason ... TIA, -- ---- Tim Daneliuk [EMAIL PROTECT

Re: Generating .pyc/.pyo from a make file

2005-02-02 Thread Tim Daneliuk
Roland Heiber wrote: Tim Daneliuk wrote: I use a makefile to create distribution tarballs of freestanding Python programs and their documentation. I cannot seem to find the right command line option to just generate a pyc/pyo file from the program and then exit. If I use 'python - -c&q

Re: Generating .pyc/.pyo from a make file

2005-02-02 Thread Tim Daneliuk
Steve Holden wrote: Roland Heiber wrote: Tim Daneliuk wrote: It does - thanks. One more question: Are pyc and pyo file portable across operating systems? I suspect not since I generated a pyo on a FreeBSD machine that will not run on a Win32 machine. I was under the impression that "com

Re: OT: why are LAMP sites slow?

2005-02-03 Thread Tim Daneliuk
uot;. P.S. AFAIK the first CRS systems of any note came into being in the 1970s not the 1960s, but I may be incorrect in the matter. -- -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-03 Thread Tim Daneliuk
mi (to reduce latency)... -- ---- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: why are LAMP sites slow?

2005-02-03 Thread Tim Daneliuk
Paul Rubin wrote: Tim Daneliuk <[EMAIL PROTECTED]> writes: I worked for an Airline computer reservation system (CRS) for almost a decade. There is nothing about today's laptops that remotely comes close to the power of those CRS systems, even the old ones. CRS systems are optimized fo

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Tim Daneliuk
Paul Rubin wrote: Tim Daneliuk <[EMAIL PROTECTED]> writes: [other good stuff from Tim snipped] Today I think most seeks can be eliminated by just using ram or SSD (solid state disks) instead of rotating disks. But yeah, you wouldn't do that on a laptop. But that still does not solve

Re: OT: why are LAMP sites slow?

2005-02-04 Thread Tim Daneliuk
Fredrik Lundh wrote: Tim Daneliuk wrote: THis is why, IMHO, things like SOAP a laughable - RPC is a poor foundation for reliable, durable, and high-performance TP. It might be fine for sending an order or invoice now and then, but sustained through- put of the sort I think of as "

Looking For Geodetic Python Software

2005-06-22 Thread Tim Daneliuk
inate system. This is *way* outside my field of expertise so I'm hoping someone has taken the pain of it for dummies like me ;) TIA, -- -------- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundrawar

Re: Looking For Geodetic Python Software

2005-06-22 Thread Tim Daneliuk
Casey Hawthorne wrote: > Tim Daneliuk <[EMAIL PROTECTED]> wrote: > > >>Is anyone aware of freely available Python modules that can do any of >>the following tasks: >> >>1) Given the latitude/longitude of two locations, compute the distance >> be

  1   2   3   >