Ask Your Question
1

how can SageCell read text file from url?

asked 2017-10-27 12:01:19 -0600

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 05:13:34 -0600

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 05:46:55 -0600 )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 12:01:19 -0600

Seen: 25 times

Last updated: Oct 28