i want to do router configuration using python , but dont want to use any application level protocol to configure it . Is it possible to deal it on a hardware level ? Please do tell if the question is vague or if it needs more explanation , then I would put more details on as to what I have my doubt in
The title of your question by itself makes some sense.
The body of your question doesn't make sense.

is it possible to write python scripts which can do router configuration without telnetting into the router?
Yes, depending on the platform. You maybe able to use a variety of other methods to configure the router that do not include telnet. E.g. xml-rpc, ssh + interactive, scp config file or fragments, snmp to induce upload config file, etc.

Is it possible to deal it on a hardware level?
You're in the realms of nanotech microscopy and seriously invalidating the warranty on your router.
is it possible to write python scripts which can do router configuration without telnetting into the router?