On Apr 20, 2:04 pm, [EMAIL PROTECTED] wrote:
> Greetings!
>
> I've just started learning python, so this is probably one of those
> obvious questions newbies ask.
>
> Is there any way in python to check if a text file is blank?
>
> What I've tried to do so far is:
>
> f = file("frie
On Dec 7, 12:46 pm, Vinay Sajip <[EMAIL PROTECTED]> wrote:
> On Dec 6, 6:35 pm, evenrik <[EMAIL PROTECTED]> wrote:
>
> > An a redhat box I have root, apache and other normal users run code
> > that uses theloggingmodule to write to the same log file. Since
> >
An a redhat box I have root, apache and other normal users run code
that uses the logging module to write to the same log file. Since
umasks are set to 2 or 022 this gets permission errors.
I have fixed my issue by patching the logging code everywhere there is
an open for write with:
try:
old