rewrite dotfile into python (initial version)