fixed numerous bugs
This commit is contained in:
17
fileio/docs/write.md
Normal file
17
fileio/docs/write.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# file_Write
|
||||
Open a file and overwrite its contents with the provided string in `w` mode.
|
||||
|
||||
## Arguments
|
||||
- path (string): Path to the file you want to write to
|
||||
|
||||
## Returns
|
||||
- success (boolean): Whether writing to the file succeeded or not
|
||||
|
||||
## Raises
|
||||
- `FileError`: Raised if the file doesn't exist
|
||||
|
||||
## Example
|
||||
```python
|
||||
call !file_Read "my_file.txt" &contents
|
||||
println $contents
|
||||
```
|
||||
Reference in New Issue
Block a user