2020-03-20 14:00:46 +0200 commented answer How to search for earlier commands SageMath terminal? Merci bien! 2020-03-20 13:33:10 +0200 commented answer How to search for earlier commands SageMath terminal? Coucou Sébastien, merci pour ta réponse. It is possible to search for any keyword, not just the prefix, though? 2020-03-20 06:48:58 +0200 asked a question How to search for earlier commands SageMath terminal? Hello, I'd like to know how I can search by keywords for commands that I entered earlier in the SageMath terminal. Thanks in advance! 2020-03-16 02:19:07 +0200 commented answer How do I retrieve the variables that appear in a polynomial? I see. Thanks! 2020-03-16 02:18:46 +0200 received badge ● Supporter (source) 2020-03-15 19:07:27 +0200 received badge ● Student (source) 2020-03-15 16:16:42 +0200 commented answer How do I retrieve the variables that appear in a polynomial? Thanks. Do you know how I can get a list like [0,1] for x and [0] for y? 2020-03-15 14:28:15 +0200 asked a question How do I retrieve the variables that appear in a polynomial? Hello, I'd like to know I can retrieve the list of variables that appear in $g$ in the following example. A. = InfinitePolynomialRing(QQ) g=x_[0]+x_[1]+y_[0]  Thanks in advance! 2020-03-14 04:18:24 +0200 received badge ● Scholar (source) 2020-03-13 06:17:28 +0200 asked a question Polynomial ring with a number (to be determined) of variables I know that we can construct the ring of polynomials with three variables with the following command: R.=PolynomialRing(ZZ) How can I construct the ring of polynomials with $n$ varaibles, where $n$ is to be specified later? Thanks in advance! 2020-02-28 03:39:18 +0200 commented answer How to specify the value of variables in a file to be loaded thank you <3 2020-02-27 17:01:30 +0200 asked a question How to specify the value of variables in a file to be loaded Hello, I encountered the following problem. When I a write a file test.sage with one line: print a  in the terminal I define a function, def test2(): a=1 load("test.sage")  When I run test2() in the terminal, I get the error message NameError: name 'a' is not defined My question is, how do I specify the value of a in test.sage when I load it? Thanks in advance!