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
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
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
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
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
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
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
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
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
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
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
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
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
Brian Blais wrote:
> So I tried to build Tix, and it complains about a tcl header file
> (tclPort.h). My Tcl stuff is in
> /System/Library/Frameworks/Tcl.framework/Versions/8.4/, but the header
> file doesn't exist. I assume I need to download the source for Tcl and
> build that, or is it en
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&
erable advantages when you can do it that way.
Given a choice between a rich desktop client and a web app, I'd choose
the desktop client in most cases. It's just much more pleasant to work
with .
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
learn wxPython because
I can get what I need from Tkinter, even the more complicated GUI layouts.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
n of wxPython did you install? I don't think any of them are
configured to work with Apple's system-installed Python--you would need
to install Python 2.5 from the Python.org website.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
, for instance,
will look ugly. It's quite possible to make an attractive Tkinter
application using modern, stylish icons that even blends in reasonably
well on a specific platform (I've done it).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Chris Mellon wrote:
> On 8/8/07, Kevin Walzer <[EMAIL PROTECTED]> wrote:
> Using Tile, of course, loses you the first major benefit of Tk - that
> it's already included in the standard library. So in this sense it's
> still "ugly old school look and feel" vs
;
in that case it's not as acceptable.
>
> Don't think I'm singling out Tk, Gtk has exactly the same problem -
> you can make the buttons look native, but it doesn't adjust the
> behavior.
Tk does a better job with platform-specific defaults and be
tiny precision, I am on Ubuntu so I am looking
> for a linux compatible editor.
>
> Cheers,
>
> Sébastien
IDLE
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
current, and has helped me learn Tkinter
programming (and I already have a background with Tk via Tcl).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
;s the best Python IDE?"). Search the list archives via Google, or
do a general Google search. Some helpful terms to get you started
include pyinstaller, py2exe, py2app, Tkinter, wxPython, PyQt, and pyGTK.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
s available. What is the consensus on that?
>
If you just want binary packages installed, it might make sense to use
2.4.4, but building new packages with 2.5 is easy: either use
easy_install or sudo python setup.py. I've had no trouble building the
stuff I need with 2.5.
--
e try both? What's your preference and why? Is one more robust than
the other?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
lled self.item.
What I'm trying to do is get the value of the variable "item" and plug
it into the image name, so that self.item actually corresponds to
self.installed, self.base, etc. Trying something like
self.categorytable.cellconfigure("end,0", image=self.%s % item)
just yields a syntax error: SyntaxError: invalid syntax
Can anyone point me in the right direction?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
#x27;Empty' error message when I first start the thread). Simply
using the Tk event loop (self.update) is also how I would have coded
this in Tcl.
So my question is this: under what circumstances in Python are threads
considered "best practice"? Am I wrong to use the Tk event loop
Kevin Walzer wrote:
> I'm trying to decide whether I need threads in my Tkinter application or
> not. My app is a front end to a command-line tool; it feeds commands to
> the command-line program, then reads its output and displays it in a
> Tkinter text widget. Some of the
nts.
Unsurprising, since self.authorizeCommand takes another function name as
an argument.
How can I structure the menu item to reflect the correct number of
arguments without it trying to execute the command?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> On Mar 30, 2:32 pm, Kevin Walzer <[EMAIL PROTECTED]> wrote:
>> I'm having difficulty structuring a Tkinter menu entry. Here is the
>> command in question:
>>
>> self.finkmenu.add_command(label='Update List of Packages',
&g
Dave Opstad wrote:
> In article <[EMAIL PROTECTED]>,
> Kevin Walzer <[EMAIL PROTECTED]> wrote:
>
>> I'm having difficulty structuring a Tkinter menu entry. Here is the
>> command in question:
>>
>> self.finkmenu.add_command(label='Upda
would
anyone mind if I got started? A lot of this stuff doesn't appear to have
been touched for three or four years.
Any thoughts about what is most pressing? I have my own interests, and
I'm not qualified to edit everything, but I'm open to suggestions.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
dates as a text file, with a note
indicating which documentation files they replace, sufficient?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
I'm confused by the number of variations on "popen" that Python offers.
I'm using os.popen in my programs without difficulty. Is this wrong?
Should I be using popen 2, popen3, etc.? I'm not clear on what the
advantages of popen2, 3 etc. are: they seem a lot more compl
ose, such as wxPython.
What's the best way to do this? Can anyone point me in the right
direction? How could, for instance, the top snippet be rewritten to
separate the Tkinter parts from the generic stuff?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Check out subprocess. It's meant to be a replacement for all of the
> above.
OK, I've done this. What is the benefit of subprocess? Improved
performance? It doesn't seem that way--in fact, os.popen has a
non-blocking mode, which subprocess seem
How long does it take for a patch at the Python SF tracker to be
reviewed and/or committed? I am unfamiliar with how the process works.
(I originally submitted a bug report, then figured out how to patch the
item in question, and subsequently submitted a patch.)
--
Kevin Walzer
Code by Kevin
mented or widely used, such
as BWidgets.
From that standpoint, the Welch book is a useful resource, though
probably not essential.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Raymond Hettinger wrote:
> [Kevin Walzer]
>> How long does it take for a patch at the Python SF tracker to be
>> reviewed and/or committed? I am unfamiliar with how the process works.
>>
>> (I originally submitted a bug report, then figured out how to patch t
o guarantee this will happen; such patching also
happens with closed-source software. But many commercial developers look
at the GPL and decide that this is a risk they do not want to take.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ourse that money is all
> about but becauce they released Qt under GPL they simply cannot
> prevent anyone from gaining money using it.
>
In this case, "commercial" == "proprietary" == "closed-source." If your
source is released in complicance with the GPL
e Mac Aqua
environment (no X11). This query focuses mainly on desktop applications
developed with one of the major cross-platform toolkits (Tkinter,
wxPython, PyQt; Gtk does not run natively on the Mac).
Please post to c.l.p. with your replies and I will add the appropriate
response to the wiki. Thanks.
e Mac; all the standard Mac
keyboard shortcuts are supported, and in general it's more stable. With
2.5, IDLE replaces the old PythonIDE that used to ship with MacPython.
Can you update to 2.5?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
7stud wrote:
> On Apr 13, 10:27Â am, Kevin Walzer <[EMAIL PROTECTED]> wrote:
>> 7stud wrote:
>>> Hi,
>>> In the IDLE, I can't get most shortcut keys that are listed next to
>>> the menu items to work. Â For instance, under the Format menu item only
&g
t;
>
Why not IDLE?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Kevin Walzer wrote:
> Hello,
>
> I am seeking to update this wiki page, which lists Mac OS X applications
> using Python in a significant way:
>
> http://wiki.python.org/moin/MacPython/MacSoftwareUsingPython
>
I have updated the page. Thanks to all for their suggestion
wiki/TileWrapper
Tile will be integrated into Tk's core when 8.5 is released. It's
supposed to enter beta testing Real Soon Now. However, I imagine that
Python/Tkinter will depend on Tk 8.4 for the foreseeable
future--certainly 8.5 won't be supported officially before a full,
sta
deployment tools such as py2app or py2exe are for--to wrap
all the bits up into a simple package that the end user just installs,
without worrying about dependencies.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
7;t supposed
to start it from the terminal unless you are running it under X11 or are
using a non-framework build. If you built it the standard Mac way, or if
you use the binary installer from python.org, Idle is installed in
/Applications/MacPython 2.5. Look there, and you should be able to drag
irst error above. Instead I have to
use Module.Class.Method notation? I've never seen this before.
Can someone point out what I am doing wrong, either in the construction
of the class, the way it's imported, or in how I'm calling methods?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
l, Tkinter does not wrap the msgcat library. Instead
I've found the gettext module in the Python standard library. Is this
the preferred package for implementing localized strings in a Tkinter
application, or am I missing something?
--
Kevin Walzer
Code by Kevin
http://www.code
separate installation of the Tile libraries, but
those can be obtained from ActiveState.
I use this wrapper myself on OS X with a commercial application I
develop, and Tile makes a big difference.
(I maintain and update this wrapper at the wiki, but am not the original
author.)
--Kevin
--
come soon...
>
>> 3.0: much more likely, 3.0 won't be out for some time.
>
> This would be my guess too...
I'd say that Tk 8.5 will be out before Python 3.0: the beta phase should
be fairly efficient on Tk.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
I'm having a problem with searching a list. Here's my code:
mylist = ['x11', 'x11-wm', 'x11-system']
for line in mylist:
if 'x11' in line:
print line
This results in the following output:
x11
x11-wm
x11-system
I'm looking to return the list item that just has 'x11'. Ho
Robert Kern wrote:
> line == 'x11'
>
D'oh! That was simple, wasn't it? *smacks head*
That did the trick. Thanks!
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
#x27;s license is BSD-style,
which means it plays nice with both proprietary and open-source software
(as does Python's license). Aren't PyGtk and wxPython LGPL? And PyQt is
either GPL or proprietary.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
o what I want. The sticky option with grid is
> easier to handle.
>
"expand = 1" == "expand=TRUE"--that means the widget resizes itself
when the window is re-sized.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Eric Brunel wrote:
> On Fri, 05 Oct 2007 14:10:57 +0200, Kevin Walzer <[EMAIL PROTECTED]>
> wrote:
>> "expand = 1" == "expand=TRUE"--that means the widget resizes itself
>> when the window is re-sized.
>
> That's the theory... But what
Hendrik van Rooyen wrote:
> "Kevin Walzer" <[EMAIL PROTECTED]> wrote:
>
>> I find "pack" to be more flexible than "grid," so I prefer it for
>> complex layouts. "grid" is better for simple layouts.
>
> *does a double take* a
Kevin Walzer wrote:
> Well, I guess it depends on your viewpoint. I find "pack" flexible
> because it allows me to think in terms of top, bottom, right, and left
> in terms of arranging UI elements--it's an elegant way to do it in my
> view. I tend to use "gri
st, or other script-level Tk exetensions (i.e. they do not
require compiliaton). Wrappers for many of these are available at the
Tkinter wiki (http://tkinter.unpythonic.net/wiki/FrontPage)
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
its own widgets and puts the menubar
on each window.
Tk does much better; while it's not very pretty, menubars are in the
correct place and buttons work correctly.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
. Maybe you mean something else?
>
>
> Alex
It's a very old version of wxPython: 2.5.3, I think. Run ls /usr/lib |
grep wx and see what you get. Do likewise for ls /Library/Python/2.3 |
grep wx.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
veral hundred dollars, but I am not
willing to pay a few hundred dollars for a commercial tool that has the
same interface glitches.
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
I'd like to experiment with Tk 8.5 (now in beta) in my Python
application, but Python 2.5 requires Tk 8.4.x. What would I need to
patch in the Python sources or build scripts to get it built against Tk
8.5?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.pytho
pp against Tk
8.5 with a stock Python installation, I get an error message saying that
Tk 8.4.x is required. It's probably tkinter.so that hard-codes the
Tcl/Tk version, not Python itself--I should have been clearer on that.
However, I still need to know what to patch...
--
Kevin Walzer
Code b
r(self, name='PY_VAR'):
"""Return value of Tcl variable NAME."""
return self.tk.getvar(name)
and so on. There's simply no other way to get at the guts of Tk without
using tk.call at some level.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
urself?
I'll try to build Python from source and link it against Tk 8.5.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
everal
different OO systems), and the size of its community--the larger number
of Python programmers out there make it much more likely that you will
find an open-source solution for your needs. Tcl's community is much
smaller, its development moves more slowly, and Tcl does not compete
le under
commercial-friendly terms (BSD-style licenses).
I make heavy use of Tile and Tablelist in my applications. Tktreectrl is
incredibly powerful, but is also quite complex, and I have not used it
myself in an application.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://
Kevin Walzer wrote:
>
> Tablelist: http://www.nemethi.de/
> Tabelist for Tkinter (with Tile support):
> http://tkinter.unpythonic.net/wiki/TableListTileWrapper
>
Additionally, here is a link to some screenshots for Tablelist:
http://www.nemethi.privat.t-online.de/tablelist/s
hg wrote:
> Kevin Walzer wrote:
>
>> Kevin Walzer wrote:
>>
>>> Tablelist: http://www.nemethi.de/
>>> Tabelist for Tkinter (with Tile support):
>>> http://tkinter.unpythonic.net/wiki/TableListTileWrapper
>>>
>> Additionally,
l.gif')
self.stop=PhotoImage(file=self.imagedir + 'stop.gif')
What I'd like to do is glob the directory and create images with the
same name as the gif file, but I can't figure out how to get that to
work. Can anyone help?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
tion is a simple example of how to use the PyObjC with
> xcode 2.0.
> http://developer.apple.com/cocoa/pyobjc.html
>
> Could you give any hint to start to dig into it?
>
The PythonMac or PyObjc lists are probably a better place to ask this
kind of question.
--
Kevin Walzer
)
>return OrigExtension(*args, **kwargs)
>
>
> Obviously this is a dirty hack, and I would like to know how to do
> this the right way. How can this be done better?
>
> --
> Arnaud
>
You may want to post this on the MacPython list--there are plenty of
experts there on building Python mudles for OS X.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
al of using the GUI builder to visualize how your GUI will look, but
it also can add a layer of complexity. Does anyone write complex PyQt
apps without using Designer?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
by python and how to do that ?
>
> Thx
> E,
You'll probably have to write a wrapper that translates the original Tk
commands (in Tcl) to Python. Look at the lib-tk package for some examples.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
t what I'm doing wrong? Calling "pack forget" from
Tcl maps/unmaps the widget as expected. In this case, I can't quite
figure out where my error is.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ially with the
addition of themed widgets. It's definitely worth checking out!
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
sing a custom-built Python that links to 8.5
with no problem. However, you do have to use some additional modules
(referenced in another post) to get things working properly.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
er.unpythonic.net/wiki/TileWrapper works well enough, but as
I am not the original author of this module, I cannot really offer it
for inclusion in the core Python distribution. As such, someone will
have to step up and write a new implememtation.
--Kevin
--
Kevin Walzer
Code by Kevin
http
sh is the different version of Tk--could
this be making a difference, or am I doing something wrong?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
require re-compilation to be used with 8.5.
Since PIL is a Python library, however, you may be right.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
Kevin Walzer wrote:
>
> Tk itself has a stubs mechanism that allows libraries compiled against
> earlier versions to be used with later versions. It's different than
> Python in this respect. A pure-Tk library (such as Img or TkPNG) built
> against Tk 8.4 would not requi
o library to support additional images (Tk has
an Img extension, and Python Image Library is also very good).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ne suggest how I might better structure the class so that this
works? I'm a bit of a newbie with OO, so any pointers are appreciated.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
your experience, Tk/Tile is inherently
unable to deliver native platform "feel," in a way that reflects on the
toolkit rather than the developer. It's fine to focus on Windows if
that's your area of expertise.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
#x27;t hook into some of the newer Mac visual styles. Getting access
to this would require an extension or patching Tk's core. In those
events, I emulate the behavior or appeareance, which Tk makes very easy.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
on 2.5.2 release
> candidate 1".
>
This is splitting hairs. The subject clearly said "release candidate 1."
That means it's not the final candidate.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ig mistake?
No, you're not. Tkinter is a fine way to code up an application. I
prefer it, even using Tkinter for commercial software. See
http://www.codebykevin.com/phynchronicity.html for an example.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
ift()
> root.mainloop()
>
> Any ideas how to tell the window to start as the topmost window?
>
> Thanks,
> --
> Miki <[EMAIL PROTECTED]>
> http://pythonwise.blogspot.com
If you click on the PythonLauncher application that runs in your dock
when this script is execu
dard Mac application bundle via
py2app--most Mac users don't run Python apps from the Terminal but
instead double-click an application icon. In that event, "lift" should
work fine, because the application will already have focus.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
e new release, 8.5, is a huge
update, adding platform-specific theming to better blend in. There's
tons of Tcl-specific documentation about that. There has been less
Tkinter-style documentation--this link might be of use:
http://tkinter.unpythonic.net/wiki/TileWrapper
--
Kevin Walzer
real way to guarantee that the widgets will be
visible at all times.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
while the top frame stays visible.
>
Please post the code you're using--it will be easier to help if we can
see exactly what you are trying.
--K
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
t; would be better off with a "proper" build.
Not sure where you heard that. Apple's Python is built according to Mac
guidelines (as a "framework"), but it works the same as on other platforms.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
; Maybe I need to load some libraries first.
>
> Please help me to get started.
>
> Thanks
> Dewey V. Schorre
>
Take a look at appscript:
http://appscript.sourceforge.net/
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
here:
http://code.google.com/p/python-ttk/
It will be added to the standard library at some point, probably for
Python 3.1.
Here are some screenshots:
http://code.google.com/p/python-ttk/wiki/Screenshots
HTH,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.pytho
ed to what the
new stuff in Tk 8.5 provides? Is there much overlap?
And here are some Tix screenshots:
http://tixlibrary.sourceforge.net/screenshots/index.shtml
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
--
http://mail.python.org/mailman/listinfo/python-list
201 - 300 of 389 matches
Mail list logo