# Revision history [back]

1. To run gp in your jupyter notebook, you would better use the pari/gp kernel

2. To run a single cell in gp mode while you are using the SageMath kernel you can use

%%gp forperm(3, p, print(p))

3. To load a script from Sage, let say gp_script.gp you can use the method read

this is valid in Jupyter and in the console.

1. To run gp in your jupyter notebook, you would better use the pari/gp kernel

2. To run a single cell in gp mode while you are using the SageMath kernel you can use

%%gp forperm(3, p, print(p))

3. To load a script from Sage, let say gp_script.gp you can use the method read

this is valid in Jupyter and in the console.

1. To run gp in your jupyter notebook, you would better use the pari/gp kernel

2. To run a single cell in gp mode while you are using the SageMath kernel you can use

%%gp forperm(3, p, print(p))

3. To load a script from Sage, let say gp_script.gp you can use the method read

this This is valid in Jupyter and in the console.

1. To run gp in your jupyter notebook, you would better use the pari/gp kernel kernel.

2. To Next, to run a single cell in gp mode while you are using the SageMath kernel you can use

%%gp
forperm(3, p, print(p))
3. print(p)) 
4. To Finally, to load a script from Sage, let say gp_script.gp you can use the method read

gp.read('my_script.gp')