News for hackers. Stuff that matters.
Re:PHP: A fractal of bad design by eevee on Tuesday April 10, 2012 @07:56PM (#3825142)
JSON will let you do that just as well. Or, if you must, there's ast.literal_eval which will only allow Python literals.
Re:PHP: A fractal of bad design by scott_s on Tuesday April 10, 2012 @08:25PM (#3825246)
I see no reason to use JavaScript to process my data files - keep in mind this is data post-processing of experiments, not a user-facing application. And I enjoy Python, so I'll stick with it. But thanks for the pointer to literal_eval, I have not explored that part of the standard library.