Python Licence, what ?
Posted: January 14th, 2009, 2:08 am
What is this all about. Is python a program with licence ?
Downunder the terminal text.
#!/usr/bin/python -OO
# Copyright 2008 The SABnzbd-Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import sys
if sys.hexversion < 0x020403F0:
print "Sorry, requires Python 2.4.3 or higher."
exit(1)
import logging
import logging.handlers
import os
import getopt
import signal
import re
import glob
import socket
if os.name=='nt':
import platform
try:
import Cheetah
if Cheetah.Version[0] != '2':
raise ValueError
except:
print "Sorry, requires Python module Cheetah 2.0rc7 or higher."
exit(1)
import cherrypy
import sabnzbd
from sabnzbd.utils.configobj import ConfigObj, ConfigObjError
from sabnzbd.__init__ import check_setting_str, check_setting_int, dir_setup
from sabnzbd.interface import *
from sabnzbd.constants import *
from sabnzbd.newsunpack import find_programs
from sabnzbd.misc import Get_User_ShellFolders, save_configfile, launch_a_browser, from_units, \
check_latest_version, Panic_Templ, Panic_Port, Panic_FWall, Panic, ExitSab, \
decodePassword, Notify, SplitHost, ConvertVersion
from threading import Threadp
Downunder the terminal text.
#!/usr/bin/python -OO
# Copyright 2008 The SABnzbd-Team
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
import sys
if sys.hexversion < 0x020403F0:
print "Sorry, requires Python 2.4.3 or higher."
exit(1)
import logging
import logging.handlers
import os
import getopt
import signal
import re
import glob
import socket
if os.name=='nt':
import platform
try:
import Cheetah
if Cheetah.Version[0] != '2':
raise ValueError
except:
print "Sorry, requires Python module Cheetah 2.0rc7 or higher."
exit(1)
import cherrypy
import sabnzbd
from sabnzbd.utils.configobj import ConfigObj, ConfigObjError
from sabnzbd.__init__ import check_setting_str, check_setting_int, dir_setup
from sabnzbd.interface import *
from sabnzbd.constants import *
from sabnzbd.newsunpack import find_programs
from sabnzbd.misc import Get_User_ShellFolders, save_configfile, launch_a_browser, from_units, \
check_latest_version, Panic_Templ, Panic_Port, Panic_FWall, Panic, ExitSab, \
decodePassword, Notify, SplitHost, ConvertVersion
from threading import Threadp