Crate rsfile

Source

Functions§

append_text
append a list of lines into a file
eprintln
a simplified function for eprintln!(“{}”,s)
fetch_html
Fetch a web page’s HTML codes and return a dict of the HTML page
input
obtain a list of strings from a input line in the terminal
input_line
obtain a line string from terminal
input_line_with_msg
obtain a line from the terminal after a message
print
a simplified println!(s) function like using in Python
println
a simplified print!(s) function like using in Python
read_binary
read binary from a file
read_csv
Read a csv file in a very simple manner and return a Vec<HashMap<String,String>> list
read_csv_simple
Read a simple csv file and return a list of HashMap models
read_csv_text
Read a csv file’s text
read_csv_text_with_error
read a csv file with Result<,>
read_csv_with_error
Read a csv file using Result<,>
read_html_file
Read a html file and return dict
read_html_string
Read HTML dict from a HTML string
read_lines
Read a list of lines from a file
read_text
Read a text file
show_dict
print a HashMap model
write_csv
Write a csv file from a list of HashMap model
write_text
write text into a file
write_text_once
write a text file once, which will replace