>_ partmor's log
  • Programming
  • Self-notes
  • Archive

Concatenating text files in Python

We can use the built-in inputfile module to concatenate files while optionally applying filters and transformations to each line, without abusing nested with blocks and for loops.

more ...

Pedro Arturo Morales Maries
Software engineer - applied mathematics and quantitative modelling

  • Social

    • twitter
    • linkedin
    • github
  • Tags

    • Mypy
    • Pandas
    • Python

© 2020 Pedro Arturo Morales Maries · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top