Ask Your Question
1

how can SageCell read text file from url?

asked 7 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 7 years ago

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.

Preview: (hide)
link

Comments

Thanks a lot. God bless u...

Niyamabrata gravatar imageNiyamabrata ( 7 years ago )

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: 7 years ago

Seen: 421 times

Last updated: Oct 28 '17