Anonymous user
Text processing/Max licenses in use: Difference between revisions
Text processing/Max licenses in use (view source)
Revision as of 13:55, 17 November 2008
, 15 years ago→{{header|Python}}
Line 82:
=={{header|Python}}==
<python>
out = 0
for job in open('mlijobs.txt'):
else:
maxout = out▼
if out
if out == max_out:
max_times.append(job.split()[3])
print "Maximum simultaneous license use is",
for time in
print " ", time</python>
Example output:
<pre>Maximum simultaneous license use is 99 at the following times:
|