Ask Your Question
1

how can SageCell read text file from url?

asked 2017-10-27 19:01:19 +0100

Niyamabrata gravatar image

How can SageCell read text file from url? I work on SageCell. I will read input from text file i put on http/https.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-28 12:13:34 +0100

tmonteil gravatar image

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.

edit flag offensive delete link more

Comments

Thanks a lot. God bless u...

Niyamabrata gravatar imageNiyamabrata ( 2017-10-28 12:46:55 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-10-27 19:01:19 +0100

Seen: 404 times

Last updated: Oct 28 '17