Testing changes to Python code on the fly: reload() + alternatives?

2011-04-12 Thread Keith
be to just run everything as a standalone script, but then you lose the ability to be able to easily inspect the objects you are working and change them on the fly, except perhaps by using PDB. Any suggestions would be greatly appreciated. Thanks! Keith -- http://mail.python.org/mailman/listinfo/python-list

PHP Embedded In Python

2005-02-07 Thread Keith
php include and I really don't want to rewrite all the php in python. Thanks, Keith -- http://mail.python.org/mailman/listinfo/python-list

Re: PHP Embedded In Python

2005-02-08 Thread Keith
jdonnell wrote: > I'm not sure exactly what your trying to do, but I use php and python > together a lot. I usually call the python script from php with the > passthru function like this: > > $outputFromPy = passthru('/path/to/myScript.py'); > ?> I need to go the other direction. I need to call

Re: PHP Embedded In Python

2005-02-09 Thread Keith
> Well it depends on how php is installed. Is it a linux system? Do you > know how to run a php script from the command line? I'm running on Fedora Core 3. To run php command line I just ran: % php It spit something back at me. Maybe I should lay out what I am doing a little more. I have a web

Version Number Comparison Function

2005-03-25 Thread Keith
Is there a function for comparing version numbers? E.g. 0.1.0 < 0.1.2 1.876b < 1.876c 3.2.2 < 3.4 Keith -- http://mail.python.org/mailman/listinfo/python-list

Re: Version Number Comparison Function

2005-03-25 Thread Keith
I can't assume there are the same number of '.'s or there are the same number of digits per version. I don't know how the tuple comparison works offhand. But that seems like it would work if you split it. The suggestion with the "re" module seems generic enough and looks like it will work as is.

Re: Version Number Comparison Function

2005-03-25 Thread Keith
distutils is one of the places I looked: http://www.python.org/doc/2.3.5/lib/module-distutils.html But I didn't see the functions documented. I am new to Python so I didn't know where else to look. Using distutils seems like it would be the most generic and supported way to compare version numbe

A Question About Handling SIGINT With Threads

2005-04-13 Thread Keith
I got this to work, but was hoping there was a better way. I was hoping that I wouldn't have to use globals. I wouldn't doubt that I could be totally off in what I am doing. Here is some psuedo-code of what I did: def main_thread(): # Don't know how to get rid of these guys global l

class return another instance

2006-08-08 Thread Keith
E6CD8> with ID of 2 copy: <__main__.ID instance at *0x01DE6CB0*> should be a copy of foo IDs: {1: <__main__.ID instance at 0x01DE6CB0>, 2: <__main__.ID instance at 0x01DE6CD8>}     Any help would be great.   Cheers, Keith -- http://mail.python.org/mailman/listinfo/python-list

Issues installing MySQL-python-0.3.5

2006-02-13 Thread keith
using with my current versions of Python and MySQL? Any help appreciated! Keith -- http://mail.python.org/mailman/listinfo/python-list

MySQLdb compile error with AMD64

2006-02-27 Thread keith
lected does not support x86-64 instruction set _mysql.c:1: error: CPU you selected does not support x86-64 instruction set error: command 'gcc' failed with exit status 1 Any ideas on what I have to do to make this work? Any help appreciated! Cheers Keith -- http://mail.python.org/mailman/listinfo/python-list

RE: MySQLdb compile error with AMD64

2006-02-28 Thread keith
gt; set > _mysql.c:1: error: CPU you selected does not support x86-64 instruction > set > error: command 'gcc' failed with exit status 1 > > Any ideas on what I have to do to make this work? > > Any help appreciated! > > Cheers > Keith -- http://mail.python.org/mailman/listinfo/python-list

"struct" module problem w/ pyinstaller

2007-07-27 Thread Keith
Hello, I am trying to create exectuables on inux using "pyinstaller". I am using pyinstaller-1.3, RHEL 4.4, Python 2.5. The executables fail to run. The problem returned is pertaining to "struct.py" not being able to find the module "_struct". struct.py is located under /usr/local/lib/python-2.5

Safe to get address of va_list function parameter?

2009-02-03 Thread Keith
Is it safe to get the address of a va_list function parameter? Keith -- http://mail.python.org/mailman/listinfo/python-list

Re: Determining when a file has finished copying

2008-07-09 Thread keith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ethan Furman wrote: > writeson wrote: >> Guys, >> >> Thanks for your replies, they are helpful. I should have included in >> my initial question that I don't have as much control over the program >> that writes (pgm-W) as I'd like. Otherwise, the write

Cross Module Command Useage

2006-03-12 Thread Keith
Ok so I’m new to the python programming language… and this is my first post to this mailing list… so here it is…   So lets say have two modules.. moduleA and moduleB… they are both imported into a main python program using the “from module import *” command… now moduleA has a dynamic comm

Engineering numerical format PEP discussion

2010-04-25 Thread Keith
ant zero prepend. (whatever makes the most sense, and keeps the standard most like what is already in the language): ("%.12n" % 12345678) == "12.34567800e+06" Do you think this idea has enough merit to make it to PEP status? --Keith Brafford -- http://mail.python.org/mailman/listinfo/python-list

Re: Engineering numerical format PEP discussion

2010-04-25 Thread Keith
On Apr 26, 12:02 am, Chris Rebert wrote: > On Sun, Apr 25, 2010 at 8:36 PM, Keith wrote: > > I am considering writing a PEP for the inclusion of an engineering > > format specifier, and would appreciate input from others. snip > Relevant related information: > The Deci

Re: Engineering numerical format PEP discussion

2010-04-25 Thread Keith
On Apr 26, 12:29 am, Steven D'Aprano wrote: > On Sun, 25 Apr 2010 20:36:22 -0700, Keith wrote: >>no one talks about 4.7e-5F, as they would rather see 47e-6 >>(micro). Instead of 2.2e-2, engineers need to see 22.0e-3 (milli). >I'd be cautious about making claims about

Re: Engineering numerical format PEP discussion

2010-04-25 Thread Keith
mal(123000).to_eng_string() '123000' Regardless, given that the whole point of format specifiers (whether they are the traditional python 2.x/C style %[whatever] strings, or the new format() function) is to make it easy for you to format numbers for printing, wouldn't the language be bette

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
e. I think it's worth making the print statement (or print function, as the case may be) let us do engineering notation, just like it lets us specify scientific notation. --Keith Brafford -- http://mail.python.org/mailman/listinfo/python-list

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
On Apr 26, 5:33 am, Stefan Krah wrote: > Keith wrote: > > Even though this uses the to_eng_string() function, and even though I > > am using the decimal.Context class: > > > >>> c = decimal.Context(prec=5) > > >>> decimal.Decimal(1234567).to_

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
On Apr 26, 7:56 pm, Mark Dickinson wrote: > On Apr 26, 6:47 am, Keith wrote: > > > From that document it appears that my decimal.Decimal(1234567) example > > shows that the module has a bug: > > > Doc says: > > [0,123,3] ===>  "123E+3&

Re: Engineering numerical format PEP discussion

2010-04-26 Thread Keith
On Apr 26, 8:47 pm, MRAB wrote: > "t" for "powers of a thousand", perhaps? (Or "m"?) Both of those letters are fine. I kinda like "m" for the whole Greco- Roman angle, now that you point it out :-) --Keith Brafford -- http://mail.python.org/mailman/listinfo/python-list

Re: Engineering numerical format PEP discussion

2010-04-27 Thread Keith
On Apr 27, 9:03 am, Mark Dickinson wrote: > On Apr 27, 2:16 am, Keith wrote: > > > On Apr 26, 8:47 pm, MRAB wrote: > > > > "t" for "powers of a thousand", perhaps? (Or "m"?) > > > Both of those letters are fine.  I kinda like &quo

Re: xlrd 0.7.6 released!

2012-04-06 Thread Keith Medcalf
Karim wrote in news:mailman.1309.1333529851.3037.python-l...@python.org: > This release manage the '.xlsx' format? http://packages.python.org/openpyxl/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Cannot connect to IMAP server in Python 3.2

2012-04-06 Thread Keith Medcalf
Steve Howell wrote in news:ae774035-9db0-469d-aa2a- 02f2d25ff...@qg3g2000pbc.googlegroups.com: > Once you are able to import ssl, you should be able to use IMAP4_SSL, > but that still doesn't entirely explain to me why you got a timeout > error with plain IMAP4 and the proper port. (I would have

Re: Pass a list of variables to a procedure

2012-04-07 Thread Keith Burns
Thank you, Chris! Sent from my iPhone On Apr 7, 2012, at 3:24 PM, Chris Rebert wrote: > On Sat, Apr 7, 2012 at 2:15 PM, KRB wrote: >> Hi there, >> >> I would like to be able to pass a list of variables to a procedure, and have >> the output assigned to them. > > You cannot pass a variable its

Re: Abandoning Python

2011-05-22 Thread Ed Keith
K Ed Keith e_...@yahoo.com Blog: edkeith.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Kind of OT - Books on software development?

2011-05-25 Thread Ed Keith
I do not have my library with me, but I remember a book that fits the bill exactly, is was from Microsoft Press, I think it was called "Writing Solid Code" Hope this helps, -EdK Ed Keith e_...@yahoo.com Blog: edkeith.blogspot.com --- On Wed, 5/25/11, Matty Sarro wrote: >

Re: Kind of OT - Books on software development?

2011-05-25 Thread Ed Keith
--- On Wed, 5/25/11, Ed Keith wrote: > I do not have my library with me, but > I remember a book that fits the bill exactly, is was from > Microsoft Press, I think it was called "Writing Solid Code" I have done some research at amazon.com, and while "Writing Solid Cod

Re: What should go to stdout/stderr and why Python logging write everything to stderr?

2023-01-03 Thread Keith Thompson
another. I would expect user prompts to be written to stdout, or perhaps to some system-specific stream like the current tty, not to stderr. If a program has user prompts, it probably doesn't make sense to pipe its output to the input of another. -- Keith Thompson (The_Other_Keith) keith.

Re: hello can I be in your group?

2023-01-06 Thread Keith Thompson
response from "Manosh Manosh", I recommend ignoring it. He appears to be a spammer. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com Working, but not speaking, for XCOM Labs void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailm

Re: Python 3.10 Fizzbuzz

2023-03-02 Thread Keith Thompson
tness". I offer no opinion on whether that's accurate. -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com Working, but not speaking, for XCOM Labs void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: =- and -= snag

2023-03-14 Thread Keith Thompson
I thought "Pythonic" was more about how you write code than about the design of the language. But designing a language syntax so typos are likely to be syntax errors rather than valid code with different semantics is an interesting challenge. -- Keith Thompson (The_Other_Keith) keit

Re: Hide my query about covariance matrix syntax from google

2023-04-14 Thread Keith Thompson
lete articles from Usenet. (The protocol includes a command to cancel an article, but servers ignore it due to past abuse.) -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com Working, but not speaking, for XCOM Labs void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: What do these '=?utf-8?' sequences mean in python?

2023-05-08 Thread Keith Thompson
u anything meaningful. (What if there are actual underscores in the original subject line?) You should probably apply some kind of MIME-specific decoding. (I don't have a specific suggestion for how to do that.) -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com Working, bu

Re: What to use instead of nntplib?

2023-05-22 Thread Keith Thompson
;ignore", category=DeprecationWarning) import nntplib If my understanding is correct, why is this such a big problem? -- Keith Thompson (The_Other_Keith) keith.s.thompso...@gmail.com Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */ -- https://mail.python.org/mailman/listinfo/python-list

Re: Invalid literal for int() with base 10?

2023-05-25 Thread Keith Thompson
gh the fire, you will not be burned: the > flames will not set you ablaze."      Isaiah 43:2 You can add a signature to all your messages if you like, but it will be very helpful if you introduce it with a line consisting of "-- ", as I've done here. It would also be very helpf

Re: Invalid literal for int() with base 10?

2023-05-26 Thread Keith Thompson
Keith Thompson writes: > "Kevin M. Wilson" writes: >> Ok, I'm not finding any info. on the int() for converting a str to an >> int (that specifies a base parameter)?! > > https://docs.python.org/3/library/functions.html#int [...] Or `print(int.__doc__)` at

3D surface plot

2019-03-17 Thread Keith Anthony
I should know this ...! Anyway, I have a list of 36 tuples, each with x, y, z values I want to create a surface plot ... Need help putting data into right format for matplot3D ... This is a gmail account used by Keith D. Anthony On Sat, Mar 16, 2019 at 12:03 PM wrote: > Send Python-l

Re: Jargons of Info Tech industry

2005-10-12 Thread Keith Thompson
wsgroups, would be to STOP POSTING THIS STUFF TO NEWSGROUPS WHERE IT'S NOT RELEVANT. There are several newsgroups that deal with e-mail abuse. This discussion isn't being posted to any of them. Please stop. -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://w

Re: Microsoft Hatred FAQ

2005-10-14 Thread Keith Thompson
- which is probably exactly what he wants. -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. -- http://mail.python.org/mailman/listinfo/python-list

Re: a Haskell a Day

2005-10-26 Thread Keith Thompson
___ c_c_c_C/ \C_c_c_c____ -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this.

Re: Python doc problem example: gzip module (reprise)

2005-11-06 Thread Keith Thompson
really want to read about Python documentation -- if they do, they can always read comp.lang.python. -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We

Re: how to write a tutorial

2005-01-26 Thread Keith Thompson
lang.python. Followups redirected. -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. -- http://mail.python.org/mailman/listinfo/python-list

Re: what's OOP's jargons and complexities?

2005-01-28 Thread Keith Thompson
"Xah Lee" <[EMAIL PROTECTED]> writes: [snip] If you must post a followup to this, please drop comp.lang.c from the newsgroups header. I can't speak for the other newsgroups, but it's definitely off-topic here in comp.lang.c. Thank you. -- Keith Thompson (The_Oth

Re: what's OOP's jargons and complexities?

2005-01-29 Thread Keith Thompson
r newsgroups to which it was cross-posted. Jacob, please don't encourage this kind of newsgroup abuse. -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do so

Re: What is Expresiveness in a Computer Language?

2005-07-10 Thread Keith Thompson
||/ | | | jgs (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ ====== -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-08-11 Thread Keith Thompson
/__ \||/ | | | jgs (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ == -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry ... and Xah Lee (I mean Jerry) Springer

2005-08-14 Thread Keith Thompson
== Followups redirected appropriately. -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-08-22 Thread Keith Thompson
@x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | jgs (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ ====== --

Re: Jargons of Info Tech industry

2005-08-22 Thread Keith Thompson
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > > Please don't use ASCII art... not everyone uses a fixed-width font for his > newsreader... > (your picture looks all mangled here) If "PLEASE DO NOT" and "FEED THE TROLLS" are legible, even if they aren't

Re: Perl's documentation come of age

2005-09-21 Thread Keith Thompson
@x@@x@| | |/ WW( ( ) )WW \/| |\| __\,,\ /,,/__ \||/ | | | jgs (__Y__) /\/\/\/\/\/\/\/\//\/\\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ ====== --

Synchronizing methods of a class

2005-02-07 Thread Keith Veleba
function list, by iterating through klass.__class__.__dict__ . My Question: If I decorate these function references in __class__.__dict__, am I doing it only for my specific instance of that class or the base class as well? Thanks in advance, Keith Veleba -- http://mail.python.org/mailman/listinfo/python-list

Re: Synchronizing methods of a class

2005-02-09 Thread Keith Veleba
ust referencing the class type. If I type: A.__dict__items() I get the correct list: [('__module__', '__main__'), ('__doc__', None), ('two', ), ('__init__', ), ('one', )] In any case, thanks for the example reference. That's helps me improve my idea, and I will most likely use the methods in it. Keith -- http://mail.python.org/mailman/listinfo/python-list

Re: swig & Python question

2004-12-11 Thread Keith Dart
o it "manually" using the Python C API. Good luck. -- It's not me. -- \/ \/ (O O) -- oOOo~(_)~oOOo Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288

Re: subprocess.Popen

2004-12-12 Thread Keith Dart
NMS. http://sourceforge.net/projects/pynms/ -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> vcard: <http://www.kdart.com/~kdart/kdart.vcf> public key: ID: F3D

Re: Persistent objects

2004-12-12 Thread Keith Dart
ob instance be there. Check out the Durus project. http://www.mems-exchange.org/software/durus/ -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> vcard: <http://w

Re: Persistent objects

2004-12-12 Thread Keith Dart
ob instance be there. Check out the Durus project. http://www.mems-exchange.org/software/durus/ -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> vcard: <http://w

Re: Persistent objects

2004-12-12 Thread Keith Dart
ob instance be there. Check out the Durus project. http://www.mems-exchange.org/software/durus/ -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> vcard: <http://w

Re: subprocess.Popen

2004-12-12 Thread Keith Dart
Keith Dart wrote: Michele Simionato wrote: I was looking at Python 2.4 subprocess.Popen. Quite nice and handy, but I wonder why a "kill" method is missing. I am just adding it via subclassing, class Popen(subprocess.Popen): def kill(self, signal = SIGTERM): os.kill(self.p

Re: Python vs. Perl

2004-12-13 Thread Keith Dart
Keith Dart wrote: Ian Bicking wrote: Jon Perez wrote: Michael McGarry wrote: I intend to use a scripting language for GUI development and front end code for my simulations in C. I want a language that can support SQL, Sockets, File I/O, and shell interaction. In my experience, Python is

Re: [dictionary] how to get key by item

2004-12-13 Thread Keith Dart
ll the items in the original dictionary must be hashable. The example shows just integers, so I assume they are in this case. But generally, this may not work. -- \/ \/ (O O) -- oOOo~(_)~oOOo--

Re: gather information from various files efficiently

2004-12-13 Thread Keith Dart
xist you add it. -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 ===

Re: gather information from various files efficiently

2004-12-13 Thread Keith Dart
Kent Johnson wrote: Keith Dart wrote: try: dict[a].append(b) except KeyError: dict[a] = [b] or my favorite Python shortcut: dict.setdefault(a, []).append(b) Kent Hey, when did THAT get in there? ;-) That's nice. However, the try..except block is a useful pattern for many sim

Re: subprocess vs. proctools

2004-12-13 Thread Keith Dart
Nick Craig-Wood wrote: Keith Dart <[EMAIL PROTECTED]> wrote: Oh, I forgot to mention that it also has a more user- and programmer-friendly ExitStatus object that processess can return. This is directly testable in Python: proc = proctools.spawn("somecommand") exitstatus

Re: gather information from various files efficiently

2004-12-13 Thread Keith Dart
... ;-) -- \/ \/ (O O) -- oOOo~(_)~oOOo Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 -- http://mail.python.org/mailman/listinfo/python-list

Re: subprocess vs. proctools

2004-12-14 Thread Keith Dart
Donn Cave wrote: Keith Dart <[EMAIL PROTECTED]> wrote: |>> if exitstatus: |>> print "good result (errorlevel of zero)" |>> else: |>> print exitstatus # prints message with exit value This is indeed how the shell works, though the actual failur

Re: Regular Expression

2004-12-14 Thread Keith Dart
\/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> vcard: <http://www.kdart.com/~kdart/kdart.vcf> public key: ID: F3D288E4 URL: <http://www.kdart.com/~kdart/public.key> ==

Re: ".>>>" is a good idea! (OT, was: Re: do you master list comprehensions?)

2004-12-16 Thread Keith Dart
~(_)~oOOo Keith Dart <[EMAIL PROTECTED]> vcard: <http://www.kdart.com/~kdart/kdart.vcf> public key: ID: F3D288E4 URL: <http://www.kdart.com/~kdart/public.key> ==

pywhich script - where is that module?

2004-12-17 Thread Keith Dart
Have you ever wondered where your python modules get imported from? Here is a little script, called "pywhich", that will tell you. -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Da

Re: High level SNMP

2004-12-11 Thread Keith Dart
e and take a message) -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Dart <[EMAIL PROTECTED]> vcard: <http://www.kdart.com/~kdart/kdart.vcf> public key: ID: F3D288E4 URL: <htt

Re: Python vs. Perl

2004-12-14 Thread Keith Dart
it out. -- \/ \/ (O O) -- oOOo~(_)~oOOo Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 -- http://mail.python.org/mailman/listinfo/python-list

Re: Python mascot proposal

2004-12-14 Thread Keith Dart
s the wisdom of the languages design. 8-) Now, how about an icon that conveys something like that? hm... smoke curled around wizard perhaps? -- \/ \/ (O O) -- oOOo~(_)~oOOo---- Keith Da

Re: subprocess vs. proctools

2004-12-15 Thread Keith Dart
ake my libraries facilitate that, and also be easy to use for beginning Python programmers. Python on Linux is a powerful combination, and I cannot fathom why someone would choose anything less. (I would concede that Python on Darwin is also good) --

Re: spawn* or exec* and fork, what should I use and how ?

2004-12-16 Thread Keith Dart
ever, there are libraries in Python that do that for you. See above. -- \/ \/ (O O) -- ----oOOo~(_)~oOOo Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 -- http://mail.python.org/mailman/listinfo/python-list

Re: ".>>>" is a good idea! (OT, was: Re: do you master list comprehensions?)

2004-12-16 Thread Keith Dart
, among other things, sets the prompt to "Python> " 433 $ py Python> print "This has no leader that screws up email programs." This has no leader that screws up email programs. Python> -- \/ \/ (O O) -- oOOo~(_)~oOOo Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 -- http://mail.python.org/mailman/listinfo/python-list

Re: Plugin system; imp module head scratch

2004-12-18 Thread Keith Dart
egular Python module? -- ~~~~~ Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 = -- http://mail.python.org/mailman/listinfo/python-list

Re: Language fluency (was Re: BASIC vs Python)

2004-12-19 Thread Keith Dart
production", that fluency will decrease? Or that the nifty recent features of Python (generators, etc.) are not useful in "production" code? -- ~~~~~ Keith Dart <[EM

Re: Easy "here documents" ??

2004-12-19 Thread Keith Dart
h a regular parameterized function? -- -- ~ Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 = -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie question

2004-12-19 Thread Keith Dart
self.append(val) else: self.append(Enum(i, str(val))) def __repr__(self): return "%s(%s)" % (self.__class__.__name__, list.__repr__(self)) -- ~~~~~~~

Re: input record seperator (equivalent of "$|" of perl)

2004-12-19 Thread Keith Dart
ethod to do what you want. -- -- ~ Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 = -- http://mail.python.org/mailman/listinfo/python-list

Re: A completely silly question

2004-12-19 Thread Keith Dart
tpass" module, as it has the same functions found there. The PagedIO object is used by the CLI framework in pyNMS. -- -- ~ Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 = -- http://mail.python.org/mailman/listinfo/python-list

Re: A completely silly question

2004-12-19 Thread Keith Dart
Jp Calderone wrote: On Sun, 19 Dec 2004 23:15:40 GMT, Keith Dart <[EMAIL PROTECTED]> wrote: Mike Meyer wrote: The termios gives module gives you the tools to manipulate the tty directly, without invoking stty. The tty module gives you an easier interface to those routines. However, it'

Re: Python To Send Emails Via Outlook Express

2004-12-19 Thread Keith Dart
and snmplib modules. -- -- ~ Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 = -- http://mail.python.org/mailman/listinfo/python-list

Re: Easy "here documents" ??

2004-12-19 Thread Keith Dart
someone one\nsomething three\nsomewhere four" This allows you to use mapping-substitution syntax on a special string object. But the substituted variables are attributes of the object. String-ifying it gets the new string with the

Re: Ack! Zombie processes won't die!

2004-12-22 Thread Keith Dart
here is a module called "proctools". It has a process manager that does this for you. -- -- ~ Keith Dart <[EMAIL PROTECTED]> public key: ID: F3D288E4 = -- http://mail.python.org/mailman/listinfo/python-list

Re: win32 process name

2004-12-22 Thread Keith Dart
start_time: 42 state: S tms_cstime: 731277 tms_cutime: 9593767 tms_stime: 237 tms_utime: 75 tty_nr: 0 tty_pgrp: -1 vsize: 1429504 wchan: 3222957162 -- -- ~ Keith

Re: how to start a new process while the other ist running on

2004-12-22 Thread Keith Dart
be aware that proctools spawns a process with the subprocess stdio connected to _your_ parent process, and does not inherit the stdio of the parent. So, if the subprocess writes a lot of stuff you must read it, or the subprocess will blo

Re: Lambda going out of fashion

2004-12-22 Thread Keith Dart
features than most people will ever use, and they (Guido, et al.) can stop tinkering with it now and concentrate more on the standard libraries. -- -- ~~~~~ Keith Dart <

Re: Python docs [was: function with a state]

2005-03-25 Thread Keith Thompson
Please stop cross-posting this stuff! -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. -- http

Re: Is Microsoft Windows secretly downloading childporn to your computer ?!

2015-12-01 Thread Keith Thompson
computers, anything else you > say is obviously not worth readin. Nor is it worth replying to. *Please* don't feed the troll. (Followups set.) -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Working, but not speaking, for JetHead Development, Inc.

Re: Is Microsoft Windows secretly downloading childporn to your computer ?!

2015-12-02 Thread Keith Thompson
puter, isn't the hacker > "downloading" things to your computer? My understanding of the word "downloading" has always been STOP FEEDING THE TROLL! -- Keith Thompson (The_Other_Keith) ks...@mib.org <http://www.ghoti.net/~kst> Working, but not speaking, for JetHead De

Re: Xah's Edu Corner: Examples of Quality Technical Writing

2005-12-15 Thread Keith Thompson
a waste of time. Please just ignore him. (A killfile is an effective way to do so.) -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is so

Re: Xah's Edu Corner: IT Industry Predicament

2006-01-20 Thread Keith Thompson
___ c_c_c_C/ \C_c_c_c____ -- Keith Thompson (The_Other_Keith) [EMAIL PROTECTED] <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must d

Re: Best IDE for Python

2006-08-15 Thread Keith Perkins
[EMAIL PROTECTED] wrote: > [EMAIL PROTECTED] wrote: >> Hi All, What do you find the best IDE for creating web applications in >> Python is? Preferably FOS IDE. >> >> Cheers > > I like ActiveState's Komodo. It's heavyweight and not free ($30 for > the personal edition) but it also supports Perl, R

Re:

2006-08-21 Thread Keith Perkins
wrote: > Hi guys, > > we are looking for a python developer for a European project. This > project is multilangual and free it is called EuroCv and it need a > module for exporting data in PDF. As web developer I try to create this > module but It's too complicate for me. Check out the service >

Re: can't open chm files all of a sudden

2006-10-04 Thread Keith Perkins
default reader now. (and sorry, forgot how to do that, it's been almost two years since I've had to fiddle with Windows, so I'm not sure of the exact place to check for it.)) Keith -- http://mail.python.org/mailman/listinfo/python-list

webbrowser problems

2006-05-30 Thread Keith Lackey
path to the default browser so that I can build my own string to execute via command line. But I have no clue as to how I would go about getting that… and also I want to make sure its still going to be cross platform compatible.   Any help? Ideas?   Thanks Keith     -- http

  1   2   3   >