Connecting to my own node via python

Is it possible to connect to my own node (not speedy) to make custom contract transactions?

if you have your own node, then you can connect to it, same say as you would connect to any other node

Yea but Iā€™m getting an unauthorized error when I enter the url. And there are bunch of different usernames and passwords in the node settings page.