Question: what is fp in python?
Answer: 7. "fp" stands for "file pointer" and it was a pointer to a FILE structure in C. The name "fp" just sort of stuck. "fd" was an alternate ad usually indicated an unsigned integer, which was the offset of the referenced file in the "file table" (file descriptor).