def withversion(name):
        """
        Turn "tools[.anything]" into "<versionname>[.anything]" , where
        <versionname> is something like 'tools._stable_0_1' .
        """
        parts = name.split('.')
        parts[0] = currentversion.__name__ # eg 'tools._stable_0_1'
        return '.'.join(parts)

        Turn "tools[.anything]" into "<versionname>[.anything]" , where
        <versionname> is something like 'tools._stable_0_1' .
        
recipes/Python/576508_Versionspecific_import/recipe-576508.py