tag:blogger.com,1999:blog-27854051.post4285548664482969476..comments2025-03-06T21:33:36.994+02:00Comments on PythonWise: gcalc - Command line interface to Google calculatorMiki Tebekahttp://www.blogger.com/profile/03296782049507092947noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-27854051.post-70957415853829220312011-01-18T20:21:14.901+02:002011-01-18T20:21:14.901+02:00Yeah, for some definition of "fun" :)
F...Yeah, for some definition of "fun" :)<br /><br />Fixed now.Miki Tebekahttps://www.blogger.com/profile/03296782049507092947noreply@blogger.comtag:blogger.com,1999:blog-27854051.post-3840377296371874292011-01-18T18:22:51.831+02:002011-01-18T18:22:51.831+02:00suprisingly your suggestion works, but add a digit...suprisingly your suggestion works, but add a digit and I get this:<br /><br />gcalc '12*110usd' 'bulgarian money'<br /><br />error: 'utf8' codec can't decode byte 0xa0 in position 1: invalid start byte<br /><br /><br />This is so funny!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-27854051.post-31413664932765627632011-01-18T16:54:56.400+02:002011-01-18T16:54:56.400+02:00[06:53] ~ $gcalc '12*10usd' 'bulgarian...[06:53] ~ $gcalc '12*10usd' 'bulgarian money'<br />175.36809 Bulgarian levs<br />[06:54] ~ $<br /><br />Close enough :)Miki Tebekahttps://www.blogger.com/profile/03296782049507092947noreply@blogger.comtag:blogger.com,1999:blog-27854051.post-21111792718861334052011-01-18T12:04:27.150+02:002011-01-18T12:04:27.150+02:00Actually it's only for unit conversions and no...Actually it's only for unit conversions and not a complete cmd line interface to the google calculator. The latter would support such things as "12 * 1000 usd in bulgarian money"<br /><br />coca cola guyAnonymousnoreply@blogger.com