Re: setting up wxPython on a Mac

2006-11-03 Thread Kevin Walzer
site--an installer for the latest version of wxPython for the Mac is also available. That should do it. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: setting up wxPython on a Mac

2006-11-03 Thread Kevin Walzer
Brian Blais wrote: > Kevin Walzer wrote: >> Brian Blais wrote: >>> Hello, >>> >>> I have a wxPython program that I would like to give to a friend of mine >>> who has a Mac. Is there a resource out there that can tell me what >>> steps I need t

ANN: Martin Franklin's Tile/Tablelist Tkinter wrappers now at SourceForge

2006-11-13 Thread Kevin Walzer
If I have misstepped by making these extensions available at SF, I invite Mr. Franklin to contact me on- or off-list. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Noob | datetime question

2006-11-14 Thread Kevin Kelley
import timeFORMAT='%Y%m%d'time.strftime(FORMAT,time.gmtime(time.time()+8380800))output = '20070219'--Kevin KelleyOn 11/14/06, Demel, Jeff <[EMAIL PROTECTED]> wrote: I'm having trouble finding exactly what I need by googling, so thoughtI'd try to get a quick ans

Re: Tkinter & Python 2.5 Problems on MAC OS 10.3.9

2006-11-16 Thread Kevin Walzer
r installation of Tcl/Tk? It sounds like Python can't find it. Were you using the standard MacPython builds previously, or Unix-based builds from Fink or DarwinPorts? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

RE: interactive programme (voice)

2006-05-30 Thread Bell, Kevin
http://www.cs.unc.edu/~parente/tech/tr02.shtml loads of fun. -- http://mail.python.org/mailman/listinfo/python-list

Re: IDLE on Mac OS X

2006-08-27 Thread Kevin Walzer
.3 by default. Get a Panther-compatible version at http://tcltkaqua.sourceforge.net. -- Kevin Walzer Poetic Code http://www.kevin-walzer.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Max OSX and Excel

2006-08-28 Thread Kevin Walzer
s, BC > > > Try AppScript: http://appscript.sourceforge.net/ It's a Python-to-Apple Events bridge. It allows you to access a scriptable application using the same mechanism that underlies AppleScript, but from Python. Excel has good AppleScript support, so it should be supported by AppScript as wel

Re: Setting custom folder icon in OS X?

2006-09-04 Thread Kevin Walzer
, png, tiff, etc.) and > set it as the icon for a folder? > > Kevin D. Smith > There might be a way to do this via PyObjC (the Python-Objective C bridge), which provides access to the Mac's Cocoa frameworks. -- Kevin Walzer Poetic Code http://www.kevin-walzer.com -- http://mail.python.org/mailman/listinfo/python-list

Re: OS X and Python - wxPython has forced a rehash of my approach

2006-09-04 Thread Kevin Walzer
nto a Framework build as my starting point. > > I'd really recommend using the universal build from python.org. As a > previous poster mentioned, it is a framework build. I've never had any > trouble using wxPython in conjunction with it, either. > The universal build from Py

Re: OS X and Python - wxPython has forced a rehash of my approach

2006-09-05 Thread Kevin Walzer
hanges in for the 2.5 release. No further work is being done on 2.4.3 as far as I know. -- Kevin Walzer Poetic Code http://www.kevin-walzer.com -- http://mail.python.org/mailman/listinfo/python-list

Re: OS X and Python - wxPython has forced a rehash of my approach

2006-09-05 Thread Kevin Walzer
hiaips wrote: > > Outdated??? It's Python 2.4.3 (and they already have a build for > 2.5rc1), so I'm not sure what you mean. > Also, for what it's worth, I strongly recommend the packages hosted at pythonmac.org; these are built and tested by the core MacPython de

How to build extensions on Windows?

2006-09-07 Thread Kevin D.Smith
e no authoritative, up-to-date description on how to make this work. -- Kevin D. Smith -- http://mail.python.org/mailman/listinfo/python-list

Re: How to build extensions on Windows?

2006-09-07 Thread Kevin D.Smith
On 2006-09-07 09:28:42 -0400, [EMAIL PROTECTED] (Lawrence Oluyede) said: > Kevin D. Smith <[EMAIL PROTECTED]> wrote: >> Then there is Mike Fletcher's web page >> (http://www.vrplumber.com/programming/mstoolkit/) that describes in >> detail how to build exte

Re: How to build extensions on Windows?

2006-09-13 Thread Kevin D.Smith
define init function (initsasSQL) Why would it work from one directory, but not another? -- Kevin D. Smith -- http://mail.python.org/mailman/listinfo/python-list

Question about pipes/os.popen

2006-09-15 Thread Kevin Walzer
w does one read unbuffered output over a pipe before the pipe is closed in Python? Because I want the output to be updated in real time, writing to a temporary file and then reading that data isn't feasible. I'm not sure what I'm doing wrong here. -- Kevin Walzer Poetic Code http://

Re: Question about pipes/os.popen

2006-09-15 Thread Kevin Walzer
i en1', 'r') for line in file: print line --- I left out the "r" flag. D'oh. I've gotten a bit lost among the various ways of invoking external commands in Python (spawn, popen, system, subprocess). I'm glad os.popen still works. -- Kevin Walzer Poetic Code http://www.kevin-walzer.com -- http://mail.python.org/mailman/listinfo/python-list

Several entries on Tile and TableList at the Tkinter wiki

2006-11-26 Thread Kevin Walzer
inter.unpythonic.net/wiki/PyLocate Hope these prove useful to others, as starting points for your own work if nothing else. Corrections and improvements are of course invited; it's a wiki! -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

test

2006-12-08 Thread Kevin Walzer
please disregard -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Bug in pybwidgets, or my code?

2006-12-08 Thread Kevin Walzer
, text=text*3) left.bind_text("", (lambda event: printstuff())) right = Tkinter.Text(m) m.add(right) right=right def printstuff(): global right right.insert("end", "pressed\n") root.mainloop() -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Error: unbound method in Tkinter class

2006-12-09 Thread Kevin Walzer
re And here is the error message that comes when I try to call authorizeDump(): Traceback (most recent call last): File "/Users/kevin/Programming/packetstream/packetstream-classes.py", line 257, in app = packetstreamApp() File "/Users/kevin/Programming/packetstream/packets

No output from popen in Tkinter text widget

2006-12-11 Thread Kevin Walzer
y code is below: def runDump(self): self.password.destroy() self.passtext = self.passtext.get() file = os.popen('echo %s | sudo -S /usr/sbin/tcpdump -v -i en1' % self.passtext, 'r') for line in file: self.t.insert(END, line)

Re: Tkinter button doesn't appear in OS X

2006-12-12 Thread Kevin Walzer
crystalattice wrote: > Kevin Walzer wrote: >> What version of Tk are you running? I've seen this bug on old versions >> of Tk (i.e. 8.4.7) but not recently. >> >> -- >> Kevin Walzer >> Code by Kevin >> http://www.codebykevin.com > > I'

RE: wxPython, dynamically modify window

2006-12-12 Thread Bell, Kevin
I think that you'll just need to change the frame size property when you hit your checkbox... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Sent: Tuesday, December 12, 2006 12:02 AM To: python-list@python.org Subject: wxPython, dynamically modify

Re: how can i write a hello world in chinese with python

2006-12-13 Thread Kevin Walzer
the screen? > EasyDialogs is an *ancient* module on OS X--it may not support unicode. Try posting to the MacPython list, someone there can verify this. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

open a directory in widows

2006-12-14 Thread Bell, Kevin
If I want "C:\temp" to pop open on screen, how do I do it? -- http://mail.python.org/mailman/listinfo/python-list

Writing and reading variables to/from flat file

2006-12-14 Thread Kevin Walzer
e itself ("Basic") is not being initialized properly. I'm not sure what I'm doing wrong here--can anyone point me in the right direction? Thanks. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Tkdnd--does anyone use it?

2006-12-18 Thread Kevin Walzer
want to use it outside of the canvas widget; I've also found very few examples of its actual use (as opposed to sample code snippets). I'm curious if anyone is actually using it in a production application and, if so, what your experience with it is. -- Kevin Walzer Cod

Tkinter, StringVar and dict

2006-12-20 Thread Kevin Walzer
quot;-en0") # initialize This raises an error in Tkinter: Exception in Tkinter callback Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__ return self.func(*args) File "/U

Retrieve Tkinter listbox item by string, not by index

2006-12-22 Thread Kevin Walzer
ch methods like this: if "Courier" in self.fontlist: print "list contains", value else: print value, "not found" returns an error: TypeError: cannot concatenate 'str' and 'int' objects So I'm stuck. Can s

Re: Tkinter, StringVar and dict

2006-12-22 Thread Kevin Walzer
James Stroud wrote: > Kevin Walzer wrote: >> I'm trying to manage user preferences in a Tkinter application by >> initializing some values that can then be configured from a GUI. The >> values are set up as a dict, like so: >> >> self.pref

Hooking any/all 'calls'

2006-12-27 Thread Kevin Little
In Python 2.4 or 2.5, what is the easiest way to hook any and all callables such that designated code is executed at the very start and end of each call? (Yes, I'm trying to come up with a little debugging tool!:) Is there a single metaclass who's "__call__" method can be wrapped to do this? TIA,

Re: Hooking any/all 'calls'

2006-12-28 Thread Kevin Little
Thanks, Robert! That was exactly what I was looking for. -k "fumanchu" <[EMAIL PROTECTED]> wrote: >Kevin Little wrote: >> In Python 2.4 or 2.5, what is the easiest way to hook any and all >> callables such that designated code is executed at the very start and

ANNOUNCE: OSCON 2006 (Python 14 Conference) Proposals due Feb. 13th

2006-02-02 Thread Kevin Altis
OSCON 2006: Opening Innovation http://conferences.oreillynet.com/os2006/ Save the date for the 8th annual O'Reilly Open Source Convention, happening July 24-28, 2006 at the Oregon Convention Center in beautiful Portland, Oregon. Call For Participation -- Submit a proposal-f

Most prominent Tkinter applications?

2006-02-05 Thread Kevin Walzer
, so that's one example. Can anyone direct me to others? -- 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

Martin Franklin's Tkinter/Tile wrapper--where'd it go?

2006-02-10 Thread Kevin Walzer
else has written a Tile wrapper? -- Kevin Walzer iReveal: File Search Tool http://www.wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Yet another GUI toolkit question...

2006-02-10 Thread Kevin Walzer
un on OS X and Windows, and will be commercial, so this combination of requirements rules out PyGTK/PyQt/just about every other cross-platform GUI toolkit. Advice, especially from those Tkinter devs who look beyond the core widget set for their apps, is appreciated! -- Kevin Walzer iReveal: F

Re: Yet another GUI toolkit question...

2006-02-10 Thread Kevin Walzer
Dan Sommers wrote: > On Fri, 10 Feb 2006 19:16:36 -0500, > Kevin Walzer <[EMAIL PROTECTED]> wrote: > >> For what it's worth, my application has to run on OS X and Windows, >> and will be commercial, so this combination of requirements rules out >> PyGTK/PyQt

Re: Yet another GUI toolkit question...

2006-02-11 Thread Kevin Walzer
[EMAIL PROTECTED] wrote: > What's wrong with wxPython? (http://www.wxpython.org) > Didn't see it mentioned here. > > > David Berlin > http://farpy.holev.com - Python GUI Editor > I did mention it...see "scaling the wxPython mountain." -- Ke

Re: Yet another GUI toolkit question...

2006-02-11 Thread Kevin Walzer
Florian Nykrin wrote: > Hi Kevin! > > I have no experience with Tkinter, but I did some small GUIs with > wxPython and PyGTK. > > wxPython works very well on Windows, but on Linux (Ubuntu/Debian in my > case) it is very difficult to work with and buggy. > PyGTK-Applic

Re: Martin Franklin's Tkinter/Tile wrapper--where'd it go?

2006-02-11 Thread Kevin Walzer
Kevin Walzer wrote: > I believe Martin Franklin wrote a Tile.py wrapper for the Tk/Tile > extension, which adds theming to the core Tk widget set. It used to > reside here: > > http://mfranklin.is-a-geek.org/docs/Tile/index.html > > That server seems to be down. Anyone k

Re: Yet another GUI toolkit question...

2006-02-11 Thread Kevin Walzer
ant Python libraries/wrappers that have already been written, which are mostly lacking (or which would require me to roll my own) in Tcl. -- Kevin Walzer iReveal: File Search Tool http://www.wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Yet another GUI toolkit question...

2006-02-11 Thread Kevin Walzer
and one commercial application making use of Tile. The Tkinter wrapper is here: http://mfranklin.is-a-geek.org/docs/Tile/index.html The server is down at the moment but is supposed to be back online shortly. -- Kevin Walzer iReveal: File Search Tool http://www.wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Yet another GUI toolkit question...

2006-02-11 Thread Kevin Walzer
Peter Decker wrote: > On 2/10/06, Kevin Walzer <[EMAIL PROTECTED]> wrote: > >> I'm undertaking my first semi-substantial Python GUI application after a >> long time dabbling with the language. >> > ... >> So: my question is, would it be more productiv

Single-file executables

2006-02-11 Thread Kevin Walzer
f files besides the main program. I'm looking for a solution that stuffs all libraries, scripts, and the Python runtime into one file. -- Kevin Walzer iReveal: File Search Tool http://www.wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: PyGUI 1.6

2006-02-12 Thread Kevin Walzer
bution or on > the web site for full details. > Does anyone actually use this toolkit? How does it compare to wxPython, for instance? -- Kevin Walzer iReveal: File Search Tool http://www.wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

ANNOUNCE: Proposals due today, Feb. 13th, for OSCON 2006 (Python 14)

2006-02-13 Thread Kevin Altis
Save the date for the 8th annual O'Reilly Open Source Convention, happening July 24-28, 2006 at the Oregon Convention Center in beautiful Portland, Oregon. Call For Participation -- Submit a proposal-fill out the form at: http://conferences.oreillynet.com/cs/os2006/create/e

Re: Single-file executables

2006-02-13 Thread Kevin Walzer
Larry Bates wrote: > Kevin Walzer wrote: >> Which of the Windows/Unix package builders for Python applications is >> capable of creating single-file executables? I'm thinking of: >> >> 1. py2exe >> 2. Mcmillan Installer/PyInstaller >> 3. cxfreeze >&

Re: Jedit

2006-02-13 Thread Kevin Walzer
ziggy wrote: > Just wondering if there is something out there like Jedit, but written > in python ( not just supporting, but actually written in it.. ) > > Nothing large like Stanzi's or Boa.. Just something quick and simple, > with code completion, and a debugger.. IDLE -- http://mail.python.

[ANN] python-openid 1.0.4

2006-02-14 Thread Kevin Turner
m/resources/downloads/python-openid/python-openid-1.0.4.tar.gz http://www.openidenabled.com/resources/downloads/python-openid/python-openid-1.0.4.zip sha1sums: 1d7548ece4a92d70fe5f8b8abbfbafd30ea57c4b python-openid-1.0.4.tar.gz 423fde12c5030553798381ffa7f8ecda340533da python-openid-1.0

Re: Mac OS X Installation Problem

2006-02-17 Thread Kevin Walzer
way to fix this is to reinstall the OS. -- Kevin Walzer iReveal: File Search Tool http://www.wordtech-software.com -- http://mail.python.org/mailman/listinfo/python-list

formatted string like---> u'720 S'

2006-02-23 Thread Bell, Kevin
I'm building a dictionary from values a database and upon print the dictionary I see key value pairs like this: u'Briarcliff' : [u'2500 E'], u'Shumway' : [ u'2600 E'] do I need to slice off the "u", or anything? I know it has something to do with unicode but I don't know how to treat it. -- htt

Re: Questions on using Qt or wxWindows with Python and OS X

2005-05-31 Thread Kevin Walzer
es. I've had a hard time finding good | docs for wxWindows or wxPython, and the bit of documentation | on Scintilla I've found and read seems to indicate that it has some | restrictions, such as needing to use the same line height for all lines | regardless of content. | | Many thanks for a

Non-blocking subprocess call

2007-06-02 Thread Kevin Walzer
omparable call in the new subprocess module? I can't find any reference in the Python docs to non-blocking streams. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Non-blocking subprocess call

2007-06-02 Thread Kevin Walzer
re was removed from the language? It seems pretty essential to me. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter custom drawing

2007-06-07 Thread Kevin Walzer
Xavier Bérard wrote: > > Now, the problem, is that I have already plenty of widgets on my > screen. I just want to draw over them, which is a bit difficult in my > comprehension of things. > What are you trying to achieve by "drawing over" widgets? -- Kevin

Re: Build EXE on Mac OsX 10.4

2007-06-13 Thread Kevin Walzer
Mac Apps on Mac, Windows EXE's on Windows, and Linux > ELF's on Linux. You can't build a windows.exe from Mac, just as you > can't build a mac.app from Windows. > Also, use py2app--that's the standard on the Mac. I don't believe pyinstaller works on OS X. -

Re: OS X install confusion

2007-06-14 Thread Kevin Walzer
d in /usr/bin. Your installation is probably in /usr/local/bin. Edit your profile or use the full path. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

RE: newbie question: parsing street name from address

2007-06-21 Thread Bell, Kevin
Look at the string.split() built-in, then you could use s.isalpha & s.isdigit to test each word... regular expressions would be the way to go, but that's a bit to chew on if you're getting started with string methods. You'll need to look at list indexing as well. Kev SLC DOT GIS -Original M

Re: Building a Python app with Mozilla

2007-06-30 Thread Kevin Walzer
application like Komodo, get a book on developing with the Mozilla framework (XUL, XPCOM, and all that) and look at that. Python has little to do with that. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Problem with PEXPECT in Python

2007-06-30 Thread Kevin Erickson
% 10KB 10.0KB/s 00:01 file2 100% 946 0.9KB/s 00:00 file3 100% 1655 1.6KB/s 00:00 Traceback (most recent call last): File "mygui.py", line 6, in ? f = Form1() File "/home/Kevin/form1.py", li

Re: Problem with PEXPECT in Python

2007-06-30 Thread Kevin Erickson
On Jun 30, 5:50 pm, Kevin Erickson <[EMAIL PROTECTED]> wrote: > Hello, > > I am attempting to use pexpect in python to copy files from a server > using scp; the copy works however exceptions are thrown and it exits > unsuccessfully. Below is the a sample code and the e

Choosing Tkinter over wxPython...

2007-07-09 Thread Kevin Walzer
the other toolkits) explain why it works for them? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

wxPython vs. Tkinter event loops

2007-07-11 Thread Kevin Walzer
s the wx.UpdateUIEvent() class analogous to Tkinter.update(), or are threads absoutely essential to keeping a wx GUI updated with a long-running background process? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Tkinter Primer/Tutorial?

2007-07-15 Thread Kevin Walzer
good resources: http://www.pythonware.com/library/tkinter/introduction/index.htm http://www.python.org/doc/life-preserver/ http://www.ferg.org/thinking_in_tkinter/index.html http://infohost.nmt.edu/tcc/help/lang/python/tkinter.html -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://m

Re: Future Python Gui?

2007-04-18 Thread Kevin Walzer
for Windows that python.org provides doesn't ship with Tile. You'll also have to install the Tile wrapper at the site I referenced earlier in your site-packages directory. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Future Python Gui?

2007-04-18 Thread Kevin Walzer
l 3 is very impressive, it's overkill for the simple display of HTML--and the API for constructing a simpler widget seems to be very complex. As well, because it's still alpha, no one has wrapped it for Tkinter as of yet. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Do other Python GUI toolkits require this?

2007-04-18 Thread Kevin Walzer
y allocation of this sort. Does wxPython, PyQt, PyGtk require anything like this when creating objects? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Do other Python GUI toolkits require this?

2007-04-18 Thread Kevin Walzer
p telling myself I should drink the Mac-only Kool-aid of PyObjC. But Tk is burned into my brain, and anything else looks and feels weird to me. Tk is so flexible that it's fairly easy to tweak it to look Mac-like, and it's simpler to do that than learn a new tookit. -- Kevin W

Re: Future Python Gui?

2007-04-18 Thread Kevin Walzer
tk/11075>. > > It seems that Tile does include a "notebook" widget but it's pure Tcl > code and so isn't available via the Python wrapper. > > -- Brian > That's not correct. When the Tkinter wiki is back up, see the page I referred to. -- Kevin Wal

Re: Future Python Gui?

2007-04-18 Thread Kevin Walzer
uot; if you > just "import Tkinter"). > > The frustrating part is that the main reason I wanted this is because > it says it wraps a "Notebook" widget. If it does, I can't find it! > > > -- Brian > The wrapper I maintain works differently, and includes the notebook widget. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Future Python Gui?

2007-04-18 Thread Kevin Walzer
Since the Tkinter wiki is still down, here is the Tile wrapper I maintain: ### November 2006: Posted by Kevin Walzer, [EMAIL PROTECTED] Based on Tile wrapper by Martin Franklin. This version updates the wrapper to reflect changes in Tile commands, and adds support for Tile-based

Re: Future Python Gui?

2007-04-18 Thread Kevin Walzer
This should be saved as "Tile.py." Sorry. ### November 2006: Posted by Kevin Walzer, [EMAIL PROTECTED] Based on Tile wrapper by Martin Franklin. This version updates the wrapper to reflect changes in Tile commands, and adds support for Tile-based frames (ttk::frame). Freel

Re: Future Python Gui?

2007-04-19 Thread Kevin Walzer
.Frame(root) frame.pack(fill=BOTH, expand=TRUE) button = Tile.Button(frame, text="Print", command=printme) button.pack() root.mainloop() HTH, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Future Python Gui?

2007-04-19 Thread Kevin Walzer
hing from Tkinter is in Tile (text widget, menus, etc). -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: How To Find Currently Selected Tile.Notebook Tab?

2007-04-19 Thread Kevin Walzer
t; > Any ideas? > > -- Brian > How about mynotebook.index.current() ? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: using tkinter to display html

2007-04-20 Thread Kevin Walzer
> Stephen PySol has an HTML viewer. Here's a link to some discusison about it: http://mail.python.org/pipermail/tkinter-discuss/2006-January/000614.html PySol is GPL, so if your application is also GPL, then it might be an option. -- Kevin Walzer Code by Kevin http://www.codebykevin.c

Re: using tkinter to display html

2007-04-21 Thread Kevin Walzer
st anymore. so unsure of the future on that. > >> .. [1] http://www.hwaci.com/sw/tkhtml/ .. [2] > > didn't find these bindings though, so thanks, i'll have a play. > > stephen. > >> http://tix.sourceforge.net/Tixapps/src/Python/TkHtml.py >> TkHTML: htt

Re: Do other Python GUI toolkits require this?

2007-04-21 Thread Kevin Walzer
Kevin Walzer wrote: > From the introduction to PyObjC, the Python-Objective-C bridge on Mac > OS X: > > "As described in Objective-C for PyObjC users the creation of > Objective-C objects is a two-stage process. To initialize objects, first > call a class method

Tkinter wiki down?

2007-04-21 Thread Kevin Walzer
ntly; I've taken a few hours to clean up lots of pages. My own concern is that I had posted some resources there on the assumption that it would be reasonably stable/permanent home for them; if that's not the case, I will being looking into other resources. -- Kevin Walze

Re: How To Find Currently Selected Tile.Notebook Tab?

2007-04-21 Thread Kevin Walzer
om Tcl. >> How about >> >> mynotebook.index.current() > > No good: AttributeError: 'function' object has no attribute 'current' > > I tried "mynotebook.index().current()", too, but get a different > error. > > -- Brian > N

Re: Do other Python GUI toolkits require this?

2007-04-23 Thread Kevin Walzer
asy enough--buttons, menus, labels, images--but doing anything sophisticated, such as trees, column views, drag-and-drop, and so on, requires extensions that may or may not be implemented in Python. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning Python - First Project

2007-04-23 Thread Kevin Haynes
id=1177369390&sr=8-1 Kevin On Monday 23 April 2007, 7stud wrote: > Uhhmm...how are you supposed to close a ShapedWindow(under > Miscellaneous)? -- http://mail.python.org/mailman/listinfo/python-list

Re: Launching an independent Python program in a cross-platform way (including mac)

2007-04-30 Thread Kevin Walzer
AppleScript would be: tell app "Terminal" to activate If you want to Terminal to run a command-line program from AppleScript, you can do this with the "do script" command. Code to do this could look something like this: myscript = "python -e foo.py" os.system('osascript -e '\tell app \"Terminal"\ to do script %s\'', myscript) I haven't tested this, but you get the basic idea--define the script and command-line paramaters in a string, then pass that to AppleScript/osascript as a variable. This code should launch Terminal, then run the external Python script. HTH, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft's Dynamic Languages Runtime (DLR)

2007-05-02 Thread Kevin Haynes
Isn't python cross platform? On Thursday 3 May 2007, Kaz Kylheku wrote: > On May 2, 11:22 am, sturlamolden <[EMAIL PROTECTED]> wrote: > > On Monday Microsoft announced a new runtime for dynamic languages, > > Kindly refrain from creating any more off-topic, cross-posted threads. > Thanks. -- htt

Re: Tcl-tk 8.5?

2007-05-04 Thread Kevin Walzer
lped me with some Tk issues). What is so bad about Tkinter? What should replace it in the core library? -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Licence for webchecker module?

2007-05-12 Thread Kevin Walzer
I want to use webchecker.py (distributed in Tools/webchecker of the Python source code tarball) in a project, but there is no license listed in any of the scripts that I can see. Is this code covered by the standard Python license? -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: Distributing programs depending on third party modules.

2007-05-15 Thread Kevin Walzer
ozen binaries," including the freeze module that ships with Python itself, cx_freeze, and PyInstaller: these three may work on Linux/Unix as well as Windows (they are not supported on the Mac). But the methods above are generally the ones most widely used. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Distributing programs depending on third party modules.

2007-05-15 Thread Kevin Walzer
it will download and build/install not just the PyQt bits, but also Qt itself, sip, and all the other foundational components? If easy_install handles all that, I'm impressed. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: tkFileDialog.askopenfilename()

2007-05-15 Thread Kevin Walzer
rting directory. > Thanks > Rahul > Use the "initialdir" flag: filename = askopenfilename(title="Open File", initialdir=(os.path.expanduser('~/')) HTH, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Distributing programs depending on third party modules.

2007-05-16 Thread Kevin Walzer
Bruno Desthuilliers wrote: > Kevin Walzer a écrit : > > Note that if you go that way, neither Windows nor MacOS X are actually > able to cleanly manage such dependencies (which is why the usual > solution on these platforms - or at least on Windows - is to just bundle > ever

Re: Distributing programs depending on third party modules.

2007-05-16 Thread Kevin Walzer
Tina I wrote: > Kevin Walzer wrote: > And maybe the smartest thing to do would be to dump PyQt and just go for > tkinter, however ugly it is :/ Tkinter doesn't have to be ugly. I sell a proprietary Tkinter app commercially on OS X: http://www.codebykevin.com/phynchronicity-r

Re: A few questions

2007-05-21 Thread Kevin Walzer
able solution, and will probably give you more out of the box than Tkinter. My main reason for using Tk is that I already know it well. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and GUI

2007-05-21 Thread Kevin Walzer
nstall. 4. PyGTK is popular on*Nix and works OK on Windows. But it doesn't run natively on the Mac. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: A few questions

2007-05-21 Thread Kevin Walzer
e and the other users don't need > to load anything in order to run the app? Google for "py2app." It's the standard tool for distributing standalone Python apps on OS X. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Tix and OS X

2007-05-26 Thread Kevin Walzer
ance. > > This is an Intel Mac, btw. > > -jjr > You have to have the Tcl Tix package installed--the Python module just wraps it. -- Kevin Walzer Code by Kevin http://www.codebykevin.com -- http://mail.python.org/mailman/listinfo/python-list

google maps api for py?

2007-05-30 Thread Bell, Kevin
I see that the weapon of choice for google maps is javascript... Is there anything for python? Kev -- http://mail.python.org/mailman/listinfo/python-list

Re: Tix not properly installed on OS X?

2007-07-24 Thread Kevin Walzer
y outdated, by Tcl developers, so many distributions do not include it. It is not shipped with ActiveState on the Mac, nor does Apple include Tix in the Tcl/Tk libraries bundled with OS X. From my perspective there are far better, more modern alternatives, such as BWidgets, TkTreeCtrl, Tablelist, and Til

Re: Tix not properly installed on OS X?

2007-07-24 Thread Kevin Walzer
build that, or is it enough to have the headers from the source of tcl? > I just don't want to break something that is already there. > > You need the source for both Tcl and Tk, and Tix should be in the same directory tree. --Kevin -- http://mail.python.org/mailman/listinfo/python-list

Re: Tix.Tk() on Mac Intel

2007-07-26 Thread Kevin Walzer
rror: can't find package Tix > > The only way I got Tix.Tk() working so far was using Fink but I want > the nice aqua visual for python. Is there any way of getting it > working? > > I would appreciate any help here. > Many thanks in advance. > Cheers, > Alan You&

<    1   2   3   4   5   6   7   8   >