Connection.gsql() through python

connection.gsql() through python jupyter notebook is supported by free cloud instance ???

conn.gsql(‘ls’)
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/my-cert.txt’

Hi @PriyankaK!

Yes, you can connect to your free cloud instance through a python Jupyter Notebook!

Here is an example of connecting to a TG cloud instance through a Google Colab: → Google Colab

Although a different platform, the process and what is executed in each of the cells is the exact same. Please let me know if following this notebook helps!

McKenzie

1 Like

Hello,

I am having the same issue
print(conn.echo())
Hello GSQL
print(conn.gsql(‘ls’))
FileNotFoundError: [Errno 2] No such file or directory: ‘/tmp/my-cert.txt’

@aalbaghd I believe this tread will help you get past the /tmp/my-cert.txt issue.

1 Like

Thanks a lot on the suggestion to fix this isse.

1 Like