Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Python programs are not running

    Hello,

    I am learning python. One problem: none of my programs are running! I am using Ubuntu linux, and so I am starting my programs from a terminal. I would use this command python test.py as I was taught. It is doing nothing at all. No errors, just nothing. What am I doing wrong?

    Any help is greatly appreciated!

    //TJonS

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,044
    Thanks
    10
    Thanked 93 Times in 91 Posts
    have you set test.py as executable ?

    chmod +x /path/to/test.py
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •