Welcome, guest | Sign In | My Account | Store | Cart

based on user's profile/tag, and the target URL recommand

Python, 7 lines
1
2
3
4
5
6
7
f = open("rec_2.tmp")
try:
    for line in f:
        print line
finally:
    f.close()
sys.exit(0)

1 comment

Richard Harris 14 years, 7 months ago  # | flag

Seems more like "cat" to me. cat rec_2.tmp would have worked as well

Created by Yuechuan She on Sun, 29 Apr 2007 (PSF)
Python recipes (4591)
Yuechuan She's recipes (1)

Required Modules

  • (none specified)

Other Information and Tasks