On 31 May, 2009, at 20:34, Bill Janssen wrote:
I'm writing a Python program that has a main that looks like this:
application = NSApplication.sharedApplication()
# set up handler for network change notification
SCDynamicStoreSetNotificationKeys(DYNSTORE, None,
[NETWORK_
see my post on installing gtk and pygtk without Macports or Fink.
http://www.nabble.com/PyGTK-on-OSX--to21186327.html#a22451916
http://www.nabble.com/PyGTK-on-OSX--to21186327.html#a22451916";>PyGTK on OSX?
I don't use Fink or MacPorts because I want to compile myself to learn and
they interfe
Piet van Oostrum wrote:
Another possibility, after Python-> start interpreter, is
Python->Execute Buffer. For small snippets of code this may be easier,
but for complete programs the shell method may be better.
do check out ipython -- it' s a nice way to do this. I wonder if ipython
can be th
Hi,
I'm trying to use appscript on my MacBook Pro running OS X 10.5.7 and
the stock Apple Python. It's never had appscript installed before.
However, I can't get the binary ASDictionary I downloaded to run:
Traceback (most recent call last):
File
"/Developer/Applications/appscript/ASDicti
> beegee beegee (bb) wrote:
>bb> Hi All, I have a mac mini mac os 10.4.11. I also have aquamac for an
>editor.
>bb> I have some simple programs stored in text files. and I try to run
>bb> them using aquamac, but I get the following error message
>bb> steps taken:
>bb> launch aquamacs
>bb> F
>> please suggest what could have gone wrong here why am i getting a
>> syntax error
It's a quirk of the interactive interpreter. To terminate a loop you need a
blank input line:
>>> some_list = [3,6,2,5]
>>> i = 1
>>> while i < 3:
... print some_list[i], ";"
...
I'm writing a Python program that has a main that looks like this:
application = NSApplication.sharedApplication()
# set up handler for network change notification
SCDynamicStoreSetNotificationKeys(DYNSTORE, None, [NETWORK_KEY,])
# Get a CFRunLoopSource for our sto
Hello, I have a mac mini mac os 10.4.11 aquamacs 22.3.1.
I wrote this program (please see below) after i got a python prompt (this
was after starting the interpreter in aquamacs)
please suggest what could have gone wrong here why am i getting a syntax
error
some_list = [3,6,2,5]
i=1
while i < 3:
I ran across this project yesterday, and thought I'd point it out to others:
http://code.google.com/p/pymacadmin/
"A collection of Python utilities for Mac OS X system administration."
In particular, check out "crankd", a Python program for monitoring
various kinds of OS X events.
Bill
Hi All, I have a mac mini mac os 10.4.11. I also have aquamac for an editor.
I have some simple programs stored in text files. and I try to run
them using aquamac, but I get the following error message
steps taken:
launch aquamacs
File -> new buffer in new window
File ->new buffer in mode python
P
[A bit of a noob here, running Tiger on a Mac mini]
Spent well over an hour last night with MacPorts, installing modules necessary
to run gramps. The software needs several modules, particularly Gtk. For the
past couple of weeks, I've tried several methods of installing Gtk, including
Fink and
11 matches
Mail list logo