CrunchBang Linux Pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

CrunchBang Linux Pastebin

Difference between
modified post 1878 by irenegr on Tue 2nd Oct 00:12 and
original post 1877 by irenegr on Tue 2nd Oct 00:11
Show old version | new version | both versions

    
11
#!/usr/bin/env python
22
#
33
# Archey [version 0.2.8]
44
#
55
# Archey is a system information tool written in Python.
66
#
77
# Maintained by Melik Manukyan <melik@archlinux.us>
88
# ASCII art by Brett Bohnenkamper <kittykatt@silverirc.com>
99
# Changes Jerome Launay <jerome@projet-libre.org>
1010
# Fedora support by YeOK <yeok@henpen.org>
1212
# Distributed under the terms of the GNU General Public License v3.
1313
# See http://www.gnu.org/licenses/gpl.txt for the full license text.
1515
# Import libraries
1616
import os, sys, subprocess, optparse, re, linecache
1717
from subprocess import Popen, PIPE
1818
from optparse import OptionParser
1919
from getpass import getuser
2020
from time import ctime, sleep
2222
# Display [Comment/Uncomment to Enable/Disable information.]
2323
display = [
2424
 'user', # Display Username
2525
 'hostname', # Display Machine Hostname
2626
 'distro', # Display Distribution
2727
 'kernel',  # Display Kernel Version
2828
 'uptime',  # Display System Uptime
2929
 'wm',  # Display Window Manager
3030
 'de', # Display Desktop Environment
3131
 'sh', # Display Current Shell
3232
 'term', # Display Current Terminal
3333
 'packages', # Display Number of Packages Installed
3434
 'cpu', # Display CPU Model
3535
 'ram', # Display RAM Usage
3636
 'disk' # Display Disk Usage
3737
 ]
3939
# Array containing Values
4040
result = []
4242
# Options
4343
if __name__=='__main__':
4444
 parser = OptionParser(usage='%prog [-s, --screenshot]', description='Archey is a system information tool written in Python.', version="%prog 0.2.8")
4545
 parser.add_option('-s', '--screenshot',
4646
  action='store_true', dest='screenshot', help='take a screenshot')
4747
 (options, args) = parser.parse_args()
4949
# Define processes for identifying Desktop Environmentss, Window Managers, Shells.
5050
de_dict = {
5151
 'gnome-session': 'GNOME',
5252
 'ksmserver': 'KDE',
5353
 'xfce4-session': 'Xfce'}
5555
wm_dict = {
5656
 'awesome': 'Awesome',
5757
 'beryl': 'Beryl',
5858
 'blackbox': 'Blackbox',
5959
 'compiz': 'Compiz',
6060
 'dwm': 'DWM',
6161
 'enlightenment': 'Enlightenment',
6262
 'fluxbox': 'Fluxbox',
6363
 'fvwm': 'FVWM',
6464
 'i3': 'i3',
6565
 'icewm': 'IceWM',
6666
 'kwin': 'KWin',
6767
 'metacity': 'Metacity',
6868
 'musca': 'Musca',
6969
 'openbox': 'Openbox',
7070
 'pekwm': 'PekWM',
7171
 'ratpoison': 'ratpoison',
7272
 'scrotwm': 'ScrotWM',
7373
 'wmaker': 'Window Maker',
7474
 'wmfs': 'Wmfs',
7575
 'wmii': 'wmii',
7676
 'xfwm4': 'Xfwm',
7777
 'xmonad': 'xmonad'}
7979
sh_dict = {
8080
 'zsh': 'Zsh',
8181
 'bash': 'Bash',
8282
 'dash': 'Dash',
8383
 'fish': 'Fish',
8484
 'ksh': 'Ksh',
8585
 'csh': 'Csh',
8686
 'jsh': 'Jsh',
8787
 'tcsh': 'Tcsh'}
8989
# Define Colour Scheme
9191
clear = '\x1b[0m'
9292
blackB = '\x1b[0;30m'
9393
blackB = '\x1b[1;30m'
9494
redN = '\x1b[0;31m'
9595
redB = '\x1b[1;31m'
9696
greenN = '\x1b[0;32m'
9797
greenB = '\x1b[1;32m'
9898
yellowN = '\x1b[0;33m'
9999
yellowB = '\x1b[1;33m'
100100
blueN = '\x1b[0;34m'
101101
blueB = '\x1b[1;34m'
102102
magentaN = '\x1b[0;35m'
103103
magentaB = '\x1b[1;35m'
104104
cyanN = '\x1b[0;36m'
105105
cyanB = '\x1b[1;36m'
106106
whiteN = '\x1b[0;37m'
107107
whiteB = '\x1b[1;37m'
109109
# Find running processes.
110110
def xmonadfix(str):
111111
 if re.compile("xmonad").match(str): return "xmonad"
112112
 return str
113113
p1 = Popen(['ps', '-u', getuser()], stdout=PIPE).communicate()[0].split('\n')
114114
processes = map(xmonadfix, [process.split()[3] for process in p1 if process])
115115
p1 = None
117117
# Find Distro.
118118
DetectDistro = Popen(['lsb_release', '-i'], stdout=PIPE).communicate()[0].split(':')[1].lstrip('\t').rstrip('\n')
120120
# Print coloured key with normal value.
121121
def output(key, value):
122122
 if DetectDistro == 'Ubuntu':
123123
  output ='%s%s:%s %s' % (redB, key, clear, value)
124124
 if DetectDistro == 'Arch':
125125
  output = '%s%s:%s %s' % (blueB, key, clear, value)
126126
 if DetectDistro == 'Debian':
127127
  output = '%s%s:%s %s' % (blueB, key, clear, value)
128128
 if DetectDistro == 'Fedora':
129129
  output = '%s%s:%s %s' % (blueB, key, clear, value)
130130
 if DetectDistro == 'CrunchBang':
131131
  output = '%s%s:%s %s' % (whiteN, key, clear, value)
132132
 if DetectDistro == 'LinuxMint':
133133
  output = '%s%s:%s %s' % (greenB, key, clear, value)
134134
 result.append(output)
136136
# RAM Function.
137137
def ram_display():
138138
 raminfo = Popen(['free', '-m'], stdout=PIPE).communicate()[0].split('\n')
139139
 ram = ''.join(filter(re.compile('M').search, raminfo)).split()
140140
 used = int(ram[2]) - int(ram[5]) - int(ram[6])
141141
 usedpercent = ((float(used) / float(ram[1])) * 100)
142142
 if usedpercent <= 33:
143143
  ramdisplay = '%s%s MB %s/ %s MB' % (greenB, used, clear, ram[1])
144144
  output('RAM', ramdisplay)
145145
 if usedpercent > 33 and usedpercent < 67:
146146
  ramdisplay = '%s%s MB %s/ %s MB' % (yellowB, used, clear, ram[1])
147147
  output('RAM', ramdisplay)
148148
 if usedpercent >= 67:
149149
  ramdisplay = '%s%s MB %s/ %s MB' % (redB, used, clear, ram[1])
150150
  output('RAM', ramdisplay)
152152
# Screenshot Function.
153153
screen = '%s' % options.screenshot
154154
def screenshot():
155155
 print 'Taking shot in',
156156
 list = range(1,6)
157157
 list.reverse()
158158
 for x in list:
159159
   print '%s..' % x,
160160
   sys.stdout.flush()
161161
   sleep(1)
162162
 print 'Say Cheeze!'
163163
 subprocess.check_call(['scrot'])
165165
# Operating System Function.
166166
def distro_display():
167167
 arch = Popen(['uname', '-m'], stdout=PIPE).communicate()[0].rstrip('\n')
168168
 if DetectDistro == 'Debian':
169169
  release = Popen(['lsb_release', '-r'], stdout=PIPE).communicate()[0].split(':')[1].lstrip('\t').rstrip('\n')
170170
  distro = 'Debian %s %s' % (release, arch)
171171
 if DetectDistro == 'Ubuntu':
172172
  release = Popen(['lsb_release', '-r'], stdout=PIPE).communicate()[0].split(':')[1].lstrip('\t').rstrip('\n')
173173
  distro = 'Ubuntu %s %s' % (release, arch)
174174
 if DetectDistro == 'Arch':
175175
  distro = 'Arch Linux %s' % arch
176176
 if DetectDistro == 'Fedora':
177177
  release = Popen(['lsb_release', '-r'], stdout=PIPE).communicate()[0].split(':')[1].lstrip('\t').rstrip('\n')
178178
  distro = 'Fedora %s %s' % (release, arch)
179179
 if DetectDistro == 'CrunchBang':
180180
  release = Popen(['lsb_release', '-r'], stdout=PIPE).communicate()[0].split(':')[1].lstrip('\t').rstrip('\n')
181181
 if DetectDistro == 'LinuxMint':
182182
  release = Popen(['lsb_release', '-r'], stdout=PIPE).communicate()[0].split(':')[1].lstrip('\t').rstrip('\n')
183183
  distro = 'Mint %s %s' % (release, arch)
184184
 output('OS', distro)
186186
# Kernel Function.
187187
def kernel_display():
188188
 kernel = Popen(['uname', '-r'], stdout=PIPE).communicate()[0].rstrip('\n')
189189
 output ('Kernel', kernel)
191191
def user_display():
192192
 username= os.getenv('USER')
193193
 output ('User', username)
195195
# Hostname Function.
196196
def hostname_display():
197197
 hostname = Popen(['uname', '-n'], stdout=PIPE).communicate()[0].rstrip('\n')
198198
 output('Hostname', hostname)
200200
# CPU Function.
201201
def cpu_display():
202202
 file = open('/proc/cpuinfo').readlines()
203203
 cpuinfo = re.sub('  +', ' ', file[4].replace('model name\t: ', '').rstrip('\n'))
204204
 output ('CPU', cpuinfo)
206206
# Uptime Function.
207207
def uptime_display():
208208
 fuptime = int(open('/proc/uptime').read().split('.')[0])
209209
 day = int(fuptime / 86400)
210210
 fuptime = fuptime % 86400
211211
 hour = int(fuptime / 3600)
212212
 fuptime = fuptime % 3600
213213
 minute = int(fuptime / 60)
214214
 uptime = ''
215215
 if day == 1:
216216
  uptime += '%d day, ' % day
217217
 if day > 1:
218218
  uptime += '%d days, ' % day
219219
 uptime += '%d:%02d' % (hour, minute)
220220
 output('Uptime', uptime)
222222
# Desktop Environment Function.
223223
def de_display():
224224
 for key in de_dict.keys():
225225
  if key in processes:
226226
   de = de_dict[key]
227227
   output ('Desktop Environment', de)
229229
# Window Manager Function.
230230
def wm_display():
231231
 for key in wm_dict.keys():
232232
  if key in processes:
233233
   wm = wm_dict[key]
234234
   output ('Window Manager', wm)
236236
# Shell Function.
237237
def sh_display():
238238
 sh = os.getenv("SHELL").split('/')[-1].capitalize()
239239
 output ('Shell', sh)
241241
# Terminal Function.
242242
def term_display():
243243
 term = os.getenv("TERM").split('/')[-1].capitalize()
244244
 output ('Terminal', term)
246246
# Packages Function.
247247
def packages_display():
248248
 if DetectDistro == 'Ubuntu':
249249
  p1 = Popen(['dpkg', '--get-selections'], stdout=PIPE)
250250
  p2 = Popen(['grep', '-v', 'deinstall'], stdin=p1.stdout, stdout=PIPE)
251251
  p3 = Popen(['wc', '-l'], stdin=p2.stdout, stdout=PIPE)
252252
  packages = p3.communicate()[0].rstrip('\n')
253253
  output ('Packages', packages)
254254
 if DetectDistro == 'Arch':
255255
  p1 = Popen(['pacman', '-Q'], stdout=PIPE)
256256
  p2 = Popen(['wc', '-l'], stdin=p1.stdout, stdout=PIPE)
257257
  packages = p2.communicate()[0].rstrip('\n')
258258
  output ('Packages', packages)
259259
 if DetectDistro == 'Debian':
260260
  p1 = Popen(['dpkg', '--get-selections'], stdout=PIPE)
261261
  p2 = Popen(['grep', '-v', 'deinstall'], stdin=p1.stdout, stdout=PIPE)
262262
  p3 = Popen(['wc', '-l'], stdin=p2.stdout, stdout=PIPE)
263263
  packages = p3.communicate()[0].rstrip('\n')
264264
  output ('Packages', packages)
265265
 if DetectDistro == 'CrunchBang':
266266
  p1 = Popen(['dpkg', '--get-selections'], stdout=PIPE)
267267
  p2 = Popen(['grep', '-v', 'deinstall'], stdin=p1.stdout, stdout=PIPE)
268268
  p3 = Popen(['wc', '-l'], stdin=p2.stdout, stdout=PIPE)
269269
  packages = p3.communicate()[0].rstrip('\n')
270270
  output ('Packages', packages)
271271
 if DetectDistro == 'Fedora':
272272
  p1 = Popen(['rpm', '-qa'], stdout=PIPE)
273273
  p2 = Popen(['wc', '-l'], stdin=p1.stdout, stdout=PIPE)
274274
  packages = p2.communicate()[0].rstrip('\n')
275275
 if DetectDistro == 'LinuxMint':
276276
  p1 = Popen(['dpkg', '--get-selections'], stdout=PIPE)
277277
  p2 = Popen(['grep', '-v', 'deinstall'], stdin=p1.stdout, stdout=PIPE)
278278
  p3 = Popen(['wc', '-l'], stdin=p2.stdout, stdout=PIPE)
279279
  packages = p3.communicate()[0].rstrip('\n')
280280
  output ('Packages', packages)
282282
# Disk Function.
283283
def disk_display():
284284
 p1 = Popen(['df', '-Tlh', '--total', '-t', 'ext4', '-t', 'ext3', '-t', 'ext2', '-t', 'reiserfs', '-t', 'jfs', '-t', 'ntfs', '-t', 'fat32', '-t', 'btrfs', '-t', 'fuseblk'], stdout=PIPE).communicate()[0]
285285
 total = p1.splitlines()[-1]
286286
 used = total.split()[3]
287287
 size = total.split()[2]
288288
 usedpercent = float(re.sub("[A-Z]", "", used)) / float(re.sub("[A-Z]", "", size)) * 100
289289
 if usedpercent <= 33:
290290
  fs = '%s%s %s/ %s' % (greenB, used, clear, size)
291291
  output ('Disk', fs)
292292
 if usedpercent > 33 and usedpercent < 67:
293293
  fs = '%s%s %s/ %s' % (yellowB, used, clear, size)
294294
  output ('Disk', fs)
295295
 if usedpercent >= 67:
296296
  fs = '%s%s %s/ %s' % (redB, used, clear, size)
297297
  output ('Disk', fs)
300300
# Run functions found in 'display' array.
301301
for x in display:
302302
 funcname=x+'_display'
303303
 func=locals()[funcname]
304304
 func()
306306
# Array containing values.
307307
result.extend(['']*(20 - len(display)))
309309
# Result.
310310
if DetectDistro == 'Ubuntu':
311311
 print """
312312
%s                          .oyhhs:   %s
313313
%s                 ..--.., %sshhhhhh-   %s
314314
%s               -+++++++++`:%syyhhyo`  %s
315315
%s          .--  %s-++++++++/-.-%s::-`    %s
316316
%s        .::::-   %s:-----:/+++/++/.   %s
317317
%s       -:::::-.          %s.:++++++:  %s
318318
%s  ,,, %s.:::::-`             %s.++++++- %s
319319
%s./+++/-%s`-::-                %s./////: %s
320320
%s+++++++ %s.::-                        %s
321321
%s./+++/-`%s-::-                %s:yyyyyo %s
322322
%s  ``` `%s-::::-`             %s:yhhhhh: %s
323323
%s       -:::::-.         %s`-ohhhhhh+  %s
324324
%s        .::::-` %s-o+///+oyhhyyyhy:   %s
325325
%s         `.--  %s/yhhhhhhhy+%s,....     %s
326326
%s               /hhhhhhhhh%s-.-:::;    %s
327327
%s               `.:://::- %s-:::::;    %s
328328
%s                         `.-:-'     %s
329329
%s                                    %s
330330
%s""" % ( redN, result[0], redB, redN, result[1], redB, redN, result[2], yellowB, redB, redN, result[3], yellowB, redB, result[4], yellowB, redB, result[5], redB, yellowB, redB, result[6], redB, yellowB, redB, result[7], redB, yellowB, result[8], redB, yellowB, redN, result[9], redB, yellowB, redN, result[10], yellowB, redN, result[11], yellowB, redN, result[12], yellowB, redN, yellowB, result[13], redN, yellowB, result[14], redN, yellowB, result[15], yellowB, result[16], yellowB, result[17], clear )
332332
if DetectDistro == 'Arch':
333333
 print """%s
334334
%s               +                %s
335335
%s               #                %s
336336
%s              ###               %s
337337
%s             #####              %s
338338
%s             ######             %s
339339
%s            ; #####;            %s
340340
%s           +##.#####            %s
341341
%s          +##########           %s
342342
%s         ######%s#####%s##;         %s
343343
%s        ###%s############%s+        %s
344344
%s       #%s######   #######        %s
345345
%s     .######;     ;###;`\".      %s
346346
%s    .#######;     ;#####.       %s
347347
%s    #########.   .########`     %s
348348
%s   ######'           '######    %s
349349
%s  ;####                 ####;   %s
350350
%s  ##'                     '##  %s
351351
%s #'                         `#  %s%s """ % (blueB, blueB, result[0], blueB, result[1], blueB, result[2], blueB, result[3], blueB, result[4], blueB, result[5], blueB, result[6], blueB, result[7], blueB, blueN, blueB, result[8], blueB, blueN, blueB, result[9], blueB, blueN, result[10], blueN, result[11], blueN, result[12], blueN, result[13], blueN, result[14], blueN, result[15], blueN, result[16], blueN, result[17], clear)
353353
if DetectDistro == 'Debian':
354354
 print """%s
355355
%s                                  %s
356356
%s          _sudZUZ#Z#XZo=_         %s
357357
%s       _jmZZ2!!~---~!!X##wx       %s
358358
%s    .<wdP~~            -!YZL,     %s
359359
%s   .mX2'       _xaaa__     XZ[.   %s
360360
%s   oZ[      _jdXY!~?S#wa   ]Xb;   %s
361361
%s  _#e'     .]X2(     ~Xw|  )XXc   %s
362362
%s .2Z`      ]X[.       xY|  ]oZ(   %s
363363
%s .2#;      )3k;     _s!~   jXf`   %s
364364
%s  1Z>      -]Xb/    ~    __#2(    %s
365365
%s  -Zo;       +!4ZwerfgnZZXY'      %s
366366
%s   *#[,        ~-?!!!!!!-~        %s
367367
%s    XUb;.                         %s
368368
%s     )YXL,,                       %s
369369
%s       +3#bc,                     %s
370370
%s         -)SSL,,                  %s
371371
%s            ~~~~~                 %s
372372
%s                                  %s
373373
%s """ % (magentaB, magentaB, result[0], magentaB, result[1], magentaB, result[2], magentaB, result[3], magentaB, result[4], magentaB, result[5], magentaB, result[6], magentaB, result[7], magentaB, result[8], magentaN, result[9], magentaN, result[10], magentaN, result[11], magentaN, result[12], magentaN, result[13], magentaN, result[14], magentaN, result[15], magentaN, result[16], magentaN, result[17], clear)
375375
if DetectDistro == 'Fedora':
376376
 print """
377377
%s           :/------------://        %s
378378
%s        :------------------://      %s
379379
%s      :-----------%s/shhdhyo/%s-://     %s
380380
%s    /-----------%somMMMNNNMMMd/%s-:/    %s
381381
%s   :-----------%ssMMMdo:/%s       -:/   %s
382382
%s  :-----------%s:MMMd%s-------    --:/  %s
383383
%s  /-----------%s:MMMy%s-------    ---/  %s
384384
%s :------    --%s/+MMMh/%s--        ---: %s
385385
%s :---     %soNMMMMMMMMMNho%s     -----: %s
386386
%s :--      %s+shhhMMMmhhy++%s   ------:  %s
387387
%s :-      -----%s:MMMy%s--------------/  %s
388388
%s :-     ------%s/MMMy%s-------------:   %s
389389
%s :-      ----%s/hMMM+%s------------:    %s
390390
%s :--%s:dMMNdhhdNMMNo%s-----------:      %s
391391
%s :---%s:sdNMMMMNds:%s----------:        %s
392392
%s :------%s:://:%s-----------://         %s
393393
%s :--------------------://           %s
394394
%s                                    %s
395395
%s """ % ( blueN, result[0], blueN, result[1], blueN, whiteB, blueN, result[2], blueN, whiteB, blueN, result[3], blueN, whiteB, blueN, result[4], blueN, whiteB, blueN, result[5], blueN, whiteB, blueN, result[6], blueN, whiteB, blueN, result[7], blueN, whiteB, blueN, result[8], blueN, whiteB, blueN, result[9], blueN, whiteB, blueN, result[10], blueN, whiteB, blueN, result[11], blueN, whiteB, blueN, result[12], blueN, whiteB, blueN, result[13], blueN, whiteB, blueN, result[14], blueN, whiteB, blueN, result[15], blueN, result[16], blueN, result[17], clear )
397397
if DetectDistro == 'CrunchBang':
398398
 print """
399399
%s                ___       ___      _  %s
400400
%s               /  /      /  /     | | %s
401401
%s              /  /      /  /      | | %s
402402
%s             /  /      /  /       | | %s
403403
%s     _______/  /______/  /______  | | %s
404404
%s    /______   _______   _______/  | | %s
405405
%s          /  /      /  /          | | %s
406406
%s         /  /      /  /           | | %s
407407
%s        /  /      /  /            | | %s
408408
%s ______/  /______/  /______       | | %s
409409
%s/_____   _______   _______/       | | %s
410410
%s     /  /      /  /               | | %s
411411
%s    /  /      /  /                |_| %s
412412
%s   /  /      /  /                  _  %s
413413
%s  /  /      /  /                  | | %s
414414
%s /__/      /__/                   |_| %s
415415
%s                                      %s
416416
%s                                      %s
417417
%s""" % ( whiteN, result[0], whiteN, result[1], whiteN, result[2], whiteN, result[3], whiteN, result[4], whiteN, result[5], whiteN, result[6], whiteN, result[7], whiteN, result[8], whiteN, result[9], whiteN, result[10], whiteN, result[11], whiteN, result[12], whiteN, result[13], whiteN, result[14], whiteN, result[15], whiteN, result[16], whiteN, result[17], clear )
419419
if DetectDistro == 'LinuxMint':
420420
 print """%s                                     %s
421421
%s MMMMMMMMMMMMMMMMMMMMMMMMMmds+.      %s
422422
%s MMm----::-://////////////oymNMd+`   %s
423423
%s MMd      %s/++                %s-sNMd:  %s
424424
%s MMNso/`  %sdMM    `.::-. .-::.` %s.hMN: %s
425425
%s ddddMMh  %sdMM   :hNMNMNhNMNMNh: `%sNMm %s
426426
%s     NMm  %sdMM  .NMN/-+MMM+-/NMN` %sdMM %s
427427
%s     NMm  %sdMM  -MMm  `MMM   dMM. %sdMM %s
428428
%s     NMm  %sdMM  -MMm  `MMM   dMM. %sdMM %s
429429
%s     NMm  %sdMM  .mmd  `mmm   yMM. %sdMM %s
430430
%s     NMm  %sdMM`  ..`   ...   ydm. %sdMM %s
431431
%s     hMM-  %s+MMd/-------...-:sdds %sMMM %s
432432
%s     -NMm-  %s:hNMNNNmdddddddddy/` %sdMM %s
433433
%s      -dMNs-``%s-::::-------.``    %sdMM %s
434434
%s       `/dMNmy+/:-------------:/yMMM %s
435435
%s          ./ydNMMMMMMMMMMMMMMMMMMMMM %s
436436
%s                                     %s
437437
%s                                     %s
438438
%s""" % ( whiteB, result[0], whiteB, result[1], whiteB, result[2], whiteB, greenB, whiteB, result[3], whiteB, greenB, whiteB, result[4], whiteB, greenB, whiteB, result[5], whiteB, greenB, whiteB, result[6], whiteB, greenB, whiteB, result[7], whiteB, greenB, whiteB, result[8], whiteB, greenB, whiteB, result[9], whiteB, greenB, whiteB, result[10], whiteB, greenB, whiteB, result[11], whiteB, greenB, whiteB, result[12], whiteB, greenB, whiteB, result[13], whiteB, result[14], whiteB, result[15], whiteB, result[16], whiteB, result[17], clear )
440440
if screen == 'True':
441441
 screenshot()

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me