mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-23 19:44:05 +00:00
Add PythonLoader which auto-detects encoding of Python files (#3311)
This PR contributes a `PythonLoader`, which inherits from `TextLoader` but detects and sets the encoding automatically.
This commit is contained in:
1
tests/integration_tests/examples/default-encoding.py
Normal file
1
tests/integration_tests/examples/default-encoding.py
Normal file
@@ -0,0 +1 @@
|
||||
u = "🦜🔗"
|
Reference in New Issue
Block a user