Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Programming In Python


  • Please log in to reply
2 replies to this topic

#1 Noli

Noli

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:12:40 PM

Posted 18 April 2007 - 06:00 PM

I recently decided writing programs was a good idea, and set about learning a language. Python seemed like a good beginner language, and I wrote several short programs in IDLE to test it out. All went well, but when I tried accessing the program (that I wrote) from the icon, I was unable to open it. I was asked what program to use to open and I browsed to the Python program, but was not allowed to use this. If anyone has had this problem or knows how to fix it, etc. I would be much appreciative!

BC AdBot (Login to Remove)

 


#2 Noli

Noli
  • Topic Starter

  • Members
  • 2 posts
  • OFFLINE
  •  
  • Local time:12:40 PM

Posted 18 April 2007 - 10:13 PM

Ok, so I figured it out (sort of). When I saved the file, I casually forgot to add the .py extension on it. Nice stupid mistake, but easily fixed. I am still curious as to why I couldn't choose a program to run it though...

#3 Keithuk

Keithuk

  • Members
  • 960 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:06:40 PM

Posted 24 April 2007 - 01:32 PM

No stupid Python, it should add its own extension. :thumbsup:

Keith

Windows ME (spare computer)
Windows XP 2002 Professional SP3 (desktop computer)
Windows 7 Professional SP1 32bit (laptop computer)

Windows 8 64bit spare drive for laptop computer





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users