MCPcopy Create free account
hub / github.com/duckdb/duckdb / open_utf8

Function open_utf8

scripts/python_helpers.py:1–7  ·  view source on GitHub ↗
(fpath, flags, **kwargs)

Source from the content-addressed store, hash-verified

1def open_utf8(fpath, flags, **kwargs):
2 import sys
3
4 if sys.version_info[0] < 3:
5 return open(fpath, flags, **kwargs)
6 else:
7 return open(fpath, flags, encoding="utf8", **kwargs)
8
9
10def normalize_path(path):

Callers 15

write_fileFunction · 0.90
copy_if_differentFunction · 0.90
generate_duckdb_hppFunction · 0.90
generate_amalgamationFunction · 0.90
gather_fileFunction · 0.90
read_list_from_fileFunction · 0.90
get_file_contentsFunction · 0.90
analyze_include_fileFunction · 0.90
get_formatted_textFunction · 0.90
format_fileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected