Skip to content

Instantly share code, notes, and snippets.

@anjijava16
Created September 13, 2017 19:22
Show Gist options
  • Save anjijava16/e05a44d6802572684a7e1694c23d8923 to your computer and use it in GitHub Desktop.
Save anjijava16/e05a44d6802572684a7e1694c23d8923 to your computer and use it in GitHub Desktop.
import scala.io.Source
var fileName="input.csv"
for(line <- Source.fromFile(fileName).getLines){
println(line)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment