Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create text file in directory python linux

import os.path
f = open(os.path.expanduser(os.path.join("~/Desktop",boyka + ".txt")), "a")
 
PREVIOUS NEXT
Tagged: #create #text #file #directory #python #linux
ADD COMMENT
Topic
Name
5+1 =