tag:blogger.com,1999:blog-5822092.post6767018981479563946..comments2023-10-21T04:29:35.843-07:00Comments on In The End, Nothing Happened: Nokia, the next Geoworks?Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-5822092.post-77222958290516111192010-06-24T16:06:56.837-07:002010-06-24T16:06:56.837-07:00Thanks. Naturally it is possible to write a functi...Thanks. Naturally it is possible to write a function read_variable(file, variable_name) in any language, but sooner or later you have to face fundamental APIs and language syntax.<br /><br />Pickle is almost there: on the one hand, it is part of core Python APIs and does allow reading a variable in one line. On the other hand, the files are not robustly human editable with a text editor:<br /><br />(dp0<br />Vaccess_point<br />p1<br />VWinsock<br />p2<br />s.Simohttps://www.blogger.com/profile/08899306922236159202noreply@blogger.comtag:blogger.com,1999:blog-5822092.post-15844874482925781142010-06-22T07:17:09.450-07:002010-06-22T07:17:09.450-07:00Good post. I liked the examples. I think reading o...Good post. I liked the examples. I think reading one configuration variable should take one line of code, like python-like<br />pickle.load(open("file","r"))["access_point"]J Kujalanoreply@blogger.com