r wrote:
Anybody know how to find all the available Tkinter cursor icon names,
or where the icons are stored? like "paintbrush" "pencil" etc...
http://www.tcl.tk/man/tcl8.4/TkCmd/cursors.htm
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.
r wrote:
Thanks Kevin,
These are exactly the ones i already knew about. I was hoping there
where more, shucks!. I wonder how i could go about making my own
cursors and adding them to Tkinter? Have any ideas?
http://wiki.tcl.tk/8674 might offer some help in this regard.
--
Kevin Walzer
Code
on environments?
Thanks!
I use IDLE + Terminal myself. IDLE has improved a lot on the Mac in
recent years.
Another good tool is Aquamacs, a Mac-optimized version of Emacs:
http://aquamacs.org
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
e:
firstcat = rawcat
self.packagelist = (firstcat, newline[1], newline[2],
self.catname, newline[3].strip('\n'))
I am using the fcntl call to set the pipe to nonblocking mode, and am
trying to time.sleep to give the buffer time to get some data. How
tinfo/pythonmac-sig
It is a pretty good resource, better than the Python wiki, more up to date.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 6, 4:48 pm, [EMAIL PROTECTED] wrote:
> I'm having trouble with tkinter on a new installation of Python (2.6),
> built with the framework option from source that was downloaded from
> python.org. I'm running OS 10.4 on a PowerPC G4.
>
> The problem first arose when I tried to run matplotlib -
k, if the product is
PyQt) and use the open-source version.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
not update the system version of Python
installed on the Mac--that's maintained by Apple and should not be
touched. Instead, the installer will put in a new version alongside the
Apple version.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mai
.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Edward Grefenstette wrote:
I thought of this. I uninstalled Tk from macports, but the same error
crops up. Evidently, Tk 8.5 remains installed somewhere else, but I
don't know where. How can I find out?
Best,
Edward
Look in /Library/Frameworks...
Kevin Walzer
Code by Kevin
Edward Grefenstette wrote:
Whereas Tk 8.5 is installed in:
===
/Library/Frameworks/Tk.framework/Versions/8.5/
===
Delete this one if you want to ensure that Python sees 8.4.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
rameworks/Python64.framework/Versions/2.6/lib/python2.6/lib-tk/Tkinter.py",
line 1722, in __getattr__
return getattr(self.tk, attr)
AttributeError: instance_dict
IDLE just hangs and won't save/update my preferences.
Any ideas?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Kevin Walzer wrote:
I'm using IDLE on Mac OS X 10.5.7 (Python 2.6.2) and I'm getting a
strange error when I try to save preferences from the configuration dialog:
Exception in Tkinter callback
Traceback (most recent call last):
File
"/Library/Frameworks/Python64.framework/V
gsal wrote:
There does not seem to be a valid url for the Installer, anywhere.
Could anyone provide me with a copy of it?
many thanks.
http://pyinstaller.python-hosting.com/
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
e. The more important one is the former, because I
can't even afford to pay for originals right now. But maybe I will
soon, so it would be nice to have a resource.
Thanks in advance,
Joshua
http://tango.freedesktop.org/Tango_Desktop_Project
http://www.oxygen-icons.org/
http://ev
x27;s the way to go.
If you want a later version of Python, you can download one from
python.org, but I am not sure how that integrates wtih Xcode.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Tcl/Tk packages, but they can probably be called easily enough from
Python.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
the small "Console" window that pops up behind
my Tkinter app.
That's not something that py2app can solve.
Add this call to your Python script somewhere (modify as needed):
try:
self.tk.call('console', 'hide')
except TclError:
ually tried "it" (py2app), since I realized that I
already had bundlebuilder, but I'm assuming it's the same in this respect.
Bundlebuilder is pretty much obsolete--py2app is much better, cleaner.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.py
erstandable, but this is your chance to learn something
new.
Thanks for any advice or comments.
DU.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
iently
invalid DOS exe could cause physical damage to a hard
drive... that wasn't the only thing I learned that day.
/usr/local is a good place to install stuff in a way that won't disrupt
your system. OS X/Darwin puts its system stuff in /usr/bin, /usr/lib,
and so on.
--Kevin
--
K
e" directories under a common parent,
# you can use the "libinclude" helper:
#
# TIFF_ROOT = libinclude("/opt/tiff")
FREETYPE_ROOT = None
JPEG_ROOT = None
#JPEG_ROOT = "/usr/local/bin"
How about "/usr/local/lib" ? It's looking for a dylib (l
e, and try this command:
gzcat Archive.pax.gz | pax -r
"man pax" can tell you more about the pax command, pkg bundles, and the
like.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
>>> import os
>>> foo = os.system('whoami')
kevin
>>> print foo
0
>>>
The standard output of the system command 'whoami' is my login name. Yet
the value of the 'foo' object is '0,' not 'kevin.' How can
SamG wrote:
Why dont you try commands module instead
Thank you! That was just what I needed.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
elp, or document
Any thoughts? Can you do something similar on the tk instance itself?
Try something like this (assuming self.tk._w is the name of your window):
self.tk._w.wm_attributes(fullscreen='true')
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
I develop on a Unix-like system (Darwin/MacOS), so others
understand where I'm coming from.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
my screenshot) it's
possible to do sophisticated user interfaces with it. It fits my brain
much better than wxPython, for instance. And the long effort by Tk's
developers to modernize its appearance has finally paid off, I think.
Hope that helps,
Kevin
--
Kevin Walzer
Cod
'm not sure I have time to
overhaul it extensively.
I'll follow your progress with interest!
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
time
to work on it further; frankly, I'm not sure I'd have time if a lot of
changes were requested. So if your package proves to be the best, great!
I'll switch over my own apps to it.
Good luck!
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ld be much appreciated.
Thanks,
Skip
You can probably access this functionality via PyObjC--it provides
access to the Cocoa frameworks.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
same 2.5.2 download from the
Python.org website on OSX 10.4.11 and all went fine...but shouldn't it
install on 10.3.9 as well?
Anyone have any ideas? Thanks.
-Tom
Do you have Tcl/Tk installed? It doesn't come on 10.3.9 by default.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
ht
[EMAIL PROTECTED] wrote:
Just did a new install of Tcl/tk from activestate.com and IDLE still
not working...
-Tom
Did you install Tcl/Tk 8.5? It won't work with the build of Python from
python.org (it looks for 8.4).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
rsion.
(The "wish8.4-x11" command is just a wrapper script that invokes a
completely different wish binary, linked against an entirely different
set of libraries.)
The advice to install Python and Tcl/Tk via Fink (or DarwinPorts) then
run your script against that is the right advi
f in the OS that depends on Python.
--
Kevin Walzer
iReveal: File Search Tool
http://www.wordtech-software.com
--
http://mail.python.org/mailman/listinfo/python-list
y by a frame and that is
> already shown.
>
> wxMSW: Fixed wx.Choice/wx.ComboBox so they send events when a new item
> is selected only with the keyboard.
>
>
>
Is the new build of wxPython-Mac a universal binary?
--
Kevin Walzer
iReveal: File Search Tool
http://www.wordtech-
cally means you'll be running it under X11. (WingIDE's Mac version
runs on PyGTK, and it doesn't feel native at all.)
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
re is also a Python package that allows you to interface with an
application's AppleScript dictionary via Python itself, without the
intermediate step of using the osascript command-line tool:
http://appscript.sourceforge.net/
You might find that of interest.
--Kevin
--
Kevin Walzer
Cod
defined. My
question is, how can I get the values from the class (self.searchterm,
et.al) inside the runCommand function?
Thanks,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
UI
'systems' that provide 'better' facilities to a Python programmer).
Another book I've found very helpful for learning Tkinter is Programming
Python by Mark Lutz--a lot of coverage there of GUI development.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
patch, run "patch < patchfile," with patchfile being the
patch. The command-line tool will prompt you for the name of the file to
patch.
I'm the author of those patches--hope you find them useful!
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.
rk is underway to support Python 3.x. Eventually I plan to
migrate to Python 3.x.
I don't want to be stuck using libraries that may not be updated for the
next generation of Python. How are others handling this issue?
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.c
perceived demand.
This is part of my reason for not yet moving to Python 3--several
libraries that I will need do not currently support Python 3.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
. wxPython
5 . TKinter
Also i need to know is there any IDE for developing these
things . . .
http://lmgtfy.com/?q=gui+toolkit+for+python
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 11/17/09 4:25 PM, Tim Daneliuk wrote:
+1 Tkinter for the simple stuff
You can actually use Tkinter to do quite sophisticated GUI's that rival
anything found in Qt or wx...
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 11/18/09 4:15 PM, Simon Hibbs wrote:
On 17 Nov, 23:25, Kevin Walzer wrote:
On 11/17/09 4:25 PM, Tim Daneliuk wrote:
+1 Tkinter for the simple stuff
You can actually use Tkinter to do quite sophisticated GUI's that rival
anything found in Qt or wx...
Neither Tkinteror Wx have any
g can
be problematic in some cases. But, as others have discussed, give the
different toolkits a try and make your own choice.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ues?
~K
I haven't read "Effective Java," but I have found Lutz's "Programming
Python" to be a very useful guide to solving various programming issues
with the language. It's a big, big book, so there's lots to look at.
--
Kevin Walzer
Code by Kevin
http://www
on on OS Xwith configure, make
etc.-- but you could try asking on the MacPython list.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
I am using for apps under development
haven't been ported to support 3.x yet (feedparser, pycrypto).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
development is technically infeasible.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 12/30/10 10:24 AM, rantingrick wrote:
On Dec 30, 8:59 am, Kevin Walzer wrote:
On 12/29/10 6:58 PM, rantingrick wrote:
Any GUI framework is going to require at least some heavy lifting in C,
C++ or Objective-C (depending on the platform). A pure-Python approach
to GUI development is
.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
So I thought. Then I came across a framework (Cappucinno.org) and a Visual
Designer (280Atlas.com) written entirely in JavaScript (well, Objective-J which
gets compiled to JavaScript). Check out 280Slides.com or
http://githubissues.heroku.com
27;s a wrapper over other wrappers.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 12/30/10 12:36 PM, rantingrick wrote:
On Dec 30, 9:51 am, Kevin Walzer wrote:
Tcl is not a domain-specific language for creating GUI's. Tcl is a
full-featured, general-purpose programming language that is a peer to
Python in its capabilities,
Anybody can gloat and gush about
/
http://www.ellogon.org/
http://moodss.sourceforge.net/
http://www.projectforum.com/
http://www.eggheads.org/
http://brlcad.org/
http://www.muonics.com/
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
l, BSD-style, and it is quite similar to Python's. wxWidget's
library is basically LGPL with a couple of exceptions to make it
friendlier to proprietary software. Could code under such a license be
gracefully included in the stlib?
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebyke
On 1/16/11 1:27 PM, rantingrick wrote:
On Jan 16, 11:39 am, Kevin Walzer wrote:
First of all welcome back to the discussion Kevin. You and i both
appreciate and use Tkinter extensively and your input is most welcome
here. You are a smart and level headed fella which makes for good
discussion
roup and start a
grassroots movement for better mac support. Barking about a few small
"annoyances" with an OS that has a "last ranked" standing is a bit
bombastic to say the least. Yes?
I have commit rights to the Tk core, so it's much easier for me to
submit bug fixes an
tree.heading("#0", text="Directory Structure", anchor='w')
tree.heading("size", text="File Size", anchor='w')
tree.column("size", stretch=0, width=100)
populate_roots(tree)
tree.bind('<>', update_tree)
tree.bind('', change_dir)
# Arrange the tree and its scrollbars in the toplevel
tree.grid(column=0, row=0, sticky='nswe')
vsb.grid(column=1, row=0, sticky='ns')
hsb.grid(column=0, row=1, sticky='ew')
root.grid_columnconfigure(0, weight=1)
root.grid_rowconfigure(0, weight=1)
root.mainloop()
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
handicap Tk in your comparison.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
e ttk::treeview widget can also function as a multi-column listbox,
and can include both tree and multi-column listbox features in a single
window. It's a very flexible widget.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
t can't compare with the same program made using WxPython.
And it can't be made to be more accessible than it is, because it uses Tk.
So Tkinter is really bad.
If accessibility leads your criteria, then yes, Tk may be deficient. I
can't speak to this on other platforms or with oth
and Tkinter than Bryan Oakley.
Also, it's not helpful for you to respond to people who disagree with
you with this kind of name-calling. It certainly does not earn any
respect for your arguments.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
-forth, I am simply not persuaded, especially
since the proposal being offered is not to replace Tkinter with wxPython
in the stdlib, but to instead replace Tkinter with a yet-to-be-designed
wxTkinter amalgamation (a Tkinter body on a wxPython chassis).
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 1/28/11 9:18 AM, rantingrick wrote:
Everyone on this list knows that Kevin and myself are the *only*
people who know how to wield Tkinter past some simple utility GUI's.
I strongly disagree with this statement.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
egin cutting some
code, and then invite feedback from other users and/or developers. I
think that approach has a much better chance of getting off the ground
and making progress than long threads on c.l.py.
Good luck!
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http:/
ng my own itch.) Beyond that, though, hacking on IDLE
isn't a project I have time for.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
this:
1. If you're outputting data from the text widget, write that to a
temporary text file and print via lpr.
2. If you're outputting data from the canvas, write that to a temporary
postscript file and print via lpr.
This is on Unix/MacOS. Not sure what the equivalent API on Windows
platforms? It sounds like an impossible goal to me.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
interface
with it more directly than it can with other toolkits (PyGui -> PyGtk ->
Gtk -> Xlib), it's not clear to me what is gained by starting from
scratch here. (Is it the presence of the Tcl interpreter? I know Tcl is
not to everyone's taste, but it is an amazing lan
o maintain. In fact, Perl-Tk has never been updated to run
natively on the Mac because of this. There are other Perl/Tk bindings
that do integrate the Tcl interpreter, and it makes it much easier for
the Perl/Tk bindings to evolve as Tk itself evolves.
--
Kevin Walzer
Code by
://installbuilder.bitrock.com/
http://www.gidhome.com/
http://www.ellogon.org/
etc.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 6/8/10 7:16 PM, Kevin Walzer wrote:
On 6/8/10 6:09 PM, Lie Ryan wrote:
Much like regex a DSL for matching text, Tcl/Tk is pretty much a DSL for
creating GUI (anyone knows any real program fully written in
non-embedded Tcl?).
http://www.amsn-project.net/
http://snackamp.sourceforge.net
r GUI toolkit out there.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ed to be made are to incorporate the new themed Tk
(ttk) widgets into your Tkinter application--based on Guilherme Polo's
work integrating the new widgets into the stdlib.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
has limitations, the toolkit is flexible enough
to allow me to work around those limitations.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
http://www.pymol.org/
There are others, no doubt.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
while it wasn't horrible, I certainly did not prefer it to a native
desktop app: I got sick of waiting for the app to reload because of a
slow network connection.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
t-24708.html
Here's a screenshot from one of my own Tkinter applications that makes
use of ttk widgets and also such Tk extension packages as BWidgets (the
treeview) and tablelist (the table view):
http://www.codebykevin.com/phynchronicity-running.png
--Kevin
--
Kevin Walze
There has been a lot of traffic on the MacPython list about this--see
the list archives.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
On 7/5/10 2:56 AM, John Nagle wrote:
* PyCrypto
* PyOpenSSL
These, and Mark Pilgrim's feedparser, need to be 3.x compatible before I
can think about Python 3.x.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
the existence of Python 3 or questioning the
need to move toward Python 3. It's here, it's the way forward, and
that's not going to change. Might as well accept it.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ly
interfaces, and the other resources I've mentioned do nothing to to
change this. The practices that Mark Roseman discusses will allow one to
eventually put together a UI that matches anything that the other big
toolkits (wxPython, PyQt, PyObjC, PyGtk, etc.) can do.
Hope this helps,
K
ndle using py2app. The average Mac user isn't going to launch a
Python-based game from the command line.
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
s in
Tkinter, help would be much appreciated.
I'm not sure there's a way to do this.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
words "Tkinter" and "good, effective GUI
design" shouldn't be in the same paragraph, please see
http://www.codebykevin.com/phynchronicity.html...
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
thers that I'm not aware of.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
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
301 - 389 of 389 matches
Mail list logo