This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Story { | |
object Once { def upon = (x: a.type) => x } | |
object a { def time = (x: languages.type) => x } | |
object languages { def were = (x: inflexible.type) => x } | |
object inflexible { def along = (x: came.type) => x } | |
object came { def Scala = (x: inflexible.type) => x } | |
implicit def string(s : String) : inflexible.type = inflexible | |
def main(args: Array[String]): Unit = { | |
Once upon a time languages were inflexible; "Then " along came Scala ". The End!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scipy.io | |
import numpy as np | |
data = scipy.io.loadmat("subject.mat") | |
for i in data: | |
if '__' not in i and 'readme' not in i: | |
np.savetxt(("filesforyou/"+i+".csv"),data[i],delimiter=',') |