%%python inputFileName = 'spaceStation.root' import os if not os.path.exists(inputFileName): import urllib2 response = urllib2.urlopen('https://raw.githubusercontent.com/dpiparo/swanExamples/master/notebooks/Geometry_Visualisation_cpp/spaceStation.root') filecontent = response.read() with open(inputFileName,"w") as f_out: f_out.write(filecontent) TGeoManager::Import("spaceStation.root"); auto topVolume = gGeoManager->GetTopVolume(); topVolume->Draw();