!
http://mail.python.org/pipermail/python-list/2001-March/076069.html
The question now is what can I do about it? reboot?
Just to re-iterate the answer I provided the answer to above, I'm using
Tkinter for the program's GUI.
--
W. eWatson
(121.015 Deg. W
So, how do I get rid of it? reboot?
Just to re-iterate the I provided the question to above, I'm using Tkinter
for the program's GUI.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2
.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org/mailman/listinfo/python-list
MRAB wrote:
W. eWatson wrote:
...
I thought some months ago, I found Google commands that would operate
in the browser link window. Guess not.
BTW, isn't there an O'Reilly book on Google hacks of this sort? Where
else does one find out about these Google tools?
Google? :-)
http
one find out about these Google tools?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org
Steve Holden wrote:
W. eWatson wrote:
Steve Holden wrote:
W. eWatson wrote:
r wrote:
On Jan 28, 10:12 pm, W. eWatson notval...@sbcglobal.net wrote:
Where in the world is a description of pack() for Tkinter widgets?
Is it
some sort of general method for all widgets? I'm looking in a few
docs
Steve Holden wrote:
W. eWatson wrote:
r wrote:
On Jan 28, 10:12 pm, W. eWatson notval...@sbcglobal.net wrote:
Where in the world is a description of pack() for Tkinter widgets? Is it
some sort of general method for all widgets? I'm looking in a few
docs that
use it without ever saying where
Gabriel Genellina wrote:
En Thu, 29 Jan 2009 14:55:13 -0200, W. eWatson notval...@sbcglobal.net
escribió:
Gabriel Genellina wrote:
En Thu, 29 Jan 2009 02:57:04 -0200, W. eWatson
notval...@sbcglobal.net escribió:
The word pack doesn't exist on the NMT pdf. Maybe there's a newer one
should find the 2.6 equivalent of http://docs.python.org/genindex.html?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page
Gabriel Genellina wrote:
En Thu, 29 Jan 2009 02:57:04 -0200, W. eWatson notval...@sbcglobal.net
escribió:
The word pack doesn't exist on the NMT pdf. Maybe there's a newer one?
There is a PDF version of An Introduction to Tkinter here:
http://www.pythonware.com/library/
Thanks. I have
r wrote:
On Jan 28, 10:57 pm, W. eWatson notval...@sbcglobal.net wrote:
The word pack doesn't exist on the NMT pdf. Maybe there's a newer one?
Only the grid manager is discussed at NMT. I just like how at NMT the
widget attributes are in a table and then a list the widget methods
follows
employees another module or writes the file into a folder, then
displays it with a paint program?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page
Peter Otten wrote:
W. eWatson wrote:
r wrote:
Change this line:
draw.line((0,0),(20,140), fill=128)
To This:
draw.line((0,0, 20,140), fill=128)
And you should be good to go. Like you said, if you need to combine 2
tuples you can do:
(1,2)+(3,4)
Yes, that's true, but the big question is how
anywhere. I see Universal methods for widgets, but no mention
of pack(). package, packed, but no pack.
While I'm at it, what is w in the result of w = Label(parent, image=photo)?
Just a widget pointer, address?
--
W. eWatson
(121.015 Deg. W, 39.262
r wrote:
On Jan 28, 10:12 pm, W. eWatson notval...@sbcglobal.net wrote:
Where in the world is a description of pack() for Tkinter widgets? Is it
some sort of general method for all widgets? I'm looking in a few docs that
use it without ever saying where it is described. For one,
http
/tkinterbook/place.htm
There seems to be a pattern here. :-)
Everything you need to know about Tkinter exists here:
http://effbot.org/tkinterbook/
and at the NMT site i showed you before
The word pack doesn't exist on the NMT pdf. Maybe there's a newer one?
--
W
?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org/mailman/listinfo/python-list
r wrote:
On Jan 27, 9:15 pm, W. eWatson notval...@sbcglobal.net wrote:
Here's my program:
# fun and games
import Image, ImageDraw
im = Image.open(wagon.tif) # it exists in the same Win XP
# folder as the program
draw = ImageDraw.Draw(im)
draw.line((0, 0) + im.size, fill=128)
draw.line((0,0
r wrote:
W. eWatson,
I contacted the author of New Mexico Techs Introduction to Tkinter a
couple of weeks ago. He is going to update the reference material with
a few missing widgets and some info on Photo and Bitmap classes. I
really love the NMT layout and use it quite often. Fredricks
Steve Holden wrote:
W. eWatson wrote:
W. eWatson wrote:
r wrote:
here is a good explanation of control vars:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/control-variables.html
Here are 3 great Tkinter refernces in order:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/
http://effbot.org
W. eWatson wrote:
r wrote:
here is a good explanation of control vars:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/control-variables.html
Here are 3 great Tkinter refernces in order:
http://infohost.nmt.edu/tcc/help/pubs/tkinter/
http://effbot.org/tkinterbook/
http://www.pythonware.com
/introduction/
Thanks to all for the reference and tips.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http
with Google, and have yet to find a simple
explanation of what it's used for.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page
John Machin wrote:
On Jan 12, 2:00 pm, W. eWatson notval...@sbcglobal.net wrote:
I installed Python 2.5 a few months ago with IDLE, and decided I'd like to
try windowpy from ActiveState. Is having both of these installed going to
cause me trouble?
What is windowpy from ActiveState? If you
John Machin wrote:
On Jan 12, 9:16 pm, W. eWatson notval...@sbcglobal.net wrote:
John Machin wrote:
On Jan 12, 2:00 pm, W. eWatson notval...@sbcglobal.net wrote:
I installed Python 2.5 a few months ago with IDLE, and decided I'd like to
try windowpy from ActiveState. Is having both
I went to their site and the only choice seems 2.6. I looked around and
found no other choices. Is it possible to get 2.5?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
John Machin wrote:
On Jan 12, 9:55 am, W. eWatson notval...@sbcglobal.net wrote:
I went to their site and the only choice seems 2.6. I looked around and
found no other choices. Is it possible to get 2.5?
What do you see when you go to
http://www.activestate.com/activepython/downloads
I installed Python 2.5 a few months ago with IDLE, and decided I'd like to
try windowpy from ActiveState. Is having both of these installed going to
cause me trouble?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz
W. eWatson wrote:
Jason Scheirer wrote:
On Dec 16, 3:56 pm, W. eWatson notval...@sbcglobal.net wrote:
Is there a way to highlight differences between the two files when
printing
in b/w? Help suggests there may be some texturing, but all I see is
color
choices
Is there a way to highlight differences between the two files when printing
in b/w? Help suggests there may be some texturing, but all I see is color
choices.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site
Jason Scheirer wrote:
On Dec 16, 3:56 pm, W. eWatson notval...@sbcglobal.net wrote:
Is there a way to highlight differences between the two files when printing
in b/w? Help suggests there may be some texturing, but all I see is color
choices.
--
W. eWatson
Chris Rebert wrote:
On Sun, Nov 16, 2008 at 9:25 PM, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works
with:
Win OSes: W2K, XP, Vista
For the supported OSes, check the links for the versions on
http://python.org/download/ and see
Ben Finney wrote:
W. eWatson [EMAIL PROTECTED] writes:
Is there some repository that says something like for Python 2.5 it works with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
I don't understand the question.
Do you have some question about the operating
Tino Wildenhain wrote:
W. eWatson wrote:
I'm trying to figure out why an application that both myself and a
colleague use gives errors when he uses it under W98. I'm using XP.
Py 2.5 is installed on each of our machines. His first problem came with
...
Clearly things have gone astray
George Sakkis wrote:
On Nov 17, 12:25 am, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
http://www.catb.org/~esr/faqs/smart-questions.html#writewell
.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org/mailman/listinfo/python-list
Aahz wrote:
In article [EMAIL PROTECTED],
W. eWatson [EMAIL PROTECTED] wrote:
George Sakkis wrote:
On Nov 17, 12:25 am, W. eWatson [EMAIL PROTECTED] wrote:
Is there some repository that says something like for Python 2.5 it works with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x
W. eWatson wrote:
Has anyone gotten the combination of items in the Subject to work
together? The pylab line here fails:
from Tkinter import *
from numpy import *
import Image
import ImageChops
import ImageTk
import time
import binascii
import tkMessageBox
import tkSimpleDialog
from pylab
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org/mailman/listinfo/python-list
?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org/mailman/listinfo/python-list
Is there some repository that says something like for Python 2.5 it works with:
Win OSes: W2K, XP, Vista
numpy vers y, matplotlib vers x. scipy z, etc.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15
, ylabel, title, show, xticks, bar
It works fine in XP Pro, Py 2.5
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net
from
them. What in Python will help me do that?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http
W. eWatson wrote:
I have a file of images shot at a frame rate of 1/30th of a second. They
are 640 by 480 bytes followed immediately by up to 200 smaller images
128x128 pixels. The software I'm using will convert this into a mov
file. I'd like to simply take the large images out of the file
[EMAIL PROTECTED] wrote:
On Oct 15, 6:38 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm going to try another stab at this problem again. I'd like someone with
2.4.4 and matplotlib-0.98.3.win32-py2.4exe to try it (below).
IMHO an important detail of your configuration is missing. What's your
Terry Reedy wrote:
Steve Holden wrote:
W. eWatson wrote:
I suspect something has been corrupted in Python 2.4. Can I just
re-install on top of it, and still expect to have scipy and other pkgs
I've installed?
On Windows, certainly - you can even uninstall and reinstall and retain
your
Martin v. Löwis wrote:
W. eWatson wrote:
I suspect something has been corrupted in Python 2.4. Can I just
re-install on top of it
On Windows, you shouldn't reinstall, but instead run the repair
installation, from Add and remove programs.
Regards,
Martin
Do you mean on the Win Control Panel
W. eWatson wrote:
Dennis Lee Bieber wrote:
On Mon, 13 Oct 2008 19:07:06 -0700, W. eWatson
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
I had just finished working with IDLE, and tried to double-click on a
py file. It produced an OK dialog with the path to the file
I suspect something has been corrupted in Python 2.4. Can I just re-install
on top of it, and still expect to have scipy and other pkgs I've installed?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15
there about 5 Python parts in the ARP, and one is Python 2.4.4.
There's a Change/Remove, and clicking on Change brings up a Python window to
change, remove or repair. What is change? A new version?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr
Gabriel Genellina wrote:
En Sun, 12 Oct 2008 23:45:15 -0300, W. eWatson [EMAIL PROTECTED]
escribió:
The meat of the matter is the Fatal error msg I copied below. To me it
indicates a serious error. Maybe some developer can sort it out.
From above post.
++
Ah
('Press Enter to Quit')
sys.exit()
t = arange(0.0, 2.0, 0.01)
s = sin(2*pi*t)
plot(t, s, linewidth=1.0)
xlabel('time (s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
grid(True)
show()
finish()
--
W. eWatson
(121.015 Deg. W
it
there. Python 2.4. Suggestions?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http://mail.python.org/mailman
Dennis Lee Bieber wrote:
On Mon, 13 Oct 2008 19:07:06 -0700, W. eWatson
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
I had just finished working with IDLE, and tried to double-click on a py
file. It produced an OK dialog with the path to the file and the msg access
denied
(s)')
ylabel('voltage (mV)')
title('About as simple as it gets, folks')
grid(True)
show()
finish()
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web
Dennis Lee Bieber wrote:
On Sun, 12 Oct 2008 11:24:32 -0700, W. eWatson
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
available there. I've long forgotten how to get a console window up in Win
XP. I can strip it all the code way down to the from, and it will fail the
same
Dennis Lee Bieber wrote:
On Sun, 12 Oct 2008 12:56:26 -0700, W. eWatson
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
Oddly when I use cmd, it gets me to settings and docs. If I try c:\whatever
I get a msg, and it remains in the same folder.
That's likely
John Machin wrote:
On Oct 13, 9:07 am, W. eWatson [EMAIL PROTECTED] wrote:
I worked my way into the folder where the py program is, but couldn't
executed. Just entering aprog.py, run aprog.py or exec aprog.py didn't work.
One wouldn't expect the run or the exec to work.
Try
Dennis Lee Bieber wrote:
On Sun, 12 Oct 2008 15:07:57 -0700, W. eWatson
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
I worked my way into the folder where the py program is, but couldn't
executed. Just entering aprog.py, run aprog.py or exec aprog.py didn't work
please! The rest is
about the run time error.
This (Pystring) seems quite relevant, but I have no idea what.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
, but I have no idea what.
+++
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http
Steven D'Aprano wrote:
On Mon, 08 Sep 2008 21:53:18 -0700, W. eWatson wrote:
I have two dates, ts1, ts2 as below in the sample program. I know the
clock drift in seconds per day. I would like to calculate the actual
date of ts2. See my question at the end of the program.
When faced
Diez B. Roggisch wrote:
W. eWatson wrote:
Apparently, use of strptime of datetime needs a workaround in Python 2.4
to work properly. The workaround is d =
datetime.datetime(*(time.strptime(date_string, format)[0:5])). However,
when I try to use it, or even use it the regular way, it fails
in hh:mm:ss) to
# days + fraction of day, D. I want to multiple D by drift
# to get seconds of drift in period, then add it to d2.
Results
3 days, 6:00:00
2016-09-04 18:00:00
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz
know how to make this work in 2.4? If not, is there a way to
achieve the same result?
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page
Grant Edwards wrote:
On 2008-09-01, W. eWatson [EMAIL PROTECTED] wrote:
That's the question in Subject. For example, the difference between
08/29/2008 and 09/03/2008 is +5. The difference between 02/28/2008 and
03/03/2008 is 4, leap year--extra day in Feb. I'm really only interested in
years
Grant Edwards wrote:
On 2008-09-01, W. eWatson [EMAIL PROTECTED] wrote:
Grant Edwards wrote:
On 2008-09-01, W. eWatson [EMAIL PROTECTED] wrote:
That's the question in Subject. For example, the difference between
08/29/2008 and 09/03/2008 is +5. The difference between 02/28/2008 and
03/03
period of time well outside our current era of history.
--
W. eWatson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
Web Page: www.speckledwithstars.net/
--
http
John Machin wrote:
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according to the OS clock
W. eWatson wrote:
John Machin wrote:
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date
and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according
John Machin wrote:
On Aug 30, 10:41 am, W. eWatson [EMAIL PROTECTED] wrote:
What I'm trying to do is adjust date-time stamped file names for date and
time errors. The software program collects through a period that roughly
coincides with night hours every day and according to the OS clock
The author has updated the Tutorial and added a flex method.
--
http://mail.python.org/mailman/listinfo/python-list
alex23 wrote:
On Aug 29, 3:45 pm, W. eWatson [EMAIL PROTECTED] wrote:
Something to do on your weekends. [non-related link clipped]
Another thing to do with your weekends would be to -not spam-.
Sorry, misdirected.
--
W. Watson
(121.015 Deg. W
I just tried the following code, and got an unexpected result.
from pyfdate import *
t = Time()
ts = Time(2008, 8, 29,15,20,7)
tnew = ts.plus(months=6)
print new date: , tnew
Result:
new date: 2009-02-28 15:20:07
I believe that should be April 1, 2009. If I use months = 1 and day =31, I
get
castironpi wrote:
...
I don't think that's guaranteed by anything. I realized that
'dat.sort()' and 'txt.sort()' weren't necessary, since their contents
are moved to a dictionary, which isn't sorted.
Actually, I'm getting the file names from listdir, and they appear to be
sorted low to high.
John Machin wrote:
On Aug 30, 2:32 am, W. eWatson [EMAIL PROTECTED] wrote:
I just tried the following code, and got an unexpected result.
from pyfdate import *
t = Time()
ts = Time(2008, 8, 29,15,20,7)
tnew = ts.plus(months=6)
print new date: , tnew
Result:
new date: 2009-02-28 15:20:07
I
I read an Amazon of Python in a Nutshell. The first edition is supposedly
much like the web site. What web site? The second edition apparently adds
more to the book than the web site.
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262
Cameron Laird wrote:
In article [EMAIL PROTECTED],
W. eWatson [EMAIL PROTECTED] wrote:
Is it possible to do a search for a wild card string in another string. For
example, I'd like to find v*.dat in a string called bingo. v must be
matched against only the first character in bingo
Maybe there's some function like zip or map that does this. If not, it's
probably fairly easy to do with push and pop. I'm just checking to see if
there's not some known simple single function that does what I want. Here's
what I'm trying to do.
I have a list dat like (assume the items are
castironpi wrote:
On Aug 28, 10:50 pm, W. eWatson [EMAIL PROTECTED] wrote:
Maybe there's some function like zip or map that does this. If not, it's
probably fairly easy to do with push and pop. I'm just checking to see if
there's not some known simple single function that does what I want
Something to do on your weekends. http://www.toughguy.co.uk/home.shtml
--
W. Watson
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W, 2700 feet
--
John Machin wrote:
On Aug 27, 11:24 am, W. eWatson [EMAIL PROTECTED] wrote:
John Machin wrote:
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
ttp://www.ferg.org
Is it possible to do a search for a wild card string in another string. For
example, I'd like to find v*.dat in a string called bingo. v must be
matched against only the first character in bingo, and not simply found
somewhere in bingo, as might be the case for *v*.dat.
--
Wayne
Timothy Grant wrote:
On Wed, Aug 27, 2008 at 8:49 PM, W. eWatson [EMAIL PROTECTED] wrote:
Is it possible to do a search for a wild card string in another string. For
example, I'd like to find v*.dat in a string called bingo. v must be
matched against only the first character in bingo
Sean DiZazzo wrote:
On Aug 27, 8:49 pm, W. eWatson [EMAIL PROTECTED] wrote:
Is it possible to do a search for a wild card string in another string. For
example, I'd like to find v*.dat in a string called bingo. v must be
matched against only the first character in bingo, and not simply found
[EMAIL PROTECTED] wrote:
check out Pyfdate: http://www.ferg.org/pyfdate
from pyfdate import *
t = Time().add(hours=14)
print It is now, t.wdt
datestring1 = 2005/10/05 #year,month,day
datestring2 = 2002/09/22 #year,month,day
datestring3 = 2007/11/11 #year,month,day
year,month,day =
John Machin wrote:
On Aug 27, 10:21 am, W. eWatson [EMAIL PROTECTED] wrote:
I'm using IDLE for Python 2.4, and put pfydate distribution in
C:\Python24\Lib\site-packages\pfydate, as required by the
ttp://www.ferg.org/pyfdate/download.html page.
How to install pyfdate.
Save pyfdate.py
[EMAIL PROTECTED] wrote:
check out Pyfdate: http://www.ferg.org/pyfdate
from pyfdate import *
t = Time().add(hours=14)
print It is now, t.wdt
datestring1 = 2005/10/05 #year,month,day
datestring2 = 2002/09/22 #year,month,day
datestring3 = 2007/11/11 #year,month,day
year,month,day =
David wrote:
What modules do I need to use pylab? I've installed scipy and numpy.
http://matplotlib.sourceforge.net/
I'm using Python 2.4. The install looks pretty complicated for Windows. It
doesn't seem like matplotlib is a module.
--
Wayne Watson (Watson Adventures, Prop.,
Are there some date and time comparison functions that would compare, say,
Is 10/05/05 later than 09/22/02? (or 02/09/22 format, yy/mm/dd)
Is 02/11/07 the same as 02/11/07?
Is 14:05:18 after 22:02:51? (24 hour day is fine)
How about the date after 02/28/04 is 02/29/04, or the date after
Maric Michaud wrote:
Le Saturday 23 August 2008 01:12:48 W. eWatson, vous avez écrit :
The other night I surveyed a site for astronomical use by measuring the
altitude (0-90 degrees above the horizon) and az (azimuth, 0 degrees north
clockwise around the site to 360 degrees, almost north again
Carl Banks wrote:
On Aug 22, 7:12 pm, W. eWatson [EMAIL PROTECTED] wrote:
Is there some simple operational device in Python that would allow me to
create an array (vector) of 360 points from my data by interpolating between
azimuth points when necessary? All my data I rounded to the nearest
Scott David Daniels wrote:
W. eWatson wrote:
...
I'm working on this now, but my knowledge of python needs refreshing.
Right now I have a file of all the az,el data I've collected, and I'd
like to open it with Python for XP. However, Python doesn't like this:
junkfile = open('c:\tmp
I have an ordinary text file with a CR at the end of a line, and two numbers
in each line. Is there some way to determine the number of lines (records)
in the file before I begin reading it?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W,
the contents of a file without opening and reading that
file.
W. eWatson wrote:
I have an ordinary text file with a CR at the end of a line, and two
numbers in each line. Is there some way to determine the number of lines
(records) in the file before I begin reading it?
-BEGIN PGP SIGNATURE
Fredrik Lundh wrote:
W. eWatson wrote:
I have an ordinary text file with a CR at the end of a line, and two
numbers in each line. Is there some way to determine the number of
lines (records) in the file before I begin reading it?
In the general case, no. A file is just a bunch of bytes
I completed a Win Python program and it has generated the necessary data,
which I have in turn used successfully with the telescope software. Is there
some way to turn this into an executable program for people who do not have
Python?
--
Wayne Watson (Watson Adventures, Prop.,
tom wrote:
W. eWatson wrote:
The other night I surveyed a site for astronomical use by measuring
the altitude (0-90 degrees above the horizon) and az (azimuth, 0
degrees north clockwise around the site to 360 degrees, almost north
again) of obstacles, trees. My purpose was to feed
Dennis Lee Bieber wrote:
On Fri, 22 Aug 2008 23:18:17 -0700, W. eWatson
[EMAIL PROTECTED] declaimed the following in comp.lang.python:
I'll take a look. I just posted above yours with a more insightful set of
data than the first three pointer. Yes, some way of bisecting, or chopping
How do I get my py code into some executable form so that Win users who
don't have python can execute it?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7 N, 121° 2' 32 W,
301 - 400 of 403 matches
Mail list logo