Python Forum
is this file an ASCII text file?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is this file an ASCII text file?
#1
in POSIX environments the "file" command can be run on the file and its output could indicate an ASCII text file or something it knows about. is there a better way in Python to check if a file is an ASCII text file or should i just go ahead and run the "file" command?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
is this file an ASCII text file? - by Skaperen - Nov-06-2019, 05:33 AM
RE: is this file an ASCII text file? - by DeaD_EyE - Nov-06-2019, 09:51 AM
RE: is this file an ASCII text file? - by Skaperen - Nov-07-2019, 04:52 AM
RE: is this file an ASCII text file? - by snippsat - Nov-07-2019, 12:43 PM
RE: is this file an ASCII text file? - by Skaperen - Nov-08-2019, 08:07 PM
RE: is this file an ASCII text file? - by snippsat - Nov-08-2019, 08:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Text Summarization CSV File Shivi_Bhatia 0 2,620 Oct-21-2019, 03:48 PM
Last Post: Shivi_Bhatia
  Text file data to meaningful .csv conversion shrutika 1 1,839 May-10-2019, 05:56 AM
Last Post: buran

Forum Jump:

User Panel Messages

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