Re: What are OOP's Jargons and Complexities?

2005-05-24 Thread Thomas G. Marshall
John W. Kennedy coughed up: > alex goldman wrote: >> John W. Kennedy wrote: >> >> >>> Strong >>> typing has been a feature of mainstream programming languages since >>> the late 1950's. >> >> >> Is Fortran a strongly typed language? I don't think so. Strong >> typing has been invented in the 70's,

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread Thomas G. Marshall
[EMAIL PROTECTED] coughed up: > Thomas G. Marshall wrote: > *Missattributed* --Thomas G. Marshall (I) did /not/ write the following: >>> I am not familiar with modern Fortran. Surely it at least has >>> argument prototyping by now? > > Since the 1990 standa

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread Thomas G. Marshall
Xah Lee coughed up: > The Rise of "Static" versus "Instance" variables You are clearly unable to form a proper argument, *AND* you have irritated nearly everyone frequently. Ahthe blessed silence -- http://mail.python.org/mailman/listinfo/python-list

subprocess leaves child living

2007-06-05 Thread Thomas Dybdahl Ahle
Hi, When I do a small program like from subprocess import Popen popen = Popen(["ping", "google.com"]) from time import sleep sleep(100) start it and kill it, the ping process lives on. Is there a way to ensure that the ping process is always killed when the python process is? I can't use atexit,

Re: subprocess leaves child living

2007-06-05 Thread Thomas Dybdahl Ahle
Den Tue, 05 Jun 2007 14:07:44 +0200 skrev Stefan Sonnenberg-Carstens: > Thomas Dybdahl Ahle schrieb: >> Hi, When I do a small program like >> >> from subprocess import Popen >> popen = Popen(["ping", "google.com"]) from time import sleep >> sl

Re: subprocess leaves child living

2007-06-05 Thread Thomas Dybdahl Ahle
Den Tue, 05 Jun 2007 07:06:15 -0700 skrev Rob Wolfe: > Thomas Dybdahl Ahle wrote: > >> Problem is - I can't do that when I get killed. Isn't it possible to >> open processes in such a way like terminals? If I kill the terminal, >> everything open in it will d

Strange errors on exit

2007-06-05 Thread Thomas Dybdahl Ahle
in thread Thread-4 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap File "/home/thomas/Programmering/python/skak/0.7/lib/pychess/System/ ThreadPool.py", line 49, in run Fil

Re: subprocess leaves child living

2007-06-05 Thread Thomas Dybdahl Ahle
Den Tue, 05 Jun 2007 22:01:44 +0200 skrev Rob Wolfe: > Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes: > >> But you can't ever catch sigkill. > > There is no protection against sigkill. > >> Isn't there a way to make sure the os kills the childpr

Re: subprocess leaves child living

2007-06-05 Thread Thomas Dybdahl Ahle
Den Tue, 05 Jun 2007 15:46:39 -0500 skrev Michael Bentley: > But actually *that* is an orphan process. When a parent process dies > and the child continues to run, the child becomes an orphan and is > adopted by init. Orphan processes can be cleaned up on most Unices with > 'init q' (or somethin

Re: subprocess leaves child living

2007-06-06 Thread Thomas Dybdahl Ahle
Den Tue, 05 Jun 2007 17:41:47 -0500 skrev Michael Bentley: > On Jun 5, 2007, at 5:13 PM, Michael Bentley wrote: > > >> On Jun 5, 2007, at 4:17 PM, Thomas Dybdahl Ahle wrote: >> >>> Den Tue, 05 Jun 2007 15:46:39 -0500 skrev Michael Bentley: >>> >&g

Re: subprocess leaves child living

2007-06-07 Thread Thomas Dybdahl Ahle
Den Thu, 07 Jun 2007 07:00:53 + skrev reed: > On Jun 5, 7:58 am, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: >> Hi, When I do a small program like >> >> from subprocess import Popen >> popen = Popen(["ping", "google.com"]) from time

Re: The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations

2007-06-12 Thread Thomas F. Burdick
On Jun 11, 11:36 pm, Tim Bradshaw <[EMAIL PROTECTED]> wrote: > On Jun 11, 8:02 am, Twisted <[EMAIL PROTECTED]> wrote: > > > On Jun 11, 2:42 am, Joachim Durchholz <[EMAIL PROTECTED]> wrote: > > > > It is possible to write maintainable Perl. > > > Interesting (spoken in the tone of someone hearing ab

Re: The Modernization of Emacs

2007-06-17 Thread Thomas F. Burdick
For the love of dogs, Xah, try to keep up. Aquamacs is an Emacs distribution that, which not there yet, is at least half way between "classic" Emacs and a modern Mac UI. You sound ridiculous, like if you were complaining about Windows not being really graphical, based on experience with Windows-3

zipfile: grabbing whole directories

2007-04-30 Thread Dan Thomas-Paquin
Hi, The built in zipfile.write doesn't seem to like taking a directory instead of a filename. for example: for each in listofdir: archive.write(each) blows up when one of the items listed in listofdir is a subdirectory. File "/usr/local/lib/python2.4/zipfile.py", line 405,

Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
I have a sort function in a python chess program. Currently it looks like this: def sortMoves (board, table, ply, moves): f = lambda move: getMoveValue (board, table, ply, move) moves.sort(key=f, reverse=True) return moves However I'd really like not to use the lambda, as it slows dow

Re: Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 21:13:02 +0100 skrev Bjoern Schliessmann: > Thomas Dybdahl Ahle wrote: > >> However I'd really like not to use the lambda, as it slows down the >> code. > > Did you check how much the slowdown is? Yes, the lambda adds 50% -- http://mail.pytho

Re: Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 11:44:27 -0800 skrev Paul Rubin: > Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes: >> Do you have any ideas how I can sort these moves the fastest? > > One idea: if you're using alpha-beta pruning, maybe you can use > something like heapq inste

Re: Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 20:33:45 +0100 skrev Diez B. Roggisch: > Thomas Dybdahl Ahle schrieb: >> I have a sort function in a python chess program. Currently it looks >> like this: >> >> def sortMoves (board, table, ply, moves): >> f = lambda move: getM

Re: Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 15:20:33 -0800 skrev MonkeeSage: > On Mar 2, 5:11 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: >> Wouldn't that be just as slow? > > Well, I'm not sure about speed, but with the lambda you're creating a > new callable for f eve

Re: classes and functions

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 19:26:08 -0300 skrev Silver Rock: > Friends, > > I don´t see why using classes.. functions does everything already. I > read the Rossum tutotial and two other already. > > Maybe this is because I am only writing small scripts, or some more > serious misunderstandings of the

Re: How *extract* data from XHTML Transitional web pages? got xml.dom.minidom troubles..

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 15:32:58 -0800 skrev [EMAIL PROTECTED]: > I'm trying to extract some data from an XHTML Transitional web page. > xml.dom.minidom.parseString("text of web page") gives errors about it > not being well formed XML. > Do I just need to add something like or what? As many HTML Tr

Re: Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 16:27:47 -0800 skrev MonkeeSage: > On Mar 2, 5:51 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: >> I guess the thing is that I'd have to create a new callable no matter >> how, as it is the only way to bring the extra variables into the >&g

Re: Sort with extra variables

2007-03-02 Thread Thomas Dybdahl Ahle
Den Fri, 02 Mar 2007 16:46:05 -0800 skrev Paul Rubin: > Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes: >> Do you mean that I add my moves something like this? >> >> from heapq import heappush, heappop >> heap = [] >> for move in genAll(): >> hea

Re: Sort with extra variables

2007-03-03 Thread Thomas Dybdahl Ahle
Den Sat, 03 Mar 2007 11:26:08 +0100 skrev Diez B. Roggisch: >> Well, you'd have to define the function inside the sortMoves function, >> as it is where the variables exists. >> >> def sortMoves(board, table, ply, moves): >> def sortKey(move): >> return getMoveValue(board, table, ply,

Exception passing

2007-03-23 Thread Thomas Dybdahl Ahle
Hi, I have a function, which looks like the following: connecting = False def func (): global connecting connecting = True try: # Do lot of network stuff except Exception, e: connecting = False raise e This works quite good, but it is a hell to debug. Instea

Re: Exception passing

2007-03-23 Thread Thomas Dybdahl Ahle
Den Fri, 23 Mar 2007 07:38:47 -0700 skrev Alex Martelli: > Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: >> This works quite good, but it is a hell to debug. Instead of getting a >> log message to the line which originally raised the exception. > As you see, the traceb

Sending ECHO_REQUEST (pinging) with python

2007-03-25 Thread Thomas Dybdahl Ahle
Hi, I've writing a python application in which I'd like to have a small "ping label", to always tell the current ping time to the server. It seems however that I have to be root to send those imcp packages, but I guess there must be a workaround since I can easily use the "ping" command as ordi

Re: Sending ECHO_REQUEST (pinging) with python

2007-03-26 Thread Thomas Dybdahl Ahle
Den Mon, 26 Mar 2007 11:24:34 +0200 skrev Michal 'vorner' Vaner: > On Mon, Mar 26, 2007 at 08:30:16AM +0200, Thomas Dybdahl Ahle wrote: >> Do anybody know how to do this in python? > You need root for that and the ping command is allowed to have them by > suid bit.

Re: Sending ECHO_REQUEST (pinging) with python

2007-03-26 Thread Thomas Dybdahl Ahle
Den Mon, 26 Mar 2007 06:30:04 -0500 skrev Nick Craig-Wood: > Michael Bentley <[EMAIL PROTECTED]> wrote: >> On Mar 26, 2007, at 1:30 AM, Thomas Dybdahl Ahle wrote: >> > It seems however that I have to be root to send those imcp packages, >> > but I guess there

Kill thread or at least socket.getaddrinfo

2007-03-26 Thread Thomas Dybdahl Ahle
Hi, I'm writing an application that connects to the internet. Something like this: for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res try: self.sock = socket.socket(af, socktype, proto) Now if the user press the cancel button

Compare regular expressions

2007-04-16 Thread Thomas Dybdahl Ahle
Hi, I'm writing a program with a large data stream to which modules can connect using regular expressions. Now I'd like to not have to test all expressions every time I get a line, as most of the time, one of them having a match means none of the others can have so. But ofcource there are also

Re: Compare regular expressions

2007-04-17 Thread Thomas Dybdahl Ahle
Den Mon, 16 Apr 2007 11:50:40 +0200 skrev Thomas Dybdahl Ahle: > Hi, I'm writing a program with a large data stream to which modules can > connect using regular expressions. > > Now I'd like to not have to test all expressions every time I get a > line, as most of the t

Re: Compare regular expressions

2007-04-17 Thread Thomas Dybdahl Ahle
Den Tue, 17 Apr 2007 11:59:15 -0700 skrev Paddy: > On Apr 17, 9:17 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: >> Paddy schrieb: >> > you could OR all the individual RE's test them all at once then find >> > out which matched. >> >> > big_re = "|".join( r"(?P<__match_%i__>%s)" % (i, r) >> >

Re: Binary file output using python

2007-04-17 Thread Thomas Dybdahl Ahle
4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> f = open("test2", "w") >>> f.write(str(range(10**7))) >>> f.close() >>> f = open(&

distutils install-data-hook

2007-09-13 Thread Thomas Dybdahl Ahle
Hey I have this pythonapp I'm trying to pack, and I've read in the Gnome specifications that I should run "update-icon-cache" after install, in order to get the menus and stuff correctly updated. Is there a way to specify a (list of) commands to be run after installation? -- http://mail.python

Re: building a GUI

2007-09-23 Thread Thomas Dybdahl Ahle
Den Sun, 23 Sep 2007 17:28:38 +0200 skrev stef mientki: > yadin wrote: > >> if i were up to make a GUI chich are the advantages of choosing python >> over matlab or java? >> > The best is Delphi, > second is VB, That sounds mostly like a personal preference :) I would certainly suggest Python ver

Untrusted python code

2007-09-23 Thread Thomas Dybdahl Ahle
Hi, I have an application for which I want users to be able to make themes. I've planed a rather advanced model (in xml), which gives themes the option to redefine various drawing methods. Now I don't want those themes to be able to take over the current user, but I'd still like the scripts to b

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Thomas F. Burdick
Ken Tilton <[EMAIL PROTECTED]> writes: > Hopefully it can be a big issue and still not justify a flame war. > > Mileages will always vary, but one reason for lambda is precisely not > to have to stop, go make a new function for this one very specific > use, come back and use it as the one lambda

Re: A critic of Guido's blog on Python's lambda

2006-05-06 Thread Thomas F. Burdick
[ I pruned the cross-posting down to a reasonable level ] Ken Tilton <[EMAIL PROTECTED]> writes: > Thomas F. Burdick wrote: > > > This is second-hand, as I don't actually follow Python closely, but > > from what I've heard, they now have reasonable scoping ru

Re: A critic of Guido's blog on Python's lambda

2006-05-07 Thread Thomas F. Burdick
Ken Tilton <[EMAIL PROTECTED]> writes: > As for: > > > At a syntax-sugar > > level, for example, Lisp's choice to use parentheses as delimiter means > > it's undesirable, even unfeasible, to use the single character '(' as an > > ordinary identifier in a future release of the language. > > (def

Re: A critic of Guido's blog on Python's lambda

2006-05-08 Thread Thomas F. Burdick
[EMAIL PROTECTED] writes: > Alex Martelli wrote: > > Steve R. Hastings <[EMAIL PROTECTED]> wrote: > >... > > > > But the key in the whole thread is simply that indentation will not > > > > scale. Nor will Python. > > > > > > This is a curious statement, given that Python is famous for scaling

Re: A critic of Guido's blog on Python's lambda

2006-05-08 Thread Thomas F. Burdick
Ken Tilton <[EMAIL PROTECTED]> writes: > No, you do not want on-change handlers propagating data to other > slots, though that is a sound albeit primitive way of improving > self-consistency of data in big apps. The productivity win with > VisiCalc was that one simply writes rules that use other c

Re: A critic of Guido's blog on Python's lambda

2006-05-11 Thread Thomas F. Burdick
Ken Tilton <[EMAIL PROTECTED]> writes: > David C. Ullrich wrote: > > > But duh, if that's how things are then we can't have transitive > > dependencies working out right; surely we > > want to be able to have B depend on A and then C > > depend on B... > > (And also if A and B are allowed to depen

Decrypt DES by password

2006-05-15 Thread Thomas Dybdahl Ahle
Hi, I've got some DES encrypted data, for which I know the password. The problem is that I have to generate an 8byte key from the password. I use python-crypto-2.0.1. I also know, that the C# way to do the decryption is: PasswordDeriveBytes bytes1 = new PasswordDeriveBytes("passwordString", null);

Re: Decrypt DES by password

2006-05-15 Thread Thomas Dybdahl Ahle
Den Mon, 15 May 2006 11:32:47 -0700. skrev Paul Rubin: > Thomas Dybdahl Ahle <[EMAIL PROTECTED]> writes: >> byte[] array2 = bytes1.CryptDeriveKey("DES", "MD5", 0, array1); >> > Anybody know how to do this in python? > > I'm not aware of a

Bit Scan Forward and Reverse

2008-01-18 Thread Thomas Dybdahl Ahle
essors implement BSF and BSR calls to do this efficiently. Is there anyway to access those calls from python? I'd still have my routine as a fallback on nonsupporting architectures. -- Med venlig hilsen, Best regards, Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: Python GUI toolkit

2008-02-03 Thread Thomas Dybdahl Ahle
On Sun, 2008-02-03 at 15:18 +, [EMAIL PROTECTED] wrote: > what would be the best python GUI toolkit, it must be cross platform. > > i have tried gtk, but it interface are real bad and its coding was difficult > so i dropped it, I came from Sving to Gtk, so for me also it was a real brainbreak

Re: Does anyone else use this little idiom?

2008-02-03 Thread Thomas Dybdahl Ahle
code I don't like dummy, as it is too long. I generelly spend more times looking into long variable than short ones. Regards, Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: Project naming suggestions?

2008-02-03 Thread Thomas Dybdahl Ahle
On Sun, 2008-02-03 at 10:17 -0800, [EMAIL PROTECTED] wrote: > I'm considering writing a little interpreter for a python-like > language and I'm looking for name suggestions. :-) > > Basically, I don't want to change a whole lot about Python. In fact, > I see myself starting with the compiler mod

Re: OT: Speed of light [was Re: Why not a Python compiler?]

2008-02-09 Thread Thomas Dybdahl Ahle
"Does light travel or propagate?" > He answered: "Depends on how you see light." > He must have studied philosophy too :-) Quantum mechanics are closely related to philosophy. -- Best Regards, Med Venlig Hilsen, Thomas -- http://mail.python.org/mailman/listinfo/python-list

Adding more warnings

2008-02-20 Thread Thomas Dybdahl Ahle
I tend to make a lot of mistakes of misspelled variable names. Is it possible to make python warn me about those at "compile time"? Very few times I use dynamic variable initialization. I can live with getting a warning for those as well. -- Best Regards, Med Venlig Hilsen, Thomas

Re: Why does python behave so? (removing list items)

2008-03-26 Thread Thomas Dybdahl Ahle
r k = [i for i in j] or from copy import copy k = copy(j) or k = range(6) -- Best Regards, Med Venlig Hilsen, Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: Mathematica 7 compares to other languages

2008-12-03 Thread Thomas M. Hermann
On Dec 3, 3:15 pm, Xah Lee <[EMAIL PROTECTED]> wrote: > On Dec 3, 8:24 am, Jon Harrop <[EMAIL PROTECTED]> wrote: > > > My example demonstrates several of Mathematica's fundamental limitations. > > enough babble Jon. > > Come flying $5 to my paypal account, and i'll give you real code, > amongest th

Re: Mathematica 7 compares to other languages

2008-12-03 Thread Thomas M. Hermann
On Dec 3, 5:26 pm, Xah Lee <[EMAIL PROTECTED]> wrote: > Agreed. My paypal address is “xah @@@ xahlee.org”. (replace the triple > @ to single one.) Once you paid thru paypal, you can post receit here > if you want to, or i'll surely acknowledge it here. > > Here's what i will do: > > I will give a v

Re: Define a 2d Array?

2008-10-12 Thread thomas . p . krauss
On Oct 11, 9:19 pm, Jillian Calderon <[EMAIL PROTECTED]> wrote: > How do I define a 2d list? > > For instance, to define a 4 by 5 list, I wanted to do this: > n=4 > m=5 > world = [n][m] > However, it gives me an invalid syntax error saying the index is out > of range. Here are some examples of how

Re: dict is really slow for big truck

2009-05-01 Thread Thomas G. Willis
On Apr 28, 8:54 am, forrest yang wrote: > i try to load a big file into a dict, which is about 9,000,000 lines, > something like > 1 2 3 4 > 2 2 3 4 > 3 4 5 6 > > code > for line in open(file) >    arr=line.strip().split('\t') >    dict[arr[0]]=arr > > but, the dict is really slow as i load more d

AW: Python embedding question.

2008-07-15 Thread Troeger, Thomas (ext)
ython loads modules; I haven't checked the Python source yet for that one, and searching for Python and zip or similar always yields tons of links that use the Python zip or tar module :) > Regards > David Cheers, Thomas. -- http://mail.python.org/mailman/listinfo/python-list

Re: Rounding a number to nearest even

2008-04-15 Thread Thomas Dybdahl Ahle
5, evenRound(f*.5)) for f in xrange(0,20)] [(0.0, 0.0),(0.5, 0.0), (1.0, 2.0), (1.5, 2.0), (2.0, 2.0), (2.5, 2.0), (3.0, 4.0), (3.5, 4.0), (4.0, 4.0), (4.5, 4.0), (5.0, 6.0), (5.5, 6.0), (6.0, 6.0), (6.5, 6.0), (7.0, 8.0), (7.5, 8.0), (8.0, 8.0), (8.5, 8.0), (9.0, 10.0), (9.5, 10.0)] -- Best Regard

Re: Feature suggestion: sum() ought to use a compensated summation algorithm

2008-05-03 Thread Thomas Dybdahl Ahle
reduce() is more forgiving: > reduce(operator.add, ['abc', 'efg'], '' ) # it works > 'abcefg' Hm, it works for lists: sum(([1], [2]), []) [1, 2] However I find the seccond argument hack ugly. Does the sum way have any performance advantages over the reduce way? -- Best Regards, Med Venlig Hilsen, Thomas -- http://mail.python.org/mailman/listinfo/python-list

Re: Not fully OO ?

2008-09-20 Thread Thomas G. Willis
On Sep 20, 5:23 am, candide <[EMAIL PROTECTED]> wrote: > Excerpt quoted fromhttp://www.astro.ufl.edu/~warner/prog/python.html: > > "About Python: Python is a high level scripting language with object > oriented features. > (...) > Python supports OOP and classes to an extent, but is not a full OOP

Re: Linq to Python

2008-09-23 Thread Thomas G. Willis
> But surely the idea behind it will eventually spread.  It's really > just comprehensions generalized over XML and relational datasets, a > noble goal.  Besides, it's main purpose for .NET was to bring > functional programming to it.  Python already has that, somewhat... it's really any object o

Re: Linq to Python

2008-09-24 Thread Thomas G. Willis
an it is the appropriate answer. Maybe it's only that way on OHIO. :) -- Thomas G. Willis -- http://mail.python.org/mailman/listinfo/python-list

Re: Linq to Python

2008-09-24 Thread Thomas G. Willis
On Sep 24, 4:59 pm, Duncan Booth <[EMAIL PROTECTED]> wrote: ... > I haven't yet had occasion to use LINQ in anger yet, so I have no idea > whether its an idea to love or to hate. I do think it is good that C# has > effectively sprouted list comprehensions (not to mention anonymous types > and type

Re: New python.org website

2006-03-08 Thread Thomas G. Willis
eeling the new logo though. But it's better than what I can produce in an svg editor/ -- Thomas G. Willis--- http://i-see-sound.comhttp://tomwillis.sonicdiscord.comAmerica, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: New python.org website

2006-03-08 Thread Thomas G. Willis
e yin/yang idea might be interesting, and maybe would work but the overall shape needs to be more circular to convey that idea better.But I'm no graphic designer -- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.sonicdiscord.com America, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: python debugging question

2006-03-08 Thread Thomas G. Willis
ciated. Thanks--http://mail.python.org/mailman/listinfo/python-listThis might help. http://www.onlamp.com/pub/a/python/2005/09/01/debugger.html-- Thomas G. Willis---http://i-see-sound.com http://tomwillis.sonicdiscord.comAmerica, still more rights than North

Re: Python Evangelism

2006-03-09 Thread Thomas G. Willis
it's done right, the true value will be apparent and your users will do the evangelizing for you. OK, I will now return to my happy place. :) -- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.sonicdiscord.com America, still more rights than North Korea -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Evangelism

2006-03-10 Thread Thomas G. Willis
would be considered impossible to play by todays standards. When I saw Django as a python based web framework, I got a positive vibe from the name of it. But then I'm also a guitarist.  -- Thomas G. Willis---http://i-see-sound.comhttp://tomwillis.son

Re: Pycrypto - active ??

2006-03-20 Thread Thomas G. Willis
On 19 Mar 2006 13:39:58 -0800, dirvine <[EMAIL PROTECTED]> wrote: Does anyone know if pycrypto is active at allThis was one of the packages that was updated today on my gentoo box. so, I would say yes.-- Thomas G. Willis--- http://i-see-sound.c

Re: OSError: [Errno 26] Text file busy during subprocess.check_call() :seems os dependent

2010-12-30 Thread Thomas L. Shinnick
At 03:46 PM 12/30/2010, harijay wrote: Hi, I am writing some multithreaded code which aims to automate three sequential data processing applications and distribute the processing on my 16GB RAM, 64 bit Ubuntu box running Python 2.6.5 The basic class that orchestrates these jobs use Queue.Queue()

Re: SUNLisp 2: Josh vs. Kenny Flamewars Galore!!

2011-01-03 Thread Thomas 'PointedEars' Lahn
kenny crossposted bullshit over 5 newsgroups again: > […] JFTR: *PLONK* -- http://mail.python.org/mailman/listinfo/python-list

What INI config file module allows lists of duplicate same-named options?

2011-01-09 Thread Thomas L. Shinnick
Having (possibly) surveyed all the available pypi config file modules, I still haven't seen one that allows an obvious and familiar extension of the strict Windows INI format. Each INI-style config module seems to enforce the strict rule: each option in a section must have a different name - n

Re: What INI config file module allows lists of duplicate same-named options?

2011-01-09 Thread Thomas L. Shinnick
At 02:47 PM 1/9/2011, Corey Richardson wrote: On 01/09/2011 03:43 PM, Thomas L. Shinnick wrote: > Having (possibly) surveyed all the available pypi config file modules, I > still haven't seen one that allows an obvious and familiar extension of > the strict Windows INI format. >

Re: What INI config file module allows lists of duplicate same-named options?

2011-01-09 Thread Thomas L. Shinnick
At 02:52 PM 1/9/2011, Stefan Sonnenberg-Carstens wrote: Am 09.01.2011 21:43, schrieb Thomas L. Shinnick: Having (possibly) surveyed all the available pypi config file modules, I still haven't seen one that allows an obvious and familiar extension of the strict Windows INI format. Eac

Re: WxPython versus Tkinter.

2011-01-24 Thread Thomas L. Shinnick
At 10:39 PM 1/24/2011, Jason Swails wrote: [snip] Two valuable things I have taken away from this extended argument: 1) This being my first super-high volume mailing list with the occasional neurotically opinionated poster, MRAB introduced me to Godwin's law for the first time. Considering it

Re: Decorator question

2011-01-26 Thread Thomas L. Shinnick
At 08:17 PM 1/26/2011, Chris wrote: I have a class (A, for instance) that possesses a boolean (A.b, for instance) that is liable to change over an instance's lifetime. Many of the methods of this class (A.foo, for instance) should not execute as long as this boolean is false, but should instead

Re: os.path.join doubt

2011-02-03 Thread Thomas L. Shinnick
At 05:33 PM 2/3/2011, Westley Martínez wrote: On Thu, 2011-02-03 at 23:11 +, Steven D'Aprano wrote: On Thu, 03 Feb 2011 07:58:55 -0800, Ethan Furman wrote: > Steven D'Aprano wrote: [snip] Yes. Is there a problem? All those paths should be usable from Windows. If you find it ugly to see path

Re: How to Write grep in Emacs Lisp (tutorial)

2011-02-09 Thread Thomas L. Shinnick
At 09:39 PM 2/9/2011, Rob Warnock wrote: Harald Hanche-Olsen wrote: [snip] Years & years ago, right after I learned about "xargs", I got burned several times on "find | xargs grep pat" when the file list was long enough that "xargs" fired up more than one "grep"... and the last invocation was

Re: Call to Update All Tutorials to Python3.x Standards.

2011-02-13 Thread Thomas L. Shinnick
At 01:18 PM 2/13/2011, rantingrick wrote: If any tutorial owners refuse to cooperate we need to remove their tutorials (and/or links to their tutorials) from the official Python website forever. How many tutorials have you written? In a city I used to live in, a long while ago, ... You would

Re: CONTROLLED DEMOLITION INC explosive-charge placement technician Tom Sullivan 911 TESTIMONIAL Video

2010-06-29 Thread Thomas 'PointedEars' Lahn
UltimatePatriot crossposted twice over 4 off-topic newsgroups without Followup-To, replying to an obvious troll: > [...] One good thing about Usenet is that you don't have to look for people you can safely put into your killfile; they'll agglomerate automatically. F'up2 set accordingly -- Po

Re: "Strong typing vs. strong testing"

2010-09-28 Thread Thomas A. Russ
=150168> and my extension to it as part of the Loom system: <http://www.isi.edu/isd/LOOM/documentation/loom4.0-release-notes.html#Units> -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Thomas A. Russ
0mi even when the internal representation is in SI units (m/s, s, m). -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-09-29 Thread Thomas A. Russ
RG writes: > > More power to you. What are you doing here on cll then? This thread is massively cross-posted. -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-10-12 Thread Thomas A. Russ
nless. Interestingly, that also allows one to treat percent (%) as a dimensionless unit with a conversion factor of 1/100. -- Thomas A. Russ, USC/Information Sciences Institute -- http://mail.python.org/mailman/listinfo/python-list

Re: "Strong typing vs. strong testing"

2010-10-12 Thread Thomas A. Russ
"BartC" writes: > "Thomas A. Russ" wrote in message > news:[email protected]... > > [email protected] (Torben ZÆgidius Mogensen) writes: > > > >> Trigonometric functions do take arguments of particular units: radians > >> or

Re: Appeal for python developers

2005-03-05 Thread Thomas Rösner aka TRauMa
BOOGIEMAN wrote: Please include "goto" command in future python realeses I know that proffesional programers doesn't like to use it, but for me as newbie it's too hard to get used replacing it with "while", "def" or other commands Technically, as a newbie you shouldn't know about GOTO at all. So

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-07 Thread Thomas Passin via Python-list
On 6/7/2023 10:54 AM, Florian Guilbault via Python-list wrote: Dear Python Technical Team, I hope this email finds you well. I am reaching out to you today to seek assistance with an issue I am facing regarding the installation of 'pip' despite my numerous attempts to resolve the problem. Recen

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-07 Thread Thomas Passin via Python-list
On 6/7/2023 6:28 PM, Eryk Sun wrote: On 6/7/23, Thomas Passin via Python-list wrote: You have by now seen several responses, and the one most likely to be helpful is to run pip with py -m pip That won't be of any help if pip isn't installed. By default, Python's instal

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-08 Thread Thomas Passin via Python-list
On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote: On Wed, 7 Jun 2023 10:36:22 -0600, Mats Wichmann declaimed the following: I'm assuming you checked - say, with Explorer - that pip.exe really is where you think it is? Anyway, if you ask a Windows shell (cmd) to locate it, and it

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-08 Thread Thomas Passin via Python-list
On 6/8/2023 6:23 PM, Eryk Sun wrote: on 6/8/23, Thomas Passin via Python-list wrote: It always gets installed, though. By default, the option to install pip is enabled. It's implemented by executing ensurepip after the interpreter is installed. However, ensurepip may silently fail d

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/9/2023 1:43 PM, Dennis Lee Bieber via Python-list wrote: On Thu, 8 Jun 2023 17:22:22 -0400, Thomas Passin declaimed the following: On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote: C:\Users\Owner> -=-=- Windows PowerShell Copyright (C) Microsoft Corporation. All rig

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/10/2023 12:32 PM, Eryk Sun wrote: On 6/10/23, Thomas Passin via Python-list wrote: We can find pip.exe using good old-fashioned dir (we don't need any new-fangled Powershell): C:\Users\tom>dir AppData\Local\Programs\Python /Aa /S /W /B |find "pip"|find "Scripts&

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/10/2023 3:20 PM, Eryk Sun wrote: On 6/10/23, Thomas Passin via Python-list wrote: Yes; I didn't want to get too esoteric with commands that are hard to figure out and remember, because then why not use Powershell, whose commands are hard to figure out and remember? Using `dir /s

Re: AUTO EDITOR DIDN'T WORK

2023-06-12 Thread Thomas Passin via Python-list
On 6/12/2023 5:26 AM, Real Live FootBall Tv via Python-list wrote: I recently Installed and Uninstalled Python, hence the system was trying to get why I UNINSTALLED python. I did it because I was going to use it with another application, A VIDEO EDITING APP, Auto EDITOR but it didn't work for s

Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
quot;? And: is there a simple workaround available besides disabling case sensitivity (which will break others)? -- Thomas OpenPGP_signature Description: OpenPGP digital signature -- https://mail.python.org/mailman/listinfo/python-list

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
ot case sensitive -- I'm assuming this a bug now. Building within cygwin (or MSYS, Ubuntu) this works as expected. But there it does not search for "modules" once and "Modules" at an other place. On Jun 13, 2023, at 11:59 AM, Thomas Schweikle via Python-list

Re: Compiling python on windows with vs

2023-06-13 Thread Thomas Schweikle via Python-list
Am Di., 13.Juni.2023 um 20:36:17 schrieb Mats Wichmann via Python-list: On 6/13/23 12:12, Thomas Schweikle via Python-list wrote: Am Di., 13.Juni.2023 um 19:20:38 schrieb Jim Schwartz: What version of visual studio are you using? Visual Studio 2022, aka 17.6.2. What version of python

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Thomas Passin via Python-list
On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website to install auto editor standing it on python but after rendering the XML file, I couldn't open it with my Davinci Res

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Thomas Passin via Python-list
On 6/13/2023 9:43 PM, gene heskett via Python-list wrote: On 6/13/23 19:10, Thomas Passin via Python-list wrote: On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website

Re: Compiling python on windows with vs

2023-06-15 Thread Thomas Schweikle via Python-list
one.55566 Resolving deltas: 100% (760802/760802), done. Updating files: 100% (4488/4488), done. $ find . -type d -exec fsutil.exe file queryCaseSensitiveInfo {} \; All directories created by git have caseSensitiveInfo enabled. core.ignorecase is not regarded in any way. It does not mater if it is s

<    31   32   33   34   35   36   37   38   39   >