PPaste!

Python vs Not Python

Home - All the pastes - Authored by Thooms

Raw version

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
def chargerOptions():
	l=[]
	f = open('Options.txt','r')
	while True:
		ligne = f.readline()
		if not ligne:
			break
		l.append(ligne)
	for i in range(len(l)):
		print(l[i])
	f.close()

def chargerOptions():
    with open('Options.txt') as f:
        map(print, f.readlines())