codon
codon copied to clipboard
cannot import name “path” from “os.__init__”
I was making a shorthand for the Codon compiler with codon itself and ran into an issue when trying to compile, which it only threw when I tried to use “os.path.isfile” to check if a file existed. I don’t know why it happens, other than maybe the function doesn’t exist in Codon.