fullname = 'paws.Abbe98_Bot.hello.world'
PREFIX = 'paws.'

parts = fullname[len(PREFIX):].split('.')

url_segment = '/'.join(parts) + '.ipynb?format=raw'
print(url_segment)
Abbe98_Bot/hello/world.ipynb?format=raw