Hi,
I've a config for logging where I set up a file rotation with
handlers.RotatingFileHandler and when the app parses the logging
config it says keyError when trying to parse that section
('RotatingFileHandler' is not defined). Curiously enough, I can do
import logging and from logging.handlers i
Well, you could use the alternative os.path.walk instead. You can pass
a callback as a parameter, which will be invoked every time you
bump into a new directory. The signature is os.path.walk
(path,visit,arg). Take a look at the python library documentation.
On 11 Oct, 00:12, kj wrote:
> Perl's
On 17 ago, 21:10, kj wrote:
> I'm looking for a good Python package for visualizing
> scientific/statistical data. (FWIW, the OS I'm interested in is
> Mac OS X).
>
> The users of this package will be experimental biologists with
> little programming experience (but currently learning Python).
>
Is there any way to capture the keyboard events ESC, page up (next
page), page down (previous page) in Python?. I mean, how can I capture
if user presses one of those keys in a terminal based application? I
was thinking about pygame.key.get_pressed from the pygame module, but
I don't feel really ha