micolous / gpsd-chrome-polyfill

gpsd polyfill for Chrom{e,ium}
GNU Lesser General Public License v3.0
5 stars 2 forks source link

Add gpspipew python3 version #2

Open fasheng opened 4 years ago

fasheng commented 4 years ago

For python3 is the default python in many distros, and stdout don't allow write bytes directly in python3. So I take some time to make gpspipew works and hope it helps others.

sophiedingg commented 1 year ago

If I wanted to pull coordinates in json or plaintext directly from gpspipe without an extension, is there any way that I could do that?

fasheng commented 1 year ago

As I know, browser don't allow run local command directly without an extension, except you hack the browser engine.