clp2 at rebertia.com
Wed Jun 24 23:05:37 CEST 2009
On Wed, Jun 24, 2009 at 2:01 PM, Frank Ruiz<frank.ruiz at gmail.com> wrote:
> Apologies.. Python newb here.. switching from perl to python.. so
> please forgive if this is a dumb question.
> I am using the paramiko module and have some global variables defined.
> hostname = ' 10.10.10.10'
> sshport = '22'
I'm haven't used Paramiko, but I would guess that this should instead be:
sshport = 22
Note that Python does not autoconvert between strings and numbers like
Also, in the future, please give the full error traceback, not just
the final error message, as it's much harder to debug code without it.
More information about the Python-list