#!/usr/bin/env python
logfile = open("/var/log/syslog", "r")
for line in logfile:
line_split = line.split()
print line_split
list = line_split[0], line_split[1], line_split[2], line_split[4]
print list
p {
margin-top: 0;
text-align: justify;
}
h3 {
font: italic normal 1.4em georgia, sans-serif;
letter-spacing: 1px;
margin-bottom: 0;
color: #7D775C;
}
a:link {
font-weight: bold;
text-decoration: none;
color: #B7A5DF;
}
SELECT OrderNumber, TotalAmount, FirstName, LastName, City, Country
FROM Customer C LEFT JOIN [Order] O
ON O.CustomerId = C.Id
ORDER BY TotalAmount
Made with Platform