Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
Old 17th March 2011, 07:39 PM
IHeart SymLinks Offline
Registered User
Join Date: Jan 2011
Posts: 132

I am reading http://learnpythonthehardway.com/ and in one of the scripts he does a from sys import exit

What is the difference between exit and sys.exit()

The script appears to work fine without the import, so why did he import it?
Fedora 16 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync) - KDE 4.6.5 HDD Reporting SMART erorrs, using SSD with Fedora 20, XFCE install with yum install @kde-desktop
http://forums.fedoraforum.org/showthread.php?p=1524332#post1524332 HELP
Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i exit 'X' / gdm .... ??? RajivNair Using Fedora 4 11th August 2007 12:39 PM
Last Exit on FC6 austinjackson Using Fedora 1 27th January 2007 04:19 PM
I can't exit X medellin58 Using Fedora 2 21st March 2005 08:05 AM
Exit GUI TomWestcott Using Fedora 6 26th October 2004 07:04 PM

Current GMT-time: 06:03 (Sunday, 20-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat