Re: Tix Combobox

2011-06-08 Thread Kevin Walzer
ugly one that comes with Tix. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: trouble creating tooltips using Wx in Tk canvas

2011-07-06 Thread Kevin Walzer
thon to achieve the functionality. Tooltips are trivial to create in Tkinter: http://tkinter.unpythonic.net/wiki/ToolTip --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding duplicated photo

2011-07-10 Thread Kevin Zhang
On Fri, Jul 8, 2011 at 8:37 PM, Billy Mays wrote: > > > I recently wrote a program after reading an article ( > http://www.hackerfactor.com/**blog/index.php?/archives/432-** > Looks-Like-It.html) > using the DCT method h

Re: Wgy isn't there a good RAD Gui tool fo python

2011-07-11 Thread Kevin Walzer
constructor that it stopped developing. I simply do not see any reasons why there isn't anything. Please help me understand it. Any insights? http://pyobjc.sourceforge.net/ -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Wgy isn't there a good RAD Gui tool fo python

2011-07-11 Thread Kevin Walzer
y needed there. (The Cocoa frameworks don't really lend themselves to hand-coding.) Otherwise I find GUI builders inflexible, and more trouble than they are worth. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding duplicated photo

2011-07-11 Thread Kevin Zhang
On Mon, Jul 11, 2011 at 10:50 PM, Fulvio wrote: > > > I found that isn't python 3 code :( > > It's written in python 2.6. > Then the code should go into some other program to allow actions on those > pictures which are matching each other. Am I right? > > The leverages PIL to get the job done.

Re: I am fed up with Python GUI toolkits...

2011-07-19 Thread Kevin Walzer
.a Java GUI toolkit? I'm quite confused. Is it worth the hassle to start a new GUI toolkit project? Not unless you want to reinvent the wheel yet again. Or should modern deskop apps be written with something completely different, such as HTML5? If it's written in HT

Re: I am fed up with Python GUI toolkits...

2011-07-21 Thread Kevin Walzer
On 7/20/11 9:05 AM, rantingrick wrote: On Jul 19, 9:44 pm, Kevin Walzer wrote: 2. Bloatware. Qt and wxWidgets are C++ application frameworks. (Python has a standard library!) Again, so? This isn't applicable to Tk, by the way. It's a GUI toolkit specifically designed for scripting

Tkinter/py2exe with installer

2011-07-24 Thread Kevin Walzer
time finding such apps to use as examples/benchmarks, etc. (The only one I've found, in fact, is Webgobbler at http://sebsauvage.net/python/webgobbler/index.html; a nice app, but I'd like more examples.) -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/m

DDE vs. COM for Python Windows apps

2011-08-06 Thread Kevin Walzer
nt for my needs--I want other applications to be able to send commands to my application and have data returned to them. But I'd like to have a better understanding of the merits of each. Can someone summarize the advantages that COM might have over DDE, in a Pythonic context? --Kevin

os.system() on Windows in Tkinter app spawns console window

2011-08-12 Thread Kevin Walzer
nsole windows popping up. This is jarring to say the least. Is there any way to run the commands under the hood without the console/DOS windows popping up? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Ten rules to becoming a Python community member.

2011-08-14 Thread Kevin Walzer
I'd like to post a detailed response, e.g. a point-by-point engagement with Rantingrick's list, but as I lack time, this will have to suffice: http://xkcd.com/386/ There! Can I get my community pin now? :-) -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.

Re: os.system() on Windows in Tkinter app spawns console window

2011-08-14 Thread Kevin Walzer
On 8/13/11 1:15 AM, Nobody wrote: On Fri, 12 Aug 2011 22:49:32 -0400, Kevin Walzer wrote: I'm developing a Tkinter app for a Windows customer, and the app bundles several command-line tools (ported from Unix). I call out to these console tools from the Tkinter app via os.system(). Howeve

Python import search path

2011-08-20 Thread Kevin Zhang
a.pth only works when in directory like /usr/lib/pythonX.Y/site-packages instead of in current directory. I think A is not so pretty, and I don't have root privilege to use B and C. So any both more elegant and practical solutions? Thanks. Kevin Zhang -- http://mail.python.org/mailman/lis

Re: Python Windows Extensions for Mac

2011-08-20 Thread Kevin Walzer
win32 API calls any more than Windows supports Cocoa/Objective-C calls. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: OSX application built with py2app can't see bundled PySide module?

2011-09-02 Thread Kevin Walzer
under Contents/Resources/lib/python2.6/lib-dynload/PySide/. Is there a reason the application isn't seeing this? You might want to post this question to the MacPython list--that's where the py2app experts are found. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: [OT] Comparing VCS tools (was ""Development tools and practices for Pythonistas")

2011-04-29 Thread Kevin Walzer
evant to Python because Tkinter is part of the stlib. There aren't any huge sites like Github providing Fossil hosting, but here is one site: http://chiselapp.com/ --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Why did Quora choose Python for its development?

2011-05-24 Thread Kevin Walzer
/aboutGNUstep.html It may be true that these languages are more widely used on their originating platforms (Windows, OS X) than on Linux, but these implementations are definitely open source. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python

Re: Why did Quora choose Python for its development?

2011-05-24 Thread Kevin Walzer
ilities in certain ways; this also allows my Python apps to access such enhancements, via Tkinter. But all in all I'm a happy user of Python, and it will continue to have a primary place in my toolbox. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Linux/Windows GUI programming: GUI-fy a CLI using pyInstaller

2018-01-05 Thread Kevin Walzer
toolkit :-) me too ! Try easygui: https://pypi.python.org/pypi/easygui -- 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

Fwd: Syntax error

2018-02-03 Thread Kevin Doney
Hi. *pip3 install --upgrade tensorflow-gpu* When I try the above command I get SyntaxError: invalid syntax Please help. -- https://mail.python.org/mailman/listinfo/python-list

Re: Issues with "twistd" in Twisted 16.4.0

2016-09-01 Thread Kevin Conway
Hi, you might not get much of an answer for this on the Python mailing list. I suggest sending your question to the Twisted mailing list instead: https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python. On Thu, Sep 1, 2016 at 7:12 AM juraseg wrote: > Also, I've tried to find anything i

Re: PyDictObject to NSDictionary

2017-02-03 Thread Kevin Walzer
#x27;s and Python. --Kevin -- 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

Python on 10.14 Mojave

2018-10-10 Thread Kevin Walzer
edit setup.py and comment out all search directories except /Library/Frameworks, but that seems to be ignored here. Is there any other way to link to the correct frameworks? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- https://mail.python.org/mailman/listinfo/python-list

Re: What's wrong with these codes as failed to read the strings in Chinese? Is it because Chinese characters can't be read on Mac? Many thanks

2018-11-09 Thread Kevin Hu
ming/methods/string/encode> https://www.pythoncentral.io/encoding-and-decoding-strings-in-python-3-x/ <https://www.pythoncentral.io/encoding-and-decoding-strings-in-python-3-x/> Regards, Kevin > On Nov 8, 2018, at 21:30, Annie Lu wrote: > > # -*- coding: UTF-8 -*- > ...

Can't load Tkinter in embedded Python interpreter on Windows

2016-04-05 Thread Kevin Walzer
get it to load Tkinter and run. The current error is: "AttributeError: module 'sys' has no attribute 'argv'" when called from the Tkinter init method. Here is my command-line invocation for the compiler: --- gcc quickwho.c -I \C:\Users\kevin\AppData\Local\Pr

Re: Can't load Tkinter in embedded Python interpreter on Windows

2016-04-05 Thread Kevin Walzer
Adding PySys_SetArgv(argc, argv); did the trick. -- 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: Label behavior's difference between tkinter and ttk

2016-04-05 Thread Kevin Walzer
In general, the "img.config" syntax is suitable for the classic Tk widgets, not the themed ttk widgets. They have a very different (and very gnarly) syntax for indicating changed state. I am not inclined to see a bug here. -- Kevin Walzer Code by Kevin/Mobile Code by

Re: What should a decorator do if an attribute already exists?

2016-05-16 Thread Kevin Conway
> I have a decorator that adds an attribute to the decorated function I might try to argue that this is not actually a decorator or, at least, this is not a great decorator pattern for Python. Adding the attribute to the function object implies you need to access it at some later point. If so then

Re: Namespaces are one honking great idea

2016-07-01 Thread Kevin Conway
I believe the namespace object you are referring to is exactly a class. IIRC, classes came about as a "module in a module". Regardless, all use cases you've listed are already satisfied by use of the static and class method decorators. Methods decorated with these do not require an instance initia

Re: Namespaces are one honking great idea

2016-07-02 Thread Kevin Conway
;test") print(CustomNs.stateful_data) CustomNs.mutate() print(CustomNs.stateful_data) For the proponents of namespace, what is deficient in the above example that necessitates a language change? On Sat, Jul 2, 2016, 00:02 Random832 wrote: > On Fri, Jul 1, 2016, at 21:50, Kevin Conway wro

Re: Namespaces are one honking great idea

2016-07-03 Thread Kevin Conway
>> Regardless, all use cases you've listed are already satisfied by use of >> the static and class method decorators. Methods decorated with these do >> not require an instance initialization to use. > And are significantly less easy to use, as the functions MUST refer to each > other by their dot

Re: Class Issue`

2019-03-05 Thread Kevin Hu
even when you don’t expect it to. In this case it’ll assign arguments to parameters in order, which is the expected behavior. Regards, Kevin > On Mar 5, 2019, at 16:39, Milt wrote: > > The following code gives me unusual results - base on experience with C++. > > class Car:

PythonWin: Change background color

2005-10-04 Thread Bell, Kevin
nothing for the window itself. Kevin Bell -- http://mail.python.org/mailman/listinfo/python-list

change a value to NULL?

2005-10-05 Thread Bell, Kevin
print intV except: print "its an asterisk" but I need to get at my list and substitute the *'s with nulls to load into a database. Thanks. Kevin Bell -- http://mail.python.org/mailman/listinfo/python-list

RE: change a value to NULL?

2005-10-05 Thread Bell, Kevin
. Thanks again... Kevin Bell -Original Message- From: Laszlo Zsolt Nagy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 05, 2005 10:18 AM To: Bell, Kevin; python-list@python.org Subject: Re: change a value to NULL? Bell, Kevin wrote: >I'm pulling a list of numbers from MS Excel, bu

RE: change a value to NULL?

2005-10-05 Thread Bell, Kevin
Just tested it. Access does recognize None as null/blank/etc when None is passed in from python. Kevin Bell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bell, Kevin Sent: Wednesday, October 05, 2005 10:33 AM To: python-list@python.org Subject: RE

RE: So far

2005-10-06 Thread Bell, Kevin
I like pythonWin other than the white background where you write your scripts, because after awhile it's bad on the eyes. Does anyone know of a free IDE that will allow control of this, as well as the coloring of keywords, etc? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

date reformatting

2005-10-06 Thread Bell, Kevin
Anyone aware of existing code to turn a date string "8-15-05" into the number 20050815? The dateutil module has a parse method that looks perfect, I downloaded and unzipped it, but could figure out how to install it. I using windows XP and py2.4. Any ideas? Kev -- http://mail.python.org/m

interactive window vs. script: inconsistent behavior

2005-10-06 Thread Bell, Kevin
The following works in the interactive window of PythonWin, but fails in a script. TypeError: Objects of type 'slice' can not be converted to a COM VARIANT I just need to parse out these dates, but it's making me crazy. Shouldn't it work in both the interactive window and a script? >>> d = "5

RE: interactive window vs. script: inconsistent behavior

2005-10-06 Thread Bell, Kevin
Oops! Sorry about that post. I'm pulling data from excel, and needed to convert the object I pulled into a string before slicing. I guess I should look (more thoroughly) before I leap. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bell, Kevin

Listen for directory events

2005-10-12 Thread Bell, Kevin
Anyone have any advice on listening for directory events? I'd like to fire off my script if new files are added to a directory. Right now, I've set up my script as a scheduled task (Windows XP) and when the script is run periodically, it initially looks for new files and does it's magic if there

get a copy of a string leaving original intact

2005-10-20 Thread Bell, Kevin
I'm having trouble with something that seems like it should be simple. I need to copy a file, say "abc-1.tif" to another directory, but if it's in there already, I need to transfer it named "abc-2.tif" but I'm going about it all wrong. Here's what doesn't work: (I'll add the copy stuff from shuti

RE: get a copy of a string leaving original intact

2005-10-21 Thread Bell, Kevin
Lundh Sent: Friday, October 21, 2005 2:10 AM To: python-list@python.org Subject: Re: get a copy of a string leaving original intact "Bell, Kevin" wrote: > I'm having trouble with something that seems like it should be simple. > > I need to copy a file, say "abc-1.tif&

Re: calling a dylib in python on OS X

2005-10-23 Thread Kevin Walzer
ou want to call? - -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.or

Re: IDE recommendation please

2005-10-23 Thread Kevin Walzer
y or may not be a problem for you. I've ultimately settled on a primitive set of tools myself, Emacs or IDLE, plus the console. Fewer bells and whistles, but they are stable, and don't get in my way. - -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.

Re: MacOS Extension Carbon.File.FSCatalogInfo file sizes should be UInt64?

2005-10-31 Thread Kevin Walzer
application from C++ to python and I expect to be | seeing a lot of these python macintosh filesystem extensions in the | near future! | | Thanks for any help | | Don | You're most likely to get a good answer to this question on the MacPython mailing list--give that a try if you don't ge

where to download md5.py?

2005-11-02 Thread Bell, Kevin
I've been looking around, but haven't found a place to download the md5.py module. I need it to run the dupinator.py Anyone know where to find it? Kev -- http://mail.python.org/mailman/listinfo/python-list

RE: where to download md5.py?

2005-11-02 Thread Bell, Kevin
"Bell, Kevin" wrote: > I've been looking around, but haven't found a place to download the > md5.py module. I need it to run the dupinator.py Fredick replied: md5 is a standard Python module (written in C). it's been in Python

RE: where to download md5.py?

2005-11-02 Thread Bell, Kevin
I guess I do have it. I was looking in LIB for it, because that's where I've typically imported other modules from, like os, etc... >> import md5 >> help(md5) Gives me the help like you'd expect. I was getting an error in the dupinator that I mistakenly attributed to not being able to see md

convert COM obj to integer

2005-11-02 Thread Bell, Kevin
I'm pulling a range of cells from Excel into a list and the data in Excel is a number or possibly some text like an asterisk. Each member of the list is a com object (I think) and I'm converting them to integers (or to None if not numberic) but my method seems very silly. Is this the best way to g

RE: convert COM obj to integer

2005-11-02 Thread Bell, Kevin
Well that looks quite nice, so I'll work that into my script. Thanks!!! That 1-tuple business was confusing me, and I was getting errors stating something about converting an object, so as you can see, I was grasping at straws. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

how to open a windows folder?

2005-11-04 Thread Bell, Kevin
I'd love to be able to open up a windows folder, like c:\temp, so that it pops up visually. I know how to drill down into a directory, but I can't figure out how to open one up on screen. Would I have to make a call to windows explorer in a similar way that I hit Excel with: from win32co

RE: how to open a windows folder? THANKS!

2005-11-04 Thread Bell, Kevin
import os os.startfile ("c:/temp") That was painless and did the trick! Thanks Tim! -- http://mail.python.org/mailman/listinfo/python-list

A Tcl/Tk programmer learns Python--any advice?

2005-11-07 Thread Kevin Walzer
procedures are now embedded deep in my brain). Any advice, particularly from other programmers with a lot of experience in Tcl, is appreciated. - -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com

Re: PIL-> Tkinter

2005-11-09 Thread Kevin Walzer
to a GIF? Tk can display GIF's natively. -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Pregunta sobre python

2005-11-14 Thread Kevin Walzer
em('echo su_contraseña | sudo -S kill pid') -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Not enough arguments for format string

2005-11-14 Thread Kevin Walzer
TypeError: not enough arguments for format string -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Mac OSX oddities (compiling Python plus tkinter)

2005-11-23 Thread Kevin Walzer
s do not work properly), etc. Also, did you compile Python as a Carbon framework build (makes use of the Apple's windowing environment)? What version are you now running? -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tablelist-tcl-tk-tile

2005-11-27 Thread Kevin Walzer
works fine (this is with Python 2.4.2 and Tcl/Tk 8.4.10). -- Cheers, Kevin Walzer, PhD WordTech Software - "Tame the Terminal" http://www.wordtech-software.com sw at wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

os.execvp()'ing an ssh command on windows

2005-12-07 Thread Kevin Smith
prompted to verify the host and for a password, but I can't type them in. It's as if the command prompt has taken control again. Is there any way to exec an interactive program such as ssh? Kevin Smith -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Python-OpenID 1.0

2005-12-07 Thread Kevin Turner
It is with great pleasure that JanRain, Inc. announces version 1.0 of the Python OpenID library. This library contains packages to support both OpenID consumers (relying parties) and servers. For back-end storage, it supports a variety of methods, including flat file, SQL, and MemCached. In our

One-Shot Property?

2005-01-18 Thread Kevin Smith
possible? -- Kevin Smith [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Configuring Python for Tk on Mac (continued)

2005-01-27 Thread Kevin Walzer
er double-click the script, or use "pythonw" as the launching program in the terminal. - -- Cheers, Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbizmac.com http://www.kevin-walzer.com mailto:[EMAIL PROT

XML with Unicode: what am I doing wrong?

2005-02-02 Thread Kevin Dangoor
ange(128) If I set my default encoding to utf8 in sitecustomize.py, it works just fine. I'm thinking that I can't be the only one trying to pass unicode to expat... Is there something else I need to do here? Thanks, Kevin Blazing Things -- http://mail.python.org/mailman/listinfo/python-list

REMINDER: Python proposals due February 13th for OSCON / Python 13

2005-02-02 Thread Kevin Altis
Please submit your tutorial and session proposals for the Python track by February 13th. The information and relevant URLs are below. ka --- The Call for Proposals has just opened for the 7th Annual O'Reilly Open Source Convention http://conferences.oreillynet.com/os2005/ OSCON is headed back

Re: XML with Unicode: what am I doing wrong?

2005-02-02 Thread Kevin Dangoor
y to forget about what a C extension would likely want. Thanks Diez and Just for the quick responses! Kevin -- http://mail.python.org/mailman/listinfo/python-list

Why does super() require the class as the first argument?

2005-02-03 Thread Kevin Smith
super(self).go() I can create a super() that does this as follows: _super = super def super(obj, cls=None): if cls is None: return _super(type(obj), obj) return super(cls, obj) I guess I'm just not sure why it wasn't done that way in the first place

Windows/win32all, unicode and long filenames

2005-08-27 Thread Kevin Ollivier
s another solution, preferably one that doesn't require me to muck with the current directory, and I was also wondering if there was a simple way to get one or both of the above limitations removed. :-) Thanks in advance for any help, Kevin -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows/win32all, unicode and long filenames

2005-08-27 Thread Kevin Ollivier
On Sat, 27 Aug 2005 23:30:46 +, Neil Hodgson wrote: > Kevin Ollivier: > >> On Windows, it's very common to have a string of long directories in the >> pathname for files, like "C:\Documents and Settings\My Long User Name\My >> Documents\My Long Subd

NYC Opening

2005-08-29 Thread Kevin McGann
numerous opportunities so if you program in C++ or Java send me an email or give me a call. - Kevin M McGann Senior Technology Recruiter Continuity Partners Inc. (212) 624-9187 www.cpi-search.com [EMAIL PROTECTED

Adding bound methods dynamically...

2005-08-30 Thread Kevin Little
#!/usr/bin/env python ''' I want to dynamically add or replace bound methods in a class. I want the modifications to be immediately effective across all instances, whether created before or after the class was modified. I need this to work for both old ('classic') and new style classes, at both

Re: Adding bound methods dynamically... CORRECTED

2005-08-30 Thread Kevin Little
#!/usr/bin/env python # Sorry... :} cut/paste error fixed... ''' I want to dynamically add or replace bound methods in a class. I want the modifications to be immediately effective across all instances, whether created before or after the class was modified. I need this to work for both old ('c

Re: More newbie macosx user questions

2005-02-24 Thread Kevin Walzer
Frameworks/Python.framework/Versions/2.3/lib/python2.3/lib-dynload | /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages - -- Cheers, Kevin Walzer, PhD WordTech Software--Open Source Applications and Packages for OS X http://www.wordtech-software.com http://www.smallbiz

Re: PyQT Licensing and plugins/scripting

2004-12-03 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 PyQt on OS X is also available under a GPL version. I have a binary installer available at http://www.wordtech-software.com/pyqt-mac.html Fabio wrote: | Hi all, | I'm about to write an application, and I'd like to use PyQt, but before | choosing this t

Re: PyQt on MAC OS X

2004-12-13 Thread Kevin Walzer
emon.co.uk, | unpacked it, ran | | python configure.py | | and got this error: | | Error: /sw/share/qt3/mkspecs/darwin-g++/qmake.conf: macro | 'QMAKE_LIBDIR/$(TARGET1)' is not defined. | | | Any ideas? | | Michael - -- Cheers, Kevin Walzer, PhD WordTech Software--Open Source

Re: PyQt on MAC OS X

2004-12-13 Thread Kevin Walzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael McGarry wrote: | Kevin Walzer wrote: | | I've assembled a binary installer for the native version of PyQt. See | http://www.wordtech-software.com/pyqt-mac.html | | I built it on Panther. Not sure if it will work on Jaguar, but you're

Re: Best GUI for small-scale accounting app?

2004-12-20 Thread Kevin Walzer
>theme in the Display Dialog? | | | AFAIK they do all stuff themselves. And also AFAIK photoshop is created | using qt. | | PhotoShop is not created with Qt. I believe it's created with CodeWarrior. PhotoShop Album is created with Qt--a very different beast. - -- Cheers, Kevin Walzer, PhD

Re: new to mac OS10

2005-04-16 Thread Kevin Walzer
c.org/ The site maintainer, Bob Ippolito, is one of the main developers of Python on the Mac and maintains a lot of packages. This site also includes lots of links to information. Hope that helps, Kevin Thomas Nelson wrote: | The main thing I would like is to be able to use tkinter with python on | my

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-17 Thread Kevin Walzer
embers; as well as related analytics. Thanks for all suggestions! =) Not written in Python, but Fossil (http://www.fossil-scm.org/) offers an all-in-one, lightweight DCVS/issue-tracking/wiki/blog package. Written the author of SQLite. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by

Re: Getting the Appdata Directory with Python and PEP?

2013-12-02 Thread Kevin Walzer
ed to do it myself as I stated in the OP:) This module appears to simply use hard-coded paths on Unix/Linux and OS X--not much to learn there, except which paths to code. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com --

Re: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Kevin Walzer
platforms. Obviously this point is moot if your library includes true compiled (C-based) extensions. --Kevin -- 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: Packaging a proprietary Python library for multiple OSs

2013-12-05 Thread Kevin Walzer
On 12/5/13, 10:50 AM, Michael Herrmann wrote: As I said, I need to make my *build* platform-independent. cx_Freeze is platform independent, but I'm not sure if it generates libraries or simply executables. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin

Re: Packaging a proprietary Python library for multiple OSs

2013-12-06 Thread Kevin Walzer
On 12/5/13, 10:50 AM, Michael Herrmann wrote: On Thursday, December 5, 2013 4:26:40 PM UTC+1, Kevin Walzer wrote: On 12/5/13, 5:14 AM, Michael Herrmann wrote: If your library and their dependencies are simply .pyc files, then I don't see why a zip collated via py2exe wouldn't wor

Re: GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-16 Thread Kevin Walzer
ment community. In other words, you are not handing the ball off to a 90-pound weakling if you need to call into Tcl from Python via Tkinter. ;-) --Kevin -- 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: GUI:-please answer want to learn GUI programming in python , how should i proceed.

2013-12-16 Thread Kevin Walzer
with a slight accent. I'm a native Tcl developer, for better or worse.) --Kevin -- 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

Airplane mode control using Python?

2013-12-22 Thread Kevin Peterson
() droid.makeToast('exiting') I get the error 'no such attribute Android()'. One important thing is, I want to be able to do this without the need to reboot the Android device and any other working solution is also fine long as it is invokeable through Python. Thanks, Kevin

Re: Airplane mode control using Python?

2013-12-22 Thread Kevin Peterson
I will take care. Thanks, On Mon, Dec 23, 2013 at 10:22 AM, wrote: > On 12/22/2013 08:33 PM, Chris Angelico wrote: > > On Mon, Dec 23, 2013 at 2:20 PM, Kevin Peterson > wrote: > >> I am trying to control Aeroplane mode on Android using Python code. > >> I am

Daemonify my python script on Android

2013-12-22 Thread Kevin Peterson
Hi, I want to daemonify my python script on Android device. That is, it should be automatically invoked on boot up. Appreciate your help. Thanks KP -- https://mail.python.org/mailman/listinfo/python-list

Deamonify my python script on Android

2013-12-23 Thread Kevin Peterson
Hi, I want to daemonify my python script on Android device. That is, it should be automatically invoked on boot up. Appreciate your help. Thanks, Kevin Peterson -- https://mail.python.org/mailman/listinfo/python-list

Re: Airplane mode control using Python?

2013-12-23 Thread Kevin Peterson
nformation. >>> import android >>> droid = android.Android() Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'Android' >>> Thanks, On Mon, Dec 23, 2013 at 9:29 AM, Ned Batchelder wrote:

Re: the Gravity of Python 2

2014-01-08 Thread Kevin Walzer
c developer. I have no interest in adding to this complexity and headaches by switching from 2.x to 3.x. I imagine I'll update someday, but not anytime soon. --Kevin -- 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

Need help vectorizing code

2014-01-18 Thread Kevin K
I have some code that I need help vectorizing. I want to convert the following to vector form, how can I? I want to get rid of the inner loop - apparently, it's possible to do so. X is an NxD matrix. y is a 1xD vector. def foo(X, y, mylambda, N, D, epsilon): ... for j in xrange(D):

Re: Need help vectorizing code

2014-01-18 Thread Kevin K
25 PM UTC-8, Kevin K wrote: > I have some code that I need help vectorizing. > > I want to convert the following to vector form, how can I? I want to get rid > of the inner loop - apparently, it's possible to do so. > > X is an NxD matrix. y is a 1xD vector. > >

Re: Wikipedia XML Dump

2014-01-28 Thread Kevin Glover
Thanks for the comments, guys. The Wikipedia download is a single XML document, 43.1GB. Any further thoughts? Kevin -- https://mail.python.org/mailman/listinfo/python-list

Exclude text within quotation marks and words beginning with a capital letter

2015-12-01 Thread Kevin Glover
letter (including words at the beginning of sentences). Any advice on coding that would be gratefully received. Thanks. Kevin -- https://mail.python.org/mailman/listinfo/python-list

Re: GitHub's “pull request” is proprietary lock-in

2016-01-03 Thread Kevin Walzer
oring the codebase in Git; there is a Tcl/Tk mirror at Github. Just a thought. --Kevin -- 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: Cannot step through asynchronous iterator manually

2016-01-30 Thread Kevin Conway
To address the original question, I don't believe a next() equivalent for async iterables has been added to the standard library yet. Here's an implementation from one of my projects that I use to manually get the next value: https://bpaste.net/show/e4bd209fc067. It exposes the same interface as th

Re: Cannot step through asynchronous iterator manually

2016-01-30 Thread Kevin Conway
r updates: https://bpaste.net/show/14292d2b4070. Thanks for calling that out. Note to self: Review old code before copy/pasta into the mail list. On Sat, Jan 30, 2016 at 6:57 AM Chris Angelico wrote: > On Sat, Jan 30, 2016 at 11:35 PM, Kevin Conway > wrote: > > To address the original ques

Re: How a module is being marked as imported?

2016-02-04 Thread Kevin Conway
As an attempt to answer your original question, Python doesn't explicitly mark a module as done. It does keep imports cached in sys.modules, though. The behaviour you describe where later imports get the same module object is driven by that cache. There are cases, such as cyclical imports, where t

<    1   2   3   4   5   6   7   8   >