Support for notification popups on computers

<< < (6/11) > >>

plugger2:
Quote from: MichiganTelephone on March 09, 2011, 12:14:27 pm


If I go to a Mac command prompt and type "python" it shows this:

Python 2.5.1 (r251:54863, Sep  1 2010, 22:03:14)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

So I assume that means there's at least some components of the python language installed.


Yes, that's definitely a Python installation. At the ">>>" prompt, type

import Tkinter

(it's case sensitive), hit the return key, and tell me what happens. (If it just returns >>>, and there is no error message saying something like "ImportError: No module named Tkinter", then it will probably be OK to go.)

I understand you see something like this is just a stop-gap, but I thought it might be fun anyway. :-)

MichiganTelephone:
Quote from: plugger2 on March 10, 2011, 01:51:15 am

Yes, that's definitely a Python installation. At the ">>>" prompt, type

import Tkinter

(it's case sensitive), hit the return key, and tell me what happens. (If it just returns >>>, and there is no error message saying something like "ImportError: No module named Tkinter", then it will probably be OK to go.)
>>> import Tkinter
>>>

That's all I got. No error message.

plugger2:
Quote from: MichiganTelephone on March 10, 2011, 04:46:28 am

Quote from: plugger2 on March 10, 2011, 01:51:15 am

Yes, that's definitely a Python installation. At the ">>>" prompt, type

import Tkinter

(it's case sensitive), hit the return key, and tell me what happens. (If it just returns >>>, and there is no error message saying something like "ImportError: No module named Tkinter", then it will probably be OK to go.)
>>> import Tkinter
>>>

That's all I got. No error message.


Excellent. That means it found and loaded the Tk library. Which means, if I watch out judiciously for cross-platform differences, I should be able to get an app that runs on your Mac, as well as other python endowed machines.

If you are interested, let me know, and I will see what I can whip together as a side project, just for a bit of fun!

MichiganTelephone:
Quote from: plugger2 on March 10, 2011, 07:29:07 am

If you are interested, let me know, and I will see what I can whip together as a side project, just for a bit of fun!
Sure, I'd like to see what you can come up with.  Just be aware that with Python, about I'll be able to tell you is whether it works or not, since I know pretty much zilch about that language.

plugger2:
Quote from: MichiganTelephone on March 10, 2011, 07:54:20 am

Quote from: plugger2 on March 10, 2011, 07:29:07 am

If you are interested, let me know, and I will see what I can whip together as a side project, just for a bit of fun!
Sure, I'd like to see what you can come up with.  Just be aware that with Python, about I'll be able to tell you is whether it works or not, since I know pretty much zilch about that language.


If you can read Perl, I think you would be fine with Python, actually. It's one of the more transparent scripting languages, which is probably why it's so popular. _True_ Perl aficionados delight in it's very obscurity, or so it has always seemed to me! ;-)

Anyway, we shall see what we can cook up. I will keep you posted.

Navigation

[0] Message Index

[#] Next page

[*] Previous page