I’ve had some difficulties when it came to the backlight on my arch linux installation.Of course the first place to look for a solution wasRead More
Python: Overwrite file with text (utf-8)
def overwriteFile(file_path, text): f = codecs.open(file_path, ‘r+’, “utf-8-sig”) f.seek(0) f.write(text) f.truncate() f.close()