Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File type (mode)
#1
If I want to create a file which contains both ASCII Text AND Binary data, which mode is best to use when creating the file ("wt" OR "wb")? or perhaps some other mode?
Thanks
Ray
Reply


Messages In This Thread
File type (mode) - by rayleiter - Aug-28-2021, 06:43 PM
RE: File type (mode) - by bowlofred - Aug-28-2021, 07:40 PM
RE: File type (mode) - by rayleiter - Aug-28-2021, 09:31 PM
RE: File type (mode) - by bowlofred - Aug-29-2021, 02:31 AM
RE: File type (mode) - by rayleiter - Aug-29-2021, 04:08 PM
RE: File type (mode) - by Larz60+ - Aug-29-2021, 07:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to determine attachment file type before saving off.. cubangt 1 2,095 Feb-23-2022, 07:45 PM
Last Post: cubangt
  things that work in terminal mode but not in sublime mode alok 4 2,818 Aug-11-2021, 07:02 PM
Last Post: snippsat
  blank graph with matplotlib from a csv file / data type issue arsentievalex 0 1,912 Apr-06-2021, 10:08 AM
Last Post: arsentievalex
  code to read files in folders and transfer the file name, type, date created to excel Divya577 0 1,835 Dec-06-2020, 04:14 PM
Last Post: Divya577
  Type hinting - return type based on parameter micseydel 2 2,429 Jan-14-2020, 01:20 AM
Last Post: micseydel
  What mode should i open the file to write into a *.msh file Dhanya 0 1,713 Jan-09-2020, 08:27 AM
Last Post: Dhanya
  How do I write class objects to a file in binary mode? Exsul1 7 5,652 Sep-14-2019, 09:33 PM
Last Post: snippsat
  Save code with output to HTML file type agohir 2 2,827 Mar-26-2019, 05:17 PM
Last Post: agohir
  how to check for file type in a folder SoulsKeeper 4 4,871 Sep-15-2018, 02:48 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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