Regular Expression: Matching substring

2006-04-12 Thread Kevin CH
Hi, I'm currently running into a confusion on regex and hopefully you guys can clear it up for me. Suppose I have a regular expression (0|(1(01*0)*1))* and two test strings: 110_1011101_ and _101101_1. (The underscores are not part of the string. They are added to show that both string has a sub

Re: Regular Expression: Matching substring

2006-04-12 Thread Kevin CH
Leon wrote: > Hi Kevin, > > You may notice that, for matching the regex (0|(1(01*0)*1))*, the left > most > three characters of a string must not be ``101" while not followed by > an `0'. > After reading the first `1', automata expects `1' or ``00"

Re: Regular Expression: Matching substring

2006-04-12 Thread Kevin CH
Oh yea, I see what's my confusion now. In the first string, I didn't consider 11 and 0 matches the pattern without the repetition. Actually what I did is I entered the pattern and the test strings into kudos (a python regexp debugger) and got the match groups, which didn't have 11 and 0 as matche

Re: Regular Expression: Matching substring

2006-04-12 Thread Kevin CH
Thank you for your reply. > Perhaps you are using grep, or you have stumbled on the old deprecated > "regex" module and are using that instead of the "re" module. Perhaps > not as you are using only 2 plain vanilla RE operations which should > work the same way everywhere. Perhaps you are having t

Re: Help in wxpython

2009-12-03 Thread Kevin Walzer
cally means you'll be running it under X11. (WingIDE's Mac version runs on PyGTK, and it doesn't feel native at all.) -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python tricks with applescript in OS-X

2009-12-11 Thread Kevin Walzer
re is also a Python package that allows you to interface with an application's AppleScript dictionary via Python itself, without the intermediate step of using the osascript command-line tool: http://appscript.sourceforge.net/ You might find that of interest. --Kevin -- Kevin Walzer Cod

Procedural API inside class--scoping questions

2010-01-11 Thread Kevin Walzer
defined. My question is, how can I get the values from the class (self.searchterm, et.al) inside the runCommand function? Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Tkinter Programming by John Grayson

2010-01-14 Thread Kevin Walzer
UI 'systems' that provide 'better' facilities to a Python programmer). Another book I've found very helpful for learning Tkinter is Programming Python by Mark Lutz--a lot of coverage there of GUI development. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Patch for IDLE/OS X to work with Tk-Cocoa

2010-01-22 Thread Kevin Walzer
patch, run "patch < patchfile," with patchfile being the patch. The command-line tool will prompt you for the name of the file to patch. I'm the author of those patches--hope you find them useful! -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.

Library support for Python 3.x

2010-01-27 Thread Kevin Walzer
rk is underway to support Python 3.x. Eventually I plan to migrate to Python 3.x. I don't want to be stuck using libraries that may not be updated for the next generation of Python. How are others handling this issue? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.c

Re: myths about python 3

2010-01-30 Thread Kevin Walzer
perceived demand. This is part of my reason for not yet moving to Python 3--several libraries that I will need do not currently support Python 3. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Python win32 ActiveX scripting input box question

2009-09-28 Thread Kevin Young
nput box into a variable that I can use in my script. 2. I also, can not figure out how to change the Title of the dialog (I can change the Caption but not the Title), and 3. The size (specially the height) of the input box dialog. Any pointers/clues would be highly appreciated. Kevin -- http:/

How do I install libxml2 and libxslt?

2009-11-02 Thread Kevin Ar18
I want to use the lxml library, but can't get it to work on Windows. The following will not work: * import libxml2 * import libxslt * from lxml import etree Here's the instructions: http://codespeak.net/lxml/installation.html * So, I run "easy_install lxml" -- that works! * Now, it says I need

RE: How do I install libxml2 and libxslt?

2009-11-02 Thread Kevin Ar18
Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > According to the lxml installation instructions you linked=2C > the windows lxml binary is statically linked and you do not > need to install the libraries separately. The install ins

How do I install dlls and exes for libtidy and others?

2009-11-04 Thread Kevin Ar18
1. I already asked how to setup libxml2 and libxslt, but nobody answered how to... so if anyone knows I'm still having those problems. 2. I now can't get libtidy to work, which requires the same thing: I need to put some dlls and exes somewhere to make it work in Python. Thing is, I don't k

Re: How do I install dlls and exes for libtidy and others?

2009-11-04 Thread Kevin Ar18
Lme clarify my problems. My earlier emails were pretty vague... so this should help. Problem: I have been wanting to try out many libraries that use Python to C/C++ app bindings. This means I install the Python library using easy_install and then install the pre-compiled Windows binaries and

How to parse HTTP time header?

2009-11-07 Thread Kevin Ar18
Basically, I'm wondering if it is part of the standard library somewhere before I code my own. Page 20 of RFC2616 (HTTP) describes the format(s) for the time header. It wouldn't be too difficult for me to code up a solution for the 3 standard formats, but what get's me is the little note abou

Re: How to parse HTTP time header?

2009-11-07 Thread Kevin Ar18
>> Basically, I'm wondering if it is part of the standard library >> somewhere before I code my own. >> >> Page 20 of RFC2616 (HTTP) describes the format(s) for the time >> header. It wouldn't be too difficult for me to code up a solution >> for the 3 standard formats, but what get's me is

RE: How to parse HTTP time header?

2009-11-07 Thread Kevin Ar18
for it. FWIW, it parsed over 1 million dates without encountering any > that raised an error. > > Here it is, written in a time when I obviously didn't have total > respect for PEP 8. That's exactly what I had in mind when I said, I could write one quickly. :) I gue

Re: Choosing GUI Module for Python

2009-11-09 Thread Kevin Walzer
. wxPython 5 . TKinter Also i need to know is there any IDE for developing these things . . . http://lmgtfy.com/?q=gui+toolkit+for+python -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Linux, Python 2.5.2, serverless binding LDAP?

2009-11-12 Thread Kevin Cole
Hi, I recently asked our IT department how to gain access to an addressbook. After carefully explaining that I was on a Linux system using Python, I got the reply: "You should use our LDAP. With LDAP you can pull any data you want from Active Directory. On our network, the serverless binding add

Re: Linux, Python 2.5.2, serverless binding LDAP?

2009-11-12 Thread Kevin Cole
On Nov 12, 8:01 pm, alex23 wrote: > On Nov 13, 10:47 am, Kevin Cole wrote: > > > > > Hi, > > > I recently asked our IT department how to gain access to an > > addressbook.  After carefully explaining that I was on a Linux system > > using Python, I got th

Re: Linux, Python 2.5.2, serverless binding LDAP?

2009-11-12 Thread Kevin Cole
On Nov 12, 8:01 pm, alex23 wrote: > On Nov 13, 10:47 am, Kevin Cole wrote: > > > > > Hi, > > > I recently asked our IT department how to gain access to an > > addressbook.  After carefully explaining that I was on a Linux system > > using Python, I got th

Re: python gui builders

2009-11-17 Thread Kevin Walzer
On 11/17/09 4:25 PM, Tim Daneliuk wrote: +1 Tkinter for the simple stuff You can actually use Tkinter to do quite sophisticated GUI's that rival anything found in Qt or wx... -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: python gui builders

2009-11-18 Thread Kevin Walzer
On 11/18/09 4:15 PM, Simon Hibbs wrote: On 17 Nov, 23:25, Kevin Walzer wrote: On 11/17/09 4:25 PM, Tim Daneliuk wrote: +1 Tkinter for the simple stuff You can actually use Tkinter to do quite sophisticated GUI's that rival anything found in Qt or wx... Neither Tkinteror Wx have any

Re: Updates about Tk

2010-02-27 Thread Kevin Walzer
g can be problematic in some cases. But, as others have discussed, give the different toolkits a try and make your own choice. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Anything like "Effective Java" for Python?

2010-03-11 Thread Kevin Walzer
ues? ~K I haven't read "Effective Java," but I have found Lutz's "Programming Python" to be a very useful guide to solving various programming issues with the language. It's a big, big book, so there's lots to look at. -- Kevin Walzer Code by Kevin http://www

Re: Build Python with XCode

2010-03-16 Thread Kevin Walzer
on on OS Xwith configure, make etc.-- but you could try asking on the MacPython list. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

[python3]

2010-03-19 Thread Kevin Adams
Greetings! Please forgive me if im posting this to the wrong group. I'm new to Python, learning Python3 from the O'rielly "Learning Python" book. Reading about operator overloading, specifically __getitem__. I put together a small bit of code to do some experimenting and threw in a timer so i

Re: [python3]

2010-03-19 Thread Kevin Adams
On Mar 19, 2:21 pm, Terry Reedy wrote: > On 3/19/2010 1:42 PM, Kevin Adams wrote: > > > Please forgive me if im posting this to the wrong group. > > Just the right place. I would suggest a more informative title in the > future though. 'Problem with print and sleep.

Re: [python3]

2010-03-26 Thread Kevin Adams
On Mar 19, 3:02 pm, Terry Reedy wrote: > On 3/19/2010 2:17 PM, Steve Holden wrote: > > > > > Kevin Adams wrote: > >> Greetings! > > >> Please forgive me if im posting this to the wrong group. > > >> I'm new to Python, learning Python3

Re: Have you embraced Python 3.x yet?

2010-03-26 Thread Kevin Walzer
I am using for apps under development haven't been ported to support 3.x yet (feedparser, pycrypto). -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Kevin Walzer
development is technically infeasible. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Kevin Walzer
On 12/30/10 10:24 AM, rantingrick wrote: On Dec 30, 8:59 am, Kevin Walzer wrote: On 12/29/10 6:58 PM, rantingrick wrote: Any GUI framework is going to require at least some heavy lifting in C, C++ or Objective-C (depending on the platform). A pure-Python approach to GUI development is

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Kevin Walzer
. -- Kevin Walzer Code by Kevin http://www.codebykevin.com So I thought. Then I came across a framework (Cappucinno.org) and a Visual Designer (280Atlas.com) written entirely in JavaScript (well, Objective-J which gets compiled to JavaScript). Check out 280Slides.com or http://githubissues.heroku.com

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Kevin Walzer
27;s a wrapper over other wrappers. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Kevin Walzer
On 12/30/10 12:36 PM, rantingrick wrote: On Dec 30, 9:51 am, Kevin Walzer wrote: Tcl is not a domain-specific language for creating GUI's. Tcl is a full-featured, general-purpose programming language that is a peer to Python in its capabilities, Anybody can gloat and gush about

Re: Tkinter: The good, the bad, and the ugly!

2010-12-30 Thread Kevin Walzer
/ http://www.ellogon.org/ http://moodss.sourceforge.net/ http://www.projectforum.com/ http://www.eggheads.org/ http://brlcad.org/ http://www.muonics.com/ -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: The good, the bad, and the ugly!

2011-01-16 Thread Kevin Walzer
l, BSD-style, and it is quite similar to Python's. wxWidget's library is basically LGPL with a couple of exceptions to make it friendlier to proprietary software. Could code under such a license be gracefully included in the stlib? --Kevin -- Kevin Walzer Code by Kevin http://www.codebyke

Re: Tkinter: The good, the bad, and the ugly!

2011-01-16 Thread Kevin Walzer
On 1/16/11 1:27 PM, rantingrick wrote: On Jan 16, 11:39 am, Kevin Walzer wrote: First of all welcome back to the discussion Kevin. You and i both appreciate and use Tkinter extensively and your input is most welcome here. You are a smart and level headed fella which makes for good discussion

Re: Tkinter: The good, the bad, and the ugly!

2011-01-16 Thread Kevin Walzer
/cqxl6L.) In any event, it's a bit more than 0.25%. (Actually, according to http://bit.ly/c4PBlm, Linux comes in at around 0.77%, while Mac OS X comes int around 5%.) Well this is something that you need to attack at the source Kevin. Specifically i mean for you to join the WxWidgets g

Re: [Code Challenge] WxPython versus Tkinter.

2011-01-23 Thread Kevin Walzer
tree.heading("#0", text="Directory Structure", anchor='w') tree.heading("size", text="File Size", anchor='w') tree.column("size", stretch=0, width=100) populate_roots(tree) tree.bind('<>', update_tree) tree.bind('', change_dir) # Arrange the tree and its scrollbars in the toplevel tree.grid(column=0, row=0, sticky='nswe') vsb.grid(column=1, row=0, sticky='ns') hsb.grid(column=0, row=1, sticky='ew') root.grid_columnconfigure(0, weight=1) root.grid_rowconfigure(0, weight=1) root.mainloop() -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-23 Thread Kevin Walzer
handicap Tk in your comparison. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-23 Thread Kevin Walzer
e ttk::treeview widget can also function as a multi-column listbox, and can include both tree and multi-column listbox features in a single window. It's a very flexible widget. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: [Code Challenge] WxPython versus Tkinter.

2011-01-24 Thread Kevin Walzer
t can't compare with the same program made using WxPython. And it can't be made to be more accessible than it is, because it uses Tk. So Tkinter is really bad. If accessibility leads your criteria, then yes, Tk may be deficient. I can't speak to this on other platforms or with oth

Re: WxPython versus Tkinter.

2011-01-24 Thread Kevin Walzer
and Tkinter than Bryan Oakley. Also, it's not helpful for you to respond to people who disagree with you with this kind of name-calling. It certainly does not earn any respect for your arguments. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-27 Thread Kevin Walzer
-forth, I am simply not persuaded, especially since the proposal being offered is not to replace Tkinter with wxPython in the stdlib, but to instead replace Tkinter with a yet-to-be-designed wxTkinter amalgamation (a Tkinter body on a wxPython chassis). --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: WxPython versus Tkinter.

2011-01-28 Thread Kevin Walzer
On 1/28/11 9:18 AM, rantingrick wrote: Everyone on this list knows that Kevin and myself are the *only* people who know how to wield Tkinter past some simple utility GUI's. I strongly disagree with this statement. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com --

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-01-31 Thread Kevin Walzer
egin cutting some code, and then invite feedback from other users and/or developers. I think that approach has a much better chance of getting off the ground and making progress than long threads on c.l.py. Good luck! --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http:/

Re: IDLE: A cornicopia of mediocrity and obfuscation.

2011-02-01 Thread Kevin Walzer
On 2/1/11 10:54 AM, Terry Reedy wrote: Maybe Kevin would help a bit. Probably not--IDLE is good enough for my needs. I've submitted some (rather extensive) patches for things that annoyed me and got in my way, and they eventually made it in. (The classic open source pathway--scratchi

Impersonating a Different Logon

2010-04-06 Thread Kevin Holleran
the credentials fail. I understand you cannot pass in credentials with _winreg but is there a way to simulate a logon of another user (the machine's local admin) to query the registry? Thanks for your help. Kevin -- http://mail.python.org/mailman/listinfo/python-list

Re: Impersonating a Different Logon

2010-04-07 Thread Kevin Holleran
On Tue, Apr 6, 2010 at 4:11 PM, Tim Golden wrote: > On 06/04/2010 20:26, Kevin Holleran wrote: >> >> Hello, >> >> I am sweeping some of our networks to find devices.  When I find a >> device I try to connect to the registry using _winreg and then query a >&g

Python Script for Website Mirroring

2010-05-19 Thread Kevin Rea
Hello Folks: Can you please point me to a decent Python script(s) that I could customize to do automatic Website mirroring? Thanks Much! Kevin -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Tkinter Programming by John Grayson

2010-05-29 Thread Kevin Walzer
this: 1. If you're outputting data from the text widget, write that to a temporary text file and print via lpr. 2. If you're outputting data from the canvas, write that to a temporary postscript file and print via lpr. This is on Unix/MacOS. Not sure what the equivalent API on Windows

Re: GUIs - A Modest Proposal

2010-06-06 Thread Kevin Walzer
platforms? It sounds like an impossible goal to me. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-08 Thread Kevin Walzer
interface with it more directly than it can with other toolkits (PyGui -> PyGtk -> Gtk -> Xlib), it's not clear to me what is gained by starting from scratch here. (Is it the presence of the Tcl interpreter? I know Tcl is not to everyone's taste, but it is an amazing lan

Re: GUIs - A Modest Proposal

2010-06-08 Thread Kevin Walzer
o maintain. In fact, Perl-Tk has never been updated to run natively on the Mac because of this. There are other Perl/Tk bindings that do integrate the Tcl interpreter, and it makes it much easier for the Perl/Tk bindings to evolve as Tk itself evolves. -- Kevin Walzer Code by

Re: GUIs - A Modest Proposal

2010-06-08 Thread Kevin Walzer
://installbuilder.bitrock.com/ http://www.gidhome.com/ http://www.ellogon.org/ etc. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-08 Thread Kevin Walzer
On 6/8/10 7:16 PM, Kevin Walzer wrote: On 6/8/10 6:09 PM, Lie Ryan wrote: Much like regex a DSL for matching text, Tcl/Tk is pretty much a DSL for creating GUI (anyone knows any real program fully written in non-embedded Tcl?). http://www.amsn-project.net/ http://snackamp.sourceforge.net

Re: GUIs - A Modest Proposal

2010-06-08 Thread Kevin Walzer
r GUI toolkit out there. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-09 Thread Kevin Walzer
ed to be made are to incorporate the new themed Tk (ttk) widgets into your Tkinter application--based on Guilherme Polo's work integrating the new widgets into the stdlib. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-10 Thread Kevin Walzer
has limitations, the toolkit is flexible enough to allow me to work around those limitations. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-11 Thread Kevin Walzer
http://www.pymol.org/ There are others, no doubt. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-12 Thread Kevin Walzer
while it wasn't horrible, I certainly did not prefer it to a native desktop app: I got sick of waiting for the app to reload because of a slow network connection. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: GUIs - A Modest Proposal

2010-06-18 Thread Kevin Walzer
t-24708.html Here's a screenshot from one of my own Tkinter applications that makes use of ttk widgets and also such Tk extension packages as BWidgets (the treeview) and tablelist (the table view): http://www.codebykevin.com/phynchronicity-running.png --Kevin -- Kevin Walze

Re: Python 2.7, tkinter problem on OSX

2010-06-25 Thread Kevin Walzer
There has been a lot of traffic on the MacPython list about this--see the list archives. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-05 Thread Kevin Walzer
On 7/5/10 2:56 AM, John Nagle wrote: * PyCrypto * PyOpenSSL These, and Mark Pilgrim's feedparser, need to be 3.x compatible before I can think about Python 3.x. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: The real problem with Python 3 - no business case for conversion (was "I strongly dislike Python 3")

2010-07-07 Thread Kevin Walzer
the existence of Python 3 or questioning the need to move toward Python 3. It's here, it's the way forward, and that's not going to change. Might as well accept it. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Which multiprocessing methods use shared memory?

2010-07-27 Thread Kevin Ar18
(Shared Memory Map) does, but what about Queues? Thanks, Kevin _ Hotmail is redefining busy with tools for the New Busy. Get more from yo

Which multiprocessing methods use shared memory?

2010-07-28 Thread Kevin Ar18
The multiprocessing module has 4 methods for sharing data between processes: Queues Pipes Shared Memory Map Server Process Which of these use shared memory? I understand that the 3rd (Shared Memory Map) does, but what about Queues? Thanks, Kevin

Re: DBI module deprecated at Python 2.5--what to use in its place?

2009-07-07 Thread Kevin Dwyer
Hello, I think this is discussed PEP 249 - see the "major changes" section. http://www.python.org/dev/peps/pep-0249/ Kev On Tue, 07 Jul 2009 10:05:07 -0700, dana wrote: > I have a variety of Python 2.4 scripts that utilitize the DBI and ODBC > modules together. Although I don't have Python 2.5

Changing Remote Registry

2009-08-07 Thread Kevin Holleran
ndowsError: [Error 5] Access Denied I am running this from my machine as a domain admin, connecting to the remote machine which is also on the domain. I am connecting to the remote registry with: keyPath = _winreg.ConnectRegistry(r"\\" + ipAddress,_winreg.HKEY_LOCAL_MACHINE) Thanks for

RE: Changing Remote Registry

2009-08-07 Thread Kevin Holleran
> > Good morning, >> >> I fear the answer to this is that I just cannot do this >> >> I wrote a python script that goes out to a bunch of remote machines and >> queries the registry for some values. Effectively, there have been some >> software upgrades that have been done as the need arose b

Re: Changing Remote Registry

2009-08-07 Thread Kevin Holleran
On Fri, Aug 7, 2009 at 10:46 AM, MRAB wrote: > Kevin Holleran wrote: > >> >> On Fri, Aug 7, 2009 at 10:11 AM, MRAB > [email protected]>> wrote: >> >>Kevin Holleran wrote: >> >>Good morning, >> >>

Re: Changing Remote Registry

2009-08-10 Thread Kevin Holleran
On Fri, Aug 7, 2009 at 2:08 PM, Tim Golden wrote: > Kevin Holleran wrote: > >> Long story short, I am using _winreg to do this. >> >> hKey = _winreg.OpenKey (keyPath, path, 0, _winreg.KEY_SET_VALUE) >> value,type = _winreg.QueryValueEx(hKey, it

Re: An assessment of Tkinter and IDLE

2009-08-31 Thread Kevin Walzer
ly interfaces, and the other resources I've mentioned do nothing to to change this. The practices that Mark Roseman discusses will allow one to eventually put together a UI that matches anything that the other big toolkits (wxPython, PyQt, PyObjC, PyGtk, etc.) can do. Hope this helps, K

**** Sweet Teen TITS!! BOOBS VIDEOS HI RES PHOTOS !!!

2009-09-07 Thread Kevin Katovic
Download http://centraltits.blogspot.com/2009/09/where-can-beginner-start-investing-and.html Free videos high resolution photos and much more. You know what to do! Free Downloads! -- http://mail.python.org/mailman/listinfo/python-list

Re: New Tkinter windows don't get focus on OS X

2009-09-10 Thread Kevin Walzer
ndle using py2app. The average Mac user isn't going to launch a Python-based game from the command line. Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: New Tkinter windows don't get focus on OS X

2009-09-10 Thread Kevin Walzer
s in Tkinter, help would be much appreciated. I'm not sure there's a way to do this. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: IDE for python similar to visual basic

2009-09-11 Thread Kevin Walzer
words "Tkinter" and "good, effective GUI design" shouldn't be in the same paragraph, please see http://www.codebykevin.com/phynchronicity.html... -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and 3d

2009-09-14 Thread Kevin MacPhail
On Sun, Sep 13, 2009 at 2:29 PM, Ryniek90 wrote: > > > > > azrael wrote: > > > >> Has anyone any exipience with python and 3d. > >> > >> I mean, is there a module to deal with popular 3d formats like 3ds, or > >> vrml. is it possible to import into python opengl models and then use > >> it in app

PExpect on Windows System Using Cygwin

2009-09-24 Thread Kevin Holleran
ine Is there a .dll that I can copy with it or anything so that it works without having to install cygwin on the server that will be hosting this scheduled task? Thanks for any help. Kevin -- http://mail.python.org/mailman/listinfo/python-list

Re: PExpect on Windows System Using Cygwin

2009-09-25 Thread Kevin Holleran
On Fri, Sep 25, 2009 at 6:09 AM, Dave Angel wrote: > Sean DiZazzo wrote: > >> On Sep 24, 4:37 pm, Dave Angel wrote: >> >> >>> >>> Why not just use the subprocess module? It's built into the Windows >>> distribution, and doesn't need cygwin. >>> >>> DaveA >>> >>> >> >> Can subprocess

Re: Commercial or Famous Applicattions.?

2010-11-09 Thread Kevin Walzer
thers that I'm not aware of. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python application launcher (for Python code)

2017-02-20 Thread Kevin Walzer
plicated than "python my script.py." Run your console of choice on any platform that supports Python. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com -- https://mail.python.org/mailman/listinfo/python-list

Re: choice of web-framework

2017-10-23 Thread Kevin van Keeken
Greetings, while reading through this topic i would like to know, if cherrypy is a viable web-framework as well? I stumbled upon this project a while ago, but didn't read through it in detail and would like to hear something about it, especially in regards to the project requirements. Kind regar

FCGI Help?

2005-02-13 Thread Kevin T. Ryan
I'm also hoping to use something a little less daunting than Apache if possible. Thanks for your help, and sorry for such a long post! Kevin T. Ryan -- http://mail.python.org/mailman/listinfo/python-list

TypeError: unhashable type: 'list'

2014-12-22 Thread ronald . kevin . burton
code, core): try: return { ... 'Furnace Whistle': FurnaceWhistle(core) }[measure_code] except KeyError as error: return None Code2Measure = staticmethod(Code2Measure) What is the 'list' that is in the exception? Or how do I find out? Thank you. Kevin -- https://mail.python.org/mailman/listinfo/python-list

how to operate the excel by python?

2005-06-17 Thread Kevin P. Coffey
Question please:   In the post, "How to operate the excel by python," where did you find the codes for HorizontalAlignment and VerticalAlignment (Center = -4108 and Bottom = -4107)?  I need the code for HorizontalAlignment = xlRight.  Is there a table somewhere that shows these codes?   Tha

Re: indexing web pages - in python?

2007-04-18 Thread Kevin T. Ryan
On Apr 18, 8:55 pm, Dan Stromberg <[EMAIL PROTECTED]> wrote: > Are there any open source search engines written in python for indexing a > given collection of (internal only) html pages? Right now I'm talking > about dozens, but hopefully it'll be hundreds or thousands at some point. > > I'm think

Re: Plot with scipy

2007-05-06 Thread Kevin T. Ryan
On May 4, 8:53 am, redcic <[EMAIL PROTECTED]> wrote: > Hi all, > > I've just downloaded scipy v 0.5.2 and I would like to be able to draw > plots. I've tried: > import scipy.gplt > import scipy.plt > import scipy.xplt > > and none of them work. Are these modules still included in scipy ? If > not,

Packages

2007-07-27 Thread Kevin T. Ryan
Hi All - I'm having a problem and I hope you can help. I can't seem to import packages from within the package substructure as I think I should be able to. For example, I create a directory structure as follows: testpkg __init__.py [empty] testsub1/ __init__.py [empty] bad.py [impor

Re: Packages

2007-07-27 Thread Kevin T. Ryan
On Jul 27, 7:21 pm, Alex Popescu <[EMAIL PROTECTED]> wrote: > "Kevin T. Ryan" <[EMAIL PROTECTED]> wrote innews:[EMAIL PROTECTED]: > > > > > Hi All - > > > I'm having a problem and I hope you can help. I can't seem to import > > pac

Compiling Source with alternate Openssl lib

2007-08-28 Thread Kevin T. Ryan
this group, but I thought I'd ask just in case someone ran into this before or might have any suggestions. Thanks in advance (as always!) for your help! Kevin -- http://mail.python.org/mailman/listinfo/python-list

Re: Compiling Source with alternate Openssl lib

2007-08-28 Thread Kevin T. Ryan
On Aug 28, 2:09 pm, "Kevin T. Ryan" <[EMAIL PROTECTED]> wrote: > Hi All - > > I'm trying to compile Python on a Centos machine (RHEL) 3.8 for a > hosting account that I just set up and I'm having 2 issues: > > 1. I ran into an issue with the "h

How to create a PUG mailing list?

2007-10-25 Thread Kevin D. Smith
I'm trying to get a Python User Group started in Norman, OK and I want to get one of those fancy mailing lists on mail.python.org. There is a link there to create a new list if you have the proper authority. How does someone get the proper authority? -- Kevin D. Smith --

Weird behaviour re: Python on Windows

2009-01-13 Thread Kevin Jing Qiu
1 has a network drive mapped to Box2's D:\. The custom Apache filter we have (which is written in python executed by mod_python) complains that it can't find the file which is on the mapped drive. So there you go. I'm wondering if anyone else experienced such problem. Any sugges

RE: Weird behaviour re: Python on Windows

2009-01-14 Thread Kevin Jing Qiu
[email protected]] On Behalf Of Jerry Hill Sent: Tuesday, January 13, 2009 11:43 PM To: python-list (General) Subject: Re: Weird behaviour re: Python on Windows On Tue, Jan 13, 2009 at 5:29 PM, Kevin Jing Qiu wrote: > I've been experiencing weird behavior of Python's os module on Windo

Debugging a Python Program that Hangs

2008-12-02 Thread Kevin D . Smith
ack either. Looking through the python debugger documentation, I don't see how to run a python program and interactively stopping it while it is running. Is there a way to stop within a running python program to see where it is getting hung up? -- Kevin D. Smith -- http://mail.python.org/m

PIL: Getting a two color difference between images

2008-10-24 Thread Kevin D . Smith
different. Right now I get black where it wasn't different, and abs(image1-image2) where it was different. It would be nice if I could specify the colors for difference and no difference. This sounds like it should be easy, but I just don't see how to do it. -- Kevin D. Smith -- ht

<    2   3   4   5   6   7   8   >