Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

secure PATH for sage

Hi there. This question is related to another one more specific on generating teX code for plots. When I run sage on conole it gives the following

┌────────────────────────────────────────────────────────────────────┐ │ SageMath version 9.7, Release Date: 2022-09-19 │ │ Using Python 3.10.5. Type "help()" for help. │ └────────────────────────────────────────────────────────────────────┘ Input In [1] PATH=$PATH:/usr/local/bin ^ SyntaxError: invalid syntax

The question is how to instantiate PATH in the context ?

it looks like the first order (In[1]) to python is to update the PATH variable. But why the h* it appear here ? anyone with a clue ? Thx in advance M

secure PATH for sage

Hi there. This question is related to another one more specific on generating teX code for plots. When I run sage on conole it gives the following

┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 9.7, Release Date: 2022-09-19                     │
│ Using Python 3.10.5. Type "help()" for help.                       │
└────────────────────────────────────────────────────────────────────┘
  Input In [1]
    PATH=$PATH:/usr/local/bin
         ^
SyntaxError: invalid syntax

syntax

The question is how to instantiate PATH in the context ?

it looks like the first order (In[1]) to python is to update the PATH variable. But why the h* it appear here ? anyone with a clue ? Thx in advance M