Is there a way to do the opposite of tty.setraw afterwards to prevent
the terminal from not displaying any characters that are typed in? Of
course, this can be resolved by re-opening it, but thats not really
convenient.
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 4, 2:25 pm, Kless <[EMAIL PROTECTED]> wrote:
> try:
> import foo
> foo_loaded = True
> except ImportError:
> foo_loaded = False
Many projects use this as the standard procedure to check a module's
presence. I assume, this is the best way.
Chris
--
http://mail.python.org/mailman
Hi everyone,
I am looking for a python module or something similar which makes use
of the capabilities of the kernel module applesmc to provide support
for the sudden motion sensor in Apple hardware. It should be something
like this:
http://pypi.python.org/pypi/PyAppleSMS/1.0
Would it make sense
One or more spaces behind a \ used for joining a multi-line statement
can already generate a SyntaxError exception.
2:1 for paranthesis
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 26, 9:36 pm, bvidinli <[EMAIL PROTECTED]> wrote:
> Please provide me the quickest/most appropriate solution for web
> programming in python.
> i will try to switch to python in ehcp too..
>
> Currently my web programs are simple Object Oriented programs, that
> basicly uses a few files, in p
On Apr 1, 12:12 am, Kelie <[EMAIL PROTECTED]> wrote:
> Hello,
>
> My question is as subject. I tried something like this and it doesn't
> work.
>
> def resizeEvent(self, event):
> self.size = event.oldSize()
>
> Any hint?
>
> Thank you.
If you use the Qt designer you can set the minimum- and m