... The '-software_version' defaults to 'ops' , others are 'old','new' The '- config_file = path is the path to the config file if not ms_output_directory : # Spew out the usage and quit when no ms_output_directory is given print run.__doc__ return spss_sys_util.SUCCESS if not os.path.isdir( ms_output_directory ): raise ValueError( ms output directory %s does not exist. % ...
usr/bin/python Fontfile = 'actionis.pil' BGcolor=(255,255, 160 ) LNcolor =(210, 180 ,220) TXcolor=( 160 ,140, 180 ) import Image, ImageDraw, ImageFont import sys,os from random import choice def mkImage(imgfile,fontpath='', code =''): if not code : code =''.join([choice('ABDEFHIJKLMNPRSTUVWXYZ') for i in range(5)]) fn=os.path.join(fontpath, Fontfile ) if not os.path.exists(fn): for fdir in sys.path: fn=os.path.join(fdir, ...
... DEPENDENCIES # ------------ # sys is the most-used module which contains a set of system-level components. # os provides functions like os.path.join() and os.environ[var] for interacting ... a specified pattern according to the shell rules. # re provides regular expression tools re.sub() and re.search() for advanced string processing. # the Sybase module provides Describe the main role of the function ...> <par1>: <explain what is par1> (<type>). <par2>: <explain what is par2> (<type>). ...
... current ) { # Defs' before first field are form defs' $ form {$key} = $ val ; $old_attr_key = $key; $old_attr_type = ' form '; next; } #-------------------------- # It's a FIELD attribute. #-------------------------- if ( $key eq key ) { unshift( @keys, $current); } else { #### CHANGED for Perl5 ### $ val = 'TRUE' unless defined $ val ; #### $ field {$current,$key} = $ ... This requires more work !!! print "<th>"; if ( defined $wdb_query->param( $f ) && $in{$f} ne "") { print "<a href=\""...
... В этой главе . ... Linux PortSentry . ... Запуск PortSentry . ... Хорошей идеей будет создать список файлов установленных в вашей системе до инсталляции PortSentry и после, в результате, с помощью утилиты diff вы сможете узнать какие файлы были установлены. ... Сейчас, вы должны проверить/изменить права установленные по умолчанию из соображения безопасности: [root@deep /]# chmod 600 /usr/psionic/portsentry/portsentry.conf Конфигурирование файла “/usr/psionic/portsentry/portsentry.ignore”. ...
. Общая Астрономическая Конференция > Практика > Своими руками > Роутер D-Link DIR320 / Asus WL500gpV2 . PDA . Просмотр полной версии : Роутер D-Link DIR320 / Asus WL500gpV2 . Страницы : [ 1 ] 2 . monstr . 16.09.2011, 17:53 . Вместе с Malice перехожу на роутер Asus WL500gpv2 (у меня) / D-Link DIR-320 (у него), который будет поддерживать связь и управлять базовыми функциями обсерватории. Тем самым, в планах держать постоянно включенным один комп, а не два. Что положительно скажется на счете за электроэнергию