```
es=easyblock.split('.')
class_name=es.pop(-1)
if es:
    modulepath='.'.join(es)
```
```