If you don't need the "ddd" variable, then don't declare/assign it. If it's a module variable that could be used from another modules, you can not really avoid it. I would advise you to add a comment to explain why this variable is alone in the module.
Moreover it's considered bad practice to have a bare except:
, you should use at least except Exception:
It's in PEP8 too:
When catching exceptions, mention specific exceptions whenever possible instead of using a bare except: clause.