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: 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

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: 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

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: 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

Can't load Tkinter in embedded Python interpreter on Windows

2016-04-05 Thread Kevin Walzer
Py_Finalize(); return 0; } Can anyone suggest what I might do to get Tkinter to load and run my exe? Thanks, 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: 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: pyinstaller and Python 3.5 on Windows?

2015-11-19 Thread Kevin Walzer
y2exe) haven't yet caught up. Consider filing a bug with the pyinstaller developers. --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: Which GUI?

2015-07-25 Thread Kevin Walzer
someone will chime in with a diatribe against Google groups...wait for it...wait for it... To address the OP's query, I recommend Tkinter. Plays very nicely with C and C++. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftwar

Re: beginners choice: wx or tk?

2015-07-11 Thread Kevin Walzer
were misinformed. Tkinter has worked fine with Tk 8.6 for a long time. The issues with Tk on the Mac, owing to Apple's force migration of GUI libraries to Cocoa, have finally been more or less resolved, and Tk 8.6.4 is now quite stable on OS X. --Kevin -- Kevin Walzer Code by Kevin/Mobile Cod

Re: GUI toolkit(s) status

2014-11-22 Thread Kevin Walzer
runs on Windows and X11/Linux--no native Mac Port. And it hasn't been updated in years, it does not take advantage of recent advances in Tk. -- 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 toolkit(s) status

2014-11-21 Thread Kevin Walzer
nding of choice for other scripting languages. --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 toolkit(s) status

2014-11-21 Thread Kevin Walzer
Objective-C for legacy codebases, but that is a smaller hurdle to clear. --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: OS X Menubar in Tkinter

2014-10-23 Thread Kevin Walzer
rly braces than this kind of constant policing of folks who come to us via Google: they greatly increase the noise I have to filter out. -- 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: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-03 Thread Kevin Walzer
stubs? A Tcl library compiled for 8.5 can be loaded into 8.6 with no re-compiling required because of stubs. -- 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: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-10-01 Thread Kevin Walzer
tion here is to build Python and Tcl/Tk yourself, in the versions you want, and then things should work just fine. -- 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: Will IronPython / WPF work on Mac OS X?

2014-08-04 Thread Kevin Walzer
, I believe...doesn't it run on top of .NET? I don't see how it would work on the Mac unless it also worked with Mono. -- 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: Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix?

2014-08-04 Thread Kevin Walzer
On 8/4/14, 5:40 AM, Peter Tomcsanyi wrote: "Kevin Walzer" wrote in message news:lrmc0r$suj$1...@dont-email.me... New releases of Tcl/Tk 8.5 and 8.6 are due out soon; right now they are undergoing final testing as betas/release candidates. Thanks for the promising news. Where sho

Re: Python 3 is killing Python

2014-08-03 Thread Kevin Walzer
I'm sure you have the skill set to put together some patches that address specific points of pain for you. And despite the disagreement that others may register with you in these threads from time to time, I'm quite confident that useful patches will be gratefully accepted, even i

Re: Tcl/Tk alpha channel bug on OSX Mavericks is fixeded, but how/when can I use the fix?

2014-08-03 Thread Kevin Walzer
ctions for upgrading. Hope this helps, 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: .Net Like Gui Builder for Python?

2014-07-27 Thread Kevin Walzer
isual Studio or having features like Visual Studio for Python. Thank You! I'm not sure which GUI framework you use, but Tkinter is so simple to code in directly that you don't really need a UI builder. Give that a try. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http:/

Re: Mac python py2app problem

2014-07-15 Thread Kevin Walzer
for mac with py2exe? It's hard to make sense of what you are asking for. Can you just zip up the app bundle that py2app produces and upload it that way? That works for many developers. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com

Re: Python 3 is killing Python

2014-07-15 Thread Kevin Walzer
On 7/15/14, 6:38 PM, Mark Lawrence wrote: I did see your correction but it gave me an opportunity to mention google groups, something that just can't be missed If the newgroup had a filter to trim out complaints about Google groups, half the traffic would be gone. :-) -- Kevin W

Re: Python 3 is killing Python

2014-07-15 Thread Kevin Walzer
ettiquette says that it's gauche to do this, because it presents an unacceptable cognitive burden to the user trying to catch the context of the thread by forcing them to read your reply first, before they read the preceding quoted comments. --Kevin -- Kevin Walzer Code by K

Re: Python 3 is killing Python

2014-07-15 Thread Kevin Walzer
to say that Python 3 is killing Python. Python will survive. But the headaches of migration are substantial, and should not be necessary. --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: Python 3.4.1 installer on Mac links Python to old Tcl/Tk

2014-06-25 Thread Kevin Walzer
On 6/25/14, 1:49 AM, wxjmfa...@gmail.com wrote: I can also add, tcl or tk or tkinter (8.6) is on Windows quite buggy. In fact, simply*unusable*. How so? Please report bugs at http://core.tcl.tk/tcl/reportlist or http://core.tcl.tk/tk/reportlist, as needed. --Kevin -- Kevin Walzer Code by

Re: Event handling for COM object with win32com (pywin32)

2014-06-22 Thread Kevin Walzer
On 6/22/14, 5:15 AM, peter.balazo...@emspin.com wrote: Do I miss something in code or incorrectly handling the events or COM Object? There is a pywin32 mailing list that may be able to offer more help here. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http

Re: OT: This Swift thing

2014-06-03 Thread Kevin Walzer
On 6/3/14, 4:43 PM, Sturla Molden wrote: Are Python apps still banned from AppStore, even if we bundle an interpreter? Python apps are not banned from the App Store. See https://itunes.apple.com/us/app/quickwho/id419483981?mt=12. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http

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

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

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: 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: 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-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: 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: 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: Will Python 3.x ever become the actual standard?

2013-10-23 Thread Kevin Walzer
upside to it for my apps. As long as 2.7 is supported, I'll probably continue to use it. --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: Screenshots in Mac OS X

2013-10-22 Thread Kevin Walzer
you go this route, you want a Python API that hews as closely to the system-level calls as possible, and PyObjC will likely be your best path here. --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: Screenshots in Mac OS X

2013-10-22 Thread Kevin Walzer
On 10/22/13 6:08 PM, Kevin Walzer wrote: On 10/22/13 4:15 PM, Pratik Mehta wrote: Anyone there to help me out??? import os os.system('screencapture', 'foo.png') ...and see 'man screencapture' for options. I leave setting up a Tkinter GUI with proper key bi

Re: Screenshots in Mac OS X

2013-10-22 Thread Kevin Walzer
On 10/22/13 4:15 PM, Pratik Mehta wrote: Anyone there to help me out??? import os os.system('screencapture', 'foo.png') -- 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: Sexism in the Ruby community: how does the Python community manage it?

2013-10-17 Thread Kevin Walzer
On 10/17/13 6:11 PM, Chris Angelico wrote: On Fri, Oct 18, 2013 at 8:50 AM, Kevin Walzer wrote: I've worked in marketing, editing, technical writing, and development, and at no place I have ever worked would such behavior be greeted with anything but immediate termination. That'

Re: Sexism in the Ruby community: how does the Python community manage it?

2013-10-17 Thread Kevin Walzer
culture that pervades so much of tech. A bit off-topic perhaps, for which I apologize, but I've been following the whole "sexism in tech" subject with increasing disgust and dismay, and I wanted to strongly protest against it. --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: Python GUI?

2013-09-13 Thread Kevin Walzer
platform-specific solutions but no cross-platform API) and HTML display (a few extensions but no standard widget set). I've stayed with Tkinter because it fits my brain the best. Old complaints about it being ugly or limited no longer hold water. --Kevin -- Kevin Walzer Code by Kevin/M

Re: Simple Python script as SMTP server for outgoing e-mails?

2013-08-03 Thread Kevin Walzer
On 8/1/13 10:15 AM, Gilles wrote: I already have a static IP, so the issue is more that remote MTAs might not accept connections from MTAs running on users' PC instead of ISP's. For what it's worth, that hasn't been my experience. -- Kevin Walzer Code by Kevin/Mobil

Re: how to package embedded python?

2013-07-29 Thread Kevin Walzer
n installed, as most of my users won't have it. is it actually a requirement that they first install python? (cuz it does work then) Have you looked at these docs? http://docs.python.org/2/extending/embedding.html Lots of other hits on Google for ""embedding Python in C app.&q

Re: Cross-Platform Python3 Equivalent to notify-send

2013-07-27 Thread Kevin Walzer
On 7/27/13 6:58 AM, Devyn Collier Johnson wrote: Linux systems with the proper software can use the "notify-send" command. Is there a cross-platform Python3 equivalent? Mahalo, Devyn Collier Johnson devyncjohn...@gmail.com http://pythonhosted.org/gntp/ ? -- Kevin Walzer Code by Ke

Re: Simple Python script as SMTP server for outgoing e-mails?

2013-07-24 Thread Kevin Walzer
On 7/23/13 5:53 PM, Gilles wrote: On Mon, 22 Jul 2013 10:14:15 -0400, Kevin Walzer wrote: http://www.hmailserver.com Thanks. hMailServer was one of the apps I checked, and I was just making sure there weren't something simpler, considering my needs, ideally something like Mongoos

Re: Simple Python script as SMTP server for outgoing e-mails?

2013-07-22 Thread Kevin Walzer
27;d need is to change the SMTP address in my e-mail client, and off they go. No need for anything else like user authentication or SPAM control. Is there a no-brainer, ready-to-use solution in Python that I could use for this? Thank you. http://www.hmailserver.com -- Kevin Walzer Code by Kevin

Re: Beginner - GUI devlopment in Tkinter - Any IDE with drag and drop feature like Visual Studio?

2013-07-22 Thread Kevin Walzer
On 7/22/13 4:54 AM, Cucole Lee wrote: Why Thinter? You can try wxpython. Well, it's partly a matter of taste, but I for one find wxPython's API...inelegant. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.c

Re: Stack Overflow moderator “animuson”

2013-07-19 Thread Kevin Walzer
for 7 days. Such a dickwad. Mats And we should care because...? -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Re-using copyrighted code

2013-06-09 Thread Kevin Walzer
Here is info about him: http://effbot.org/zone/about.htm His contact info is listed here: http://www.pythonware.com/company/contact.htm I have trouble believing there would be any issue with you re-using the code, especially since it is included with Python's stdlib. --Kevin -- Kevin W

Re: Future standard GUI library

2013-05-20 Thread Kevin Walzer
On 5/20/13 1:04 AM, Vito De Tullio wrote: FLTK? (http://www.fltk.org/index.php) FLTK is even uglier than non-themed Tkinter: non-native on every platform. Tkinter wraps native widgets on MacOS and WIndows, but FLTK draws its own widgets everywhere. -- Kevin Walzer Code by Kevin/Mobile Code

Re: any cherypy powred sites I can check out?

2013-05-19 Thread Kevin Walzer
"Johannes Falcone." The common thread of his recent postings are subjects posed as questions, usually about various web frameworks, sometimes without even a single line in the message body. On the Tcl list it's AOLServer and NavServer. I'm not familiar with the Perl frameworks he

Re: Future standard GUI library

2013-05-19 Thread Kevin Walzer
ctual knowledge, of course. I have two commercial apps developed with Tkinter: http://www.codebykevin.com/phynchronicity.html http://www.codebykevin.com/quickwho.html --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com --

Re: Future standard GUI library

2013-05-18 Thread Kevin Walzer
ature, stable, and unlikely to undergo radical change in the future. Guilherme Polo has done superb work in integrating the themed widgets into Python--it's the most significant UI advance in Python's stdlib in years. You are quite safe in developing against this API, unless your

Re: ANN: ActivePython 3.2.2.3 is now available

2013-05-01 Thread Kevin Walzer
On 5/1/13 8:01 AM, Robert wrote: Will this be the last one? It has been two years. Hard to say. AS has been focusing on cloud-based stuff lately. ActivePerl hasn't been updated for a long time either. ActiveTcl is still maintained. --Kevin -- Kevin Walzer Code by Kevin/Mobile Co

Re: Drag and drop in Windows

2013-04-30 Thread Kevin Walzer
Official link: http://tkinterdnd.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list

Re: Drag and drop in Windows

2013-04-30 Thread Kevin Walzer
/TkinterDnD2-0.zip Hope this helps, Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com -- http://mail.python.org/mailman/listinfo/python-list

Re: simple GUI environment

2013-03-05 Thread Kevin Walzer
ct is dead, especially if it's a simple and mature project that doesn't need a lot of maintenance. If your needs are basic, then I'd say EasyGUI would be a good fit. By contrast, a library undergoing heavy development with a constantly-shifting API can cause tons of headaches. --Ke

Re: Is there a graphical GUI builder?

2013-02-20 Thread Kevin Walzer
developer uses anything but a text editor and console to develop a user interface. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com -- http://mail.python.org/mailman/listinfo/python-list

Re: PYTHON 3.3 + GUI + COMPILE

2012-12-27 Thread Kevin Walzer
llows for free use in commercial apps. Hope this helps, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Second try: non-blocking subprocess pipe and Tkinter in 2.7

2012-12-21 Thread Kevin Walzer
-blocking, asynchronous reading out of the box. Apparently it does not. So, my question is hereby revised as such: how can I implement a non-blocking read of a subprocess pipe that can write data to the Tkinter text widget in an manner that does not cause the GUI to lock up? --Kevin -- Kevin

Keeping a Tkinter GUI alive during a long running process

2012-12-20 Thread Kevin Walzer
f.playSound('connect') self.showProgress() self.file = Popen('echo %s | sudo -S %s -y install %s' % (self.passtext, self.finkpath.get(), self.packagename), shell=True, bufsize=0, stdout=PIPE).stdout for line in self.file: s

Re: IDLE Crashing in Mac OS 10.8.2 with 2.7.3

2012-10-09 Thread Kevin Walzer
e one from ActiveState or the one bundled with OS X? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Article on the future of Python

2012-09-26 Thread Kevin Walzer
ython have that would raise them above the level of interesting experiments? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Article on the future of Python

2012-09-25 Thread Kevin Walzer
me kind of Python wrapper that I can access in my Tkinter app. I can understand loving the language and wanting to work just in the language, but it's another thing entirely to call Python the One Language to Rule Them All. (That's C, because all other languages are implemented in i

Re: Reading a file in IDLE 3 on Mac-Lion

2012-09-23 Thread Kevin Walzer
On 9/23/12 8:45 AM, Kevin Walzer wrote: There's nothing to do here; it's an aspect of the native dialog. To clarify: there's nothing to do at the C level, which is where the native dialog is invoked. IDLE can probably be patched to accept other file types, such as "dat

Re: Reading a file in IDLE 3 on Mac-Lion

2012-09-23 Thread Kevin Walzer
passed to it, cf. py and txt files. "dat" isn't recognized, I tested it out. There's nothing to do here; it's an aspect of the native dialog. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter bug in Entry widgets on OS X

2012-08-31 Thread Kevin Walzer
art of the interface, they need to use the tab key, not the arrow key. It's not a multi-line text widget and shouldn't be expected to work like one. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter bug in Entry widgets on OS X

2012-08-31 Thread Kevin Walzer
ab bar for that, not the arrow key. The entry widget is a single-line widget, and doesn't have up/down as the text widget does. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-11 Thread Kevin Walzer
#x27;s are very ugly. http://www.codebykevin.com/phynchronicity-running.png http://www.codebykevin.com/quickwho-main.png -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Pythonic cross-platform GUI desingers à la Interface Builder (Re: what gui designer is everyone using)

2012-06-10 Thread Kevin Walzer
on that the slick "drag-and-drop" UI builders tend to be developed by commercial software shops to support their language and/or IDE, but find little traction among open-source developers and languages. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: what gui designer is everyone using

2012-06-07 Thread Kevin Walzer
years. None. I write GUI code by hand (Tkinter). -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Recruiting for Python Developer - Perm

2012-05-22 Thread Kevin Walzer
ts to mention is that competence on Mac OS X may also be required here. appscript is a Mac-specific technology (Python interface to Apple Event framework), and can be used to script Adobe Illustrator, which, of course, does not run on Linux. -- Kevin Walzer Code by Kevin http://www.codebykevi

Re: How to hide console with Popen on Windows?

2012-05-18 Thread Kevin Walzer
TARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW txtps = self.pscmd + ' -o ' + tempfile.gettempdir() + '\\whois.ps' + ' ' + tmpfile subprocess.check_output(txtps, startupinfo = startupinfo) Hope this helps. -- Kevin Walzer Code by

Re: Python and Tkinter by John E Grayson

2012-05-17 Thread Kevin Walzer
huge book and devotes several chapters to Tkinter), and has been updated at regular intervals, most recently in the last year or two; I've found it a very helpful reference and guide to Tkinter programming. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Carbon Event Manager (Carbon.CarbonEvt module) - working?

2012-05-15 Thread Kevin Walzer
On 5/15/12 3:06 PM, msmucr wrote: Do I have something wrong or is it simply broken and unmaintained now? Support for Carbon Events was removed in Python 3.x and it does not work in 64-bit, to my knowledge--most of the Carbon API's are not supported by Apple anymore. -- Kevin Walzer Co

Re: converting from tcl/tkl to python

2012-03-09 Thread Kevin Walzer
he line with Tcl and your desire for a different language is for reasons in addition to the look and feel of the UI. However, if your software and its code is otherwise satisfactory and you need simply to update the UI design, that can be done in Tcl at far less cost using the ttk widg

Re: How do you use the widgets in tkinter.ttk if you want to "import tkinter as tk"?

2012-03-04 Thread Kevin Walzer
Tkinter is a little annoying. The new widgets are not a drop-in replacement for the traditional Tk widgets. They can be used with 8.4 if the "tile" Tk extension is installed. This is how the ttk widgets were first deployed; they didn't enter Tk's core until

Re: Buffering in Wing and IDLE 3

2012-02-01 Thread Kevin Walzer
problem but cannot directly do anything about it as the problem is with tcl/tk and Apple. A couple of days ago, Kevin Walzer wrote on an IDLE-sig post "I'm currently reviewing an updated patch to address the problem. When I commit the patch, it will go into both Tk's trunk and i

Re: Learning Python 2.4

2011-12-21 Thread Kevin Walzer
On 12/20/11 7:31 PM, Rick Johnson wrote: Anything before Python 3.0 is now obsolete. We are currently at 3.2.2 for a stable release. 2.7 is still a supported production release of Python. It has not been end-of-lifed. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http

Re: ttk Listbox

2011-10-31 Thread Kevin Walzer
On 10/31/11 4:03 PM, Ric@rdo wrote: On Mon, 31 Oct 2011 10:00:22 -0400, Kevin Walzer wrote: On 10/31/11 12:37 AM, Ric@rdo wrote: What would be an equivalent widget in ttk like a Listbox and if possible a small example? I tried to look here http://docs.python.org/library/ttk.html but did not

Re: ttk Listbox

2011-10-31 Thread Kevin Walzer
f the themed ttk widgets. The ttk::treview is, and that can be set up as a single-column list display. There may be an example of how to do this in the docs or source code tree (I don't use the widget myself so I don't have any sample code to share). --Kevin -- Kevin Walzer Cod

Re: getattr and method name

2011-10-02 Thread Kevin Walzer
Turns out the error was a typo in the actual method being called...*faceinhands* Sorry for the noise. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

getattr and method name

2011-10-02 Thread Kevin Walzer
m the pipe: /bin/sh: bound: No such file or directory I am not sure what in my application is causing this kind of breakage, as earlier versions of the app ran fine with similar code on earlier versions on the OS. Is this the correct way to structure this kind of functionality, or am I be

Re: Python bug in Windows 8--report now, or later?

2011-09-20 Thread Kevin Walzer
On 9/20/11 8:32 AM, Alec Taylor wrote: I can confirm that os.mkdir('C:\\h') and os.path.exists('C:\\h') work on Windows 8 Dev x64. OK--looks like I will need to do a bit more digging into my own code. Thanks for clarifying. -- Kevin Walzer Code by Kevin http://www.cod

Python bug in Windows 8--report now, or later?

2011-09-17 Thread Kevin Walzer
I have been testing my Python application on the just-released developer preview of Windows 8 and have noted an error: the application does not create an app folder in the user's "application data" directory. This causes the app to crash on startup. Manually creating the directory solves the pr

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: 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: 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

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.

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

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

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

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

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: 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: 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: 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

  1   2   3   4   >