*2009.12.10 11:41:08 system shutdown reboot.

reboot. jump. jump. jump.

phowa. release consciousness to buddha mind.

 

*2009.12.10 11:39:57 system shutdown close users

if multiple sessions open, for each user logged in:

be sure to go through and note emacs at the very least (see above)

it is also a good habit to close down firefox... saving any links in their right location and closing windows/tabs that don't need to be restored next time

pkill -9 firefox /c/scripts/mercurial_sync.py or use TortoiseHG on windows (should have minimal repositories there)

(following does not work currently: [2010.08.26 10:57:14] c:cscriptsmercurial_sync.py c:c d:

(also client repositories)

 

*2009.12.08 17:33:37 python authentication
*2009.12.07 16:19:06 python launch macosx

To run your script from the Finder you have two options:

  • Drag it to PythonLauncher
  • Select PythonLauncher as the default application to open your script (or any .py script) through the finder Info window and double-click it. PythonLauncher has various preferences to control how your script is launched. Option-dragging allows you to change these for one invocation, or use its Preferences menu to change things globally.

for other operating systems, it should be reasonably easy to make an icon that launches the script

this also looked like a good solution for making executables: | http://cx-freeze.sourceforge.net/

 

*2009.12.04 17:29:51 python pyglet general

Pyglet is available at: pyglet.org

I download the latest distribution and put it: /c/downloads/python/pyglet-1.1.3/

the documentation included with pyglet is fantastic

the html docs start at: file:///c/downloads/python/pyglet-1.1.3/doc/html/index.html

System Message: ERROR/3 (<string>, line 14)

Unexpected indentation.
( CopyAllUrls will not load local (file:///) links )

Docs are also available online: | http://www.pyglet.org/doc/ | pyglet Documentation Index | http://www.pyglet.org/doc/programming_guide/index.html | Programming Guide | http://www.pyglet.org/doc/api/index.html | pyglet API reference

also [2009.12.04 17:31:26] other related files for notes: /c/technical/python/pyglet.txt /c/technical/python/gui.txt

examples are a great place to start. they are located at: cd /c/downloads/python/pyglet-1.1.3/examples

#other sample files:

#this is a good file for getting a window to show up using only pyglet: /c/charles/code/python/pyglet/sample.py #try running it via command line! should see a white window

#this demo is based off of simplui: /c/charles/code/python/pyglet/browser/demo.py

 

*2009.12.04 16:57:04 python pyglet simplui