Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 17th March 2011, 07:39 PM
IHeart SymLinks Offline
Registered User
 
Join Date: Jan 2011
Posts: 128
linuxfedorafirefox
sys.exit()

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?
__________________
I♥SymLinks

Junior SysAdmin and Python Newbie
Fedora 15 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync)
KDE 4.6.5

Laptop: Fedora 13 upgraded to 15 via --distro-sync

Can someone pls help me with The wireless on my laptop?
Reply With Quote
 

Tags
sysexit

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 03:19 PM
I can't exit X medellin58 Using Fedora 2 21st March 2005 07:05 AM
Exit GUI TomWestcott Using Fedora 6 26th October 2004 07:04 PM


Current GMT-time: 04:39 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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