python tweaks - autocomplete should now work