Closed Eklavya17 closed 2 months ago
python -11.4
ā
Yeah that is the version on the venv I'm using
can you provide you venv comand or provide mini reproduce repos. iā not familiar with venv,i use a conda environment locally
The venv isn't the problem the issue is that the toolkit is not correctly writing the files even without the venv
just want to have a try. š in linux. i find the \n is worked. open the file that is a new line.if read file using 'read_tool',yes.it is a '\n' character in the string.i think this is normal.
Checked other resources
Example Code
file_management = FileManagementToolkit(
If you don't provide a root_dir, operations will default to the current working directory
).get_tools()
using this tool to write data to a python file writes the data as a string and the \n is interpreted as a character not as \n itself and the rest of the code is not moved to the new line
Error Message and Stack Trace (if applicable)
No response
Description
Trying to use the filemanagementtoolkit to write python code in a new line but it fails in correctly doing so as it should
System Info
windows, python -11.4