python

  • ImportError: attempted relative import with no known parent package

    You are trying to use relative imports in python but you get you encounter the ImportError: attempted relative import with no known parent package exception. Why the python interpreter complains ? What did you do wrong ? read more
  • Download Files with zagoload

    The zagoload allows to access local files and remote files – files which are accessible thought HTTP and FTP protocols – in uniform way. The files can be cached locally. read more
  • Restrict the creation of objects in python

    While c++ and java has authorization system for accessing class entities such as methods and member variables, Python does not have one. In this article, we will see how we can create an authorization system to avoid accidents. read more
  • Changing the process name of python script in windows

    You have created several python scripts and running them simultaneously. You decide you want to kill first script you run. As always, you open Windows Task Manager but then you see several python.exe processes. Which one is the script you want to kill? You do not have clue. If you you recognize this situation – The following script I wrote allows to overcome this issue and change name of python processes to unique one. read more