I’ve been stuck on C++ for a bit, so I decided to continue my python classes (In which I’m currently working with the Nikkiepy library) and I’m trying to figure out how to make a file. This is my current code:
import nikkiepy.files as npyf
npyf.mkfile("coakey", "./data", ".cde")
for some reason it keeps asking for a folder
>Solution :
You’re using "Coakey" as the folder, you should instead do
import nikkiepy.files as npyf
npyf.mkfile(path="./", name="coakey", extension="cde")
Also, leave the "." out of the extension, because that gets added automatically