RE: easiest way to plot x,y graphically during run-time?

2009-06-03 Thread esmail bonakdarian
Hi Brian, Thanks for the code sample, that looks quite promising. I can run it and understand most of it - my knowledge of pylab/matplotlib is still quite rudimentary. I wish there was a good manual/tutorial that could be printed off (or for that matter a book) on this as it seems quite cabable a

Re: Tkinter vs wxPython

2004-12-28 Thread Esmail Bonakdarian
Hi I have found ALL of the posts useful, thank you so much. Please keep them coming! I am learning a lot. I will probably play a bit with Tkinter and wxPython and see how each feels, just as Peter Hansen suggested). PyQt also looks interesting, so I will take a look at that at some point down the l

Re: Tkinter vs wxPython

2004-12-27 Thread Esmail Bonakdarian
My post wasn't complete, sorry for the additional post: ps: this is basically the same query as posted December 10 “Re: GUIs: wxPython vs. Tkinter (and others)” by Erik Johnson which really seemed to end up comparing PyQt (?) -- http://mail.python.org/mailman/listinfo/python-list

Tkinter vs wxPython

2004-12-27 Thread Esmail Bonakdarian
Greetings all. I will have about 2 weeks to pursue some Python related activities and would like to learn more about the graphical end of things. In that vein I would like some opinions regarding Tkinter and wxPython. (The previously recommended PyGame is appropriate for me for now, but I am lookin

Re: Windows XP - cron or scheduler for Python?

2004-12-26 Thread Esmail Bonakdarian
[EMAIL PROTECTED] wrote: Hi Esmail, Kirby Alarm is written in Clarion. Sorry, but I want to keep the source code to myself. Hi, thanks for the info, and no problem. I'm learning Python, and looking at other's code has been a great way to learn. (As an aside, I was thinking of this sort of applicati

Re: Windows XP - cron or scheduler for Python?

2004-12-26 Thread Esmail Bonakdarian
[EMAIL PROTECTED] wrote: Hi, I thought I'd throw in my 2 cents worth. I have written a freeware task scheduler that might be of interest to you. It's called Kirby Alarm And Task Scheduler. Over 16000 people around the world use it. Hi, Was this written in Python? If so 2 quick questions: 1. what di

Re: Best book on Python?

2004-12-16 Thread Esmail Bonakdarian
Esmail Bonakdarian wrote: > I myself am looking for a small portable quick > reference, Scott David Daniels wrote: Look into Python Essential Reference for that kind of book -- no fat, lotsa goodies. Hi Scott, Thanks for the recommendation. I didn't know about this book but looking at

Re: Is Python good for graphics?

2004-12-16 Thread Esmail Bonakdarian
Doug Holton wrote: I'll tell you know it's not going to be so easy. There isn't something in python like flash. But here are some options: See pyxel for python: http://bellsouthpwp.net/p/r/prochak/pyxel.html and pygame: http://pygame.org/ Gato, the graph animation toolkit, is implemented in pyt

Re: Is Python good for graphics?

2004-12-16 Thread Esmail Bonakdarian
Fredrik Lundh wrote: WCK, Tk's Canvas, wxPython (do they have a canvas-style widget available these days), any other self-respecting UI toolkit... but if you're going to do animations, the drawing part isn't really the hard bit -- and vpython is designed to do animations. if you want things to loo

Re: Is Python good for graphics?

2004-12-16 Thread Esmail Bonakdarian
Robert Kern wrote: do you (or anyone else) have a recommendation for 2D type graphics? I like Kiva (but then, I also help develop it). The best place to get it right now is the SVN repository, but it's fairly stable. http://svn.enthought.com/svn/enthought/branches/converge/kiva/ thanks Robert,

Re: Is Python good for graphics?

2004-12-15 Thread Esmail Bonakdarian
Fredrik Lundh wrote: how about: http://vpython.org/ hi, thanks, I didn't know about that. do you (or anyone else) have a recommendation for 2D type graphics? Thanks, Esmail -- http://mail.python.org/mailman/listinfo/python-list

Is Python good for graphics?

2004-12-15 Thread Esmail Bonakdarian
First of all, I *really* like Python ;-) I need some help with the graphical side of things. I would like to do some basic graphics with Python, but I am not sure what the best/most effective way for me to do what I want. Basically, I would like to be able to create some basic animations where I ca

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Brian van den Broek wrote: Hi Esmail, try looking for it on your box ;-) When I recently installed win32all, my Python 2.4 entry on the startmenu grew a shortcut for "Python for Windows Documentation". Ah .. good one!! Thanks. Actually, I thought it might have installed /integrated it into the IDL

Re: Best book on Python?

2004-12-12 Thread Esmail Bonakdarian
Michael McGarry wrote: Hi, What is the best book covering Python? Michael I like these: Python Cookbook book Learning Python, 2nd ed Python in a Nutshell Dive Into Python would also make a good choice and the next book I would get (if I were to get one more ;-) I myself am looking for a sm

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Thanks everyone for the great help. Esmail -- http://mail.python.org/mailman/listinfo/python-list

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Fredrik Lundh wrote: import os, re def uptime(): return re.search( "System Up Time:\s*(.+)", os.popen("systeminfo").read() ).group(1) print uptime() Thanks, I'm learning a lot :-) Esmail -- http://mail.python.org/mailman/listinfo/python-list

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Bengt Richter wrote: >>> import os >>> [x for x in os.popen('pstat') if 'uptime' in x.lower()] ['Pstat version 0.3: memory: 327080 kb uptime: 4 15:44:16.696 \n'] That is, if pstat.exe is on your system and path. It comes with various sdk's and Visual studio stuff. Check tools subdirectory und

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Peter Hansen wrote: I believe there is, though I can't guarantee this is a valid approach: >>> import datetime >>> import os >>> def uptime(): ... t = os.stat('c:/pagefile.sys').st_mtime ... td = datetime.datetime.now() - datetime.datetime.fromtimestamp(t) ... return td ... >>> print upti

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Nick Coghlan wrote: It's included in the output of the 'systeminfo' command. That command is fairly slow, though (since it displays a lot more than just the up time) There's also info about the 'uptime' utility here: http://support.microsoft.com/kb/q232243/ I don't know if that works for XP. Hi N

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Tom Wesley wrote: I believe that "uptime" works from the console, but don't have a machine to check it with... Hi Tom, no, unfortunately not. Esmail -- http://mail.python.org/mailman/listinfo/python-list

Re: uptime for Win XP?

2004-12-12 Thread Esmail Bonakdarian
Greg Krohn wrote: if you have win32all installed, you can get it from Python: >>> import win32api >>> print "Uptime:", win32api.GetTickCount(), "Milliseconds" Uptime: 148699875 Milliseconds Hi Greg! Thanks, that was usefull, esp since I had no idea about the win32api which I promptly download

uptime for Win XP?

2004-12-11 Thread Esmail Bonakdarian
Hi, Is there a way to display how long a Win XP system has been up? Somewhat analogous to the *nix uptime command. Thanks, Esmail -- http://mail.python.org/mailman/listinfo/python-list

your favorite quick reference? (was Python Docs. Hardcopy 2.4 Library Reference, interested?)

2004-12-11 Thread Esmail Bonakdarian
somewhat related .. is there a good quick reference for python? o'reilly has a quick ref guide 2nd ed is a few years old, and the ones i have found on-line seem a bit big. I am looking for something relatively concise that I can carry with me ... not sure such a thing exists? thanks. -- http://mail