Writing an FTP and SSH client in Python?

I’m going to (attempt) to write a custom program, to update my website with, in Python. I need it to access my ftp and shell accounts. I have no experience with programming but I’m gonna have a play and see what happens.

Can anyone give me some pointers as to where to start with adding FTP\SSH capability? Some links, names of things I need ect…

I realise that it’s not the best idea to make this my first project, but it’ll be fun (in a weird way) trying.