Package node_manager_fkie :: Package editor :: Module parser_functions
[frames] | no frames]

Module parser_functions

source code

Functions
str
interpret_path(path)
Tries to determine the path of the included file.
source code
Variables
  __package__ = 'node_manager_fkie.editor'
Function Details

interpret_path(path)

source code 

Tries to determine the path of the included file. The statement of $(find 'package') will be resolved.

Parameters:
  • path (str) - the sting which contains the included path
Returns: str
$(find 'package') will be resolved. The prefixes `file:///`, `package://` or `pkg://` are also resolved. Otherwise the parameter itself normalized by `os.path.normpath` will be returned.