# How to write Pari GP script in Sage

I'm new to Sage and Pari-GP. There does not seem to be any application which can act as a Pari interface nicely. In Sage the only solution is to use %%gp to write a pari-gp script. Is there a way to write a whole script without having to use %%gp at the start of every cell? Alternatively, if you have any suggestions for a GUI for Pari scripts, please let me know.

Sage can use simple

`gp`

-commands / one-liners to associate to a gp-object a sage object. For instance:or

For short trips through pari this may be a way. Else the gp-interpreter is GUI enough (for me).