Python Forum
How to "tee" (=split) output to screen and into file?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to "tee" (=split) output to screen and into file?
#6
Simple answer: the OP wanted to log to myoutput.log:

Quote:Assume I want to write something from inside a *.py script to screen AND into file D:\tools\python\myoutput.log
Reply


Messages In This Thread
RE: How to "tee" (=split) output to screen and into file? - by Pedroski55 - Jun-24-2023, 07:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Why is there an output of None akbarza 1 524 Nov-27-2023, 02:53 PM
Last Post: deanhystad
  Reading data from excel file –> process it >>then write to another excel output file Jennifer_Jone 0 1,158 Mar-14-2023, 07:59 PM
Last Post: Jennifer_Jone
  Split pdf in pypdf based upon file regex standenman 1 2,175 Feb-03-2023, 12:01 PM
Last Post: SpongeB0B
  How to split file by same values from column from imported CSV file? Paqqno 5 2,882 Mar-24-2022, 05:25 PM
Last Post: Paqqno
  [split] Results of this program in an excel file eisamabodian 1 1,622 Feb-11-2022, 03:18 PM
Last Post: snippsat
  split txt file data on the first column value shantanu97 2 2,490 Dec-29-2021, 05:03 PM
Last Post: DeaD_EyE
  [split] Help- converting file with pyton script eltomassito 6 3,345 Jul-02-2021, 05:29 PM
Last Post: snippsat
  How do I split the output? AnunnakiKungFu 2 1,829 Feb-25-2021, 11:13 PM
Last Post: AnunnakiKungFu
  Split Characters As Lines in File quest_ 3 2,573 Dec-28-2020, 09:31 AM
Last Post: quest_
  [split] How to convert the CSV text file into a txt file Pinto94 5 3,440 Dec-23-2020, 08:04 AM
Last Post: ndc85430

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020