Interact with SQL Database using Python 2.4 or lower

2011-08-28 Thread Sascha
Hello

I have an website on an Australian webhost. I have designed my website
to allow people to login & their login details are stored in an
SQLite3 database. I interact with the SQLite3 database using pythons
SQLite3 module(found only in python2.5 & up)

My Problem: the webhost runs Python 2.4 so I cannot communicate
with(query or modify) my SQLite3 database. The webhost will not allow
me to install my own version of python or upload modules unless I
upgrade to VPS.

What do you think are my options to still be able to work/interface
with my SQL database? Do you know of way to interact with a SQL
database using python modules from Python 2.4 or earlier?

Do you know of a python 2.4 module that will let me interact with an
SQL database(can be MySQL, SQLite, etc.)?
-- 
http://mail.python.org/mailman/listinfo/python-list


Determine from a HTTP request if the user is on a Smart Phone, IE, Firefox

2011-01-31 Thread Sascha
Hello

I am returning specialised website html according to what platform the
user is on. Is there a way to determine if the user is on a Smart
Phone or on IE or on Firefox?

Using python &/or examining HTTP packets?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The Modernization of Emacs

2007-06-21 Thread Sascha Bohnenkamp
E M A C S
i e n o w
g g d n a
h a   t p
t b   i p
  y   n i
  t   o n
  e   u g
  s   s
  l
  o   y
  f

  m
  e
  m
  o
  r
  y
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: The Modernization of Emacs

2007-06-21 Thread Sascha Bohnenkamp
> Windows text editors are not normal: most are devoid of all but the most
> primitive functions and are further hampered by having an interface that
> required frequent time wasting hand transfers from keyboard to mouse
> because, if they provide keyboard equivalents at all, these are
> remarkably unmemorable and/or undocumented.

well ultra-edit, textpad, source-insight etc. pp are better than that
(and run on windows)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: which language allows you to change an argument's value?

2007-10-01 Thread Sascha Bohnenkamp
> Neither C or Java has call by reference.
> C pointers and Java references may work similarly in most cases
> but it is still call by value.
so what? the references in c++ are passed by value too, its just a nice
interface to pointers.
At the end those parameters are pushed on the stack .. thats it.
-- 
http://mail.python.org/mailman/listinfo/python-list