Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60334

Re: Help me to print to screen as well as log

From Dave Angel <davea@davea.name>
Subject Re: Help me to print to screen as well as log
Date 2013-11-23 18:02 -0500
References <08d39aeb-cc25-4a80-b42e-fd8eac9a9d1a@googlegroups.com> <a0f52e41-7833-4320-b749-023468127335@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3108.1385247704.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, 23 Nov 2013 05:11:11 -0800 (PST), Himanshu Garg 
<hgarg.india@gmail.com> wrote:
> How can I write to the same file from two different scripts opened 
at same time?

Using what version of python and on what OS?

Sone OS's will open the file exclusively by default. Others will let 
you stomp all over some other process' output.

Why not show us what you're trying and what happens and ask a much 
more specific question?

-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Help me to print to screen as well as log Himanshu Garg <hgarg.india@gmail.com> - 2013-11-22 05:51 -0800
  Re: Help me to print to screen as well as log Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-22 14:15 +0000
    Re: Help me to print to screen as well as log Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-22 15:38 +0000
  Re: Help me to print to screen as well as log Peter Otten <__peter__@web.de> - 2013-11-22 15:26 +0100
  Re: Help me to print to screen as well as log Himanshu Garg <hgarg.india@gmail.com> - 2013-11-23 05:11 -0800
    Re: Help me to print to screen as well as log Dave Angel <davea@davea.name> - 2013-11-23 18:02 -0500
  Re: Help me to print to screen as well as log Miki Tebeka <miki.tebeka@gmail.com> - 2013-11-23 16:23 -0800
  Re: Help me to print to screen as well as log Himanshu Garg <hgarg.india@gmail.com> - 2013-11-23 23:00 -0800

csiph-web