DATABASE())
1L
c.fetchall()
(('mysql',),)
^^^
A string indicates that a database is currently selected.
Hope this helps.
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo/python-list
, it also
lets you query and set the current video mode for a display.
Hope this helps.
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo/python-list
'.
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo/python-list
for output
and I don't have MIDI input on this machine to test it...
Hope this helps.
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo/python-list
moves the mouse or
keyboard within a minute or two of the wakeup, the system just goes back
to sleep.
You should be able to call the SetThreadExecutionState function using
ctypes.
Search for Power Management in the MSDN library for info on these functions.
--
Jesse Hager
email = [EMAIL PROTECTED
normal output goes here
#Do whatever you want with captured_text here...
#When finished with string_io, close it to free up the memory buffers
string_io.close()
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo/python-list
between digits of the same character, put it between
the second set of empty quotes. '.' - '0.1.0.1.0.1.0.1'
This is probably slower than one based on lookup tables like the others
are proposing.
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo
Try something like:
def capwords(words):
return ' '.join([x.capitalize() for x in words.split()])
capwords(here's my title!)
Here's My Title!
--
Jesse Hager
email = [EMAIL PROTECTED].decode(rot13)
--
http://mail.python.org/mailman/listinfo/python-list