This blog contains notes from different learning sites. This notes falls in Information Security, Cyber Security, Network Security and other Security Domain class. Any suggestion to make this site helpful is truly welcome :)
1 xfile = open('mbox.txt')
1 while ( getline (xfile,line) ) {
1 READ (xfile,*,END=10) line
1 while (<xfile>) {
1 for line in xfile:
1 2 3 4 5 fhand = open('mbox.txt') x = 0 for line in fhand: x = x + 1 print(x)
1 2 3 4 5 6 7 8 9 From: stephen.marquard@uct.ac.za From: louis@media.berkeley.edu From: zqian@umich.edu From: rjlowe@iupui.edu ...
1 2 fname = input('Enter the file name: ') fhand = open(fname)
1 2 fhand = open('mbox-short.txt') inp = fhand.read()
No comments:
Post a Comment