Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I have a Python 2.7 script and I'm running xubuntu. When I run the script by double clicking it, everything works fine. However, I recently added it to the autostart menu and it runs but once it's time to read from a txt file (using open()) the program crashes. Anyone know what is causing this?

I want my script to run from autostart just as it does from double clicking or terminal.

share|improve this question
what does it means that "program crashes"? Please, provide more info. – DonCallisto Feb 8 '13 at 8:26
Program stops working and closes when the time comes for it to read from a txt file. – Hashad Evans Feb 8 '13 at 17:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.