how to create a text file in spyder code example
Example: create text file in directory python linux
import os.path
f = open(os.path.expanduser(os.path.join("~/Desktop",boyka + ".txt")), "a")
import os.path
f = open(os.path.expanduser(os.path.join("~/Desktop",boyka + ".txt")), "a")