#!/usr/bin/env python # -*- coding: utf-8 -*- ##Title: ##Description: ##Author:Thierry Volpiatto ##Commentary: test python from idesk import os import getpass A = open("/home/" + getpass.getuser() + "/toto", 'w') A.write("test file") A.close() os.system("emacsclient /home/$USER/toto")