how can SageCell read text file from url?
How can SageCell read text file from url? I work on SageCell. I will read input from text file i put on http/https.
you can load the URL of a file containing Sage or Python commands as follows:
load('URL')
If the URL is a .sage file, it will be executed as a Sage code (with preparsing), if it is a .py file, it will be executed as a Python code. I just tested, both http and https work.
Asked: 2017-10-27 19:01:19 +0100
Seen: 525 times
Last updated: Oct 28 '17
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.