How to check whether a directory is a sub directory of another directory
How to check whether a directory is a sub directory of another directory Question: I like to write a template system in Python, which allows to include files. e.g. This is a template You can safely include files with safe_include`othertemplate.rst` As you know, including files might be dangerous. For example, if I use the template …