开发者

Open file at absolute location in Clojure

开发者 https://www.devze.com 2023-03-31 05:03 出处:网络
I have a file at C:/tasklists.xml. What would be a funct开发者_Go百科ion that returns the text of this file?You\'ll want to use slurp (ClojureDocs):

I have a file at C:/tasklists.xml.

What would be a funct开发者_Go百科ion that returns the text of this file?


You'll want to use slurp (ClojureDocs):

(slurp "C:\\tasklists.xml")
;; => returns string with contents of file
0

精彩评论

暂无评论...
验证码 换一张
取 消