def fen_to_piece_placement_array(fen):
	piece_placement = fen.split()[0]
	piece_placement_array = [list(line) for line in piece_placement.split("/")]
	piece_placement_array1 = []
	for line in piece_placement_array:
		new_line = []
		for char in line:
			try:
				number=int(char)
				new_line.extend([1]*number)
			except:
				new_line.append(char)

		piece_placement_array1.append(new_line)
	return piece_placement_array1
Determine the encoding for `source` (a string), according to PEP 263.
dataset/ETHPy150Open nivm/learningchess/chess/complexmove/simplemove.py/fen_to_piece_placement_array--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/coverage/phystokens.py/source_encoding