サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
rhodesmill.org
Like many Unix users, I long ago created a ~/bin/ directory in my home directory and added it to my PATH so that I could supplement the wonderfully rich set of basic Unix commands with some conveniences and shell scripts of my own devising. The problem, of course, was the chance of collision. Because my shell script names tended to be short and pithy collections of lowercase characters, just like
Skyfield¶ Elegant Astronomy for Python Skyfield computes positions for the stars, planets, and satellites in orbit around the Earth. Its results should agree with the positions generated by the United States Naval Observatory and their Astronomical Almanac to within 0.0005 arcseconds (half a “mas” or milliarcsecond). Written in pure Python and installs without any compilation. Supports Python 2.6,
I give some advice each year in my annual Sphinx tutorial at PyCon. A grateful student asked where I myself had learned the tip. I have done some archæology and finally have an answer. Let me share what I teach them about “semantic linefeeds,” then I will reveal its source — which turns out to have been written when I was only a few months old! In the tutorial, I ask students whether or not the Sp
>>> import ephem >>> mars = ephem.Mars() >>> mars.compute('2007/10/02 00:50:22') >>> print mars.ra, mars.dec 6:05:56.34 23:23:40.0 >>> ephem.constellation(mars) ('Gem', 'Gemini') Since its first release in 1998, PyEphem has given Python programmers the ability to compute planet, comet, asteroid, and Earth satellite positions. It wraps the “libastro” C library that powers the XEphem astronomy appli
このページを最初にブックマークしてみませんか?
『rhodesmill.org』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く