Advertisement
Fhernd

r4.8-omitir-primeros-elementos.py

Jun 18th, 2018
1,652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. from itertools import dropwhile
  2.  
  3. with open('contenido.txt') as f:
  4.     for linea in dropwhile(lambda linea: linea.startswith('#'), f):
  5.         print(linea, end='')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement