Thank you for inputs really appreciate it. I was able to get an
understanding of whats going on here in code. Moving forward, I have a more
detailed question. In the following code, I want to capture print('Recording
GPS Position...') on sd card, for now, this is printing on terminal
directly I wa
Hi,
Refer :
https://stackoverflow.com/questions/27238680/writing-integers-in-binary-to-file-in-python
With Python 3 you can do the following:
i = 6277101735386680763835789423176059013767194773182842284081with
open('out.bin', 'wb') as file:
file.write((i).to_bytes(24, byteorder='big', signed=
I think you shud open file as binary write and try to write the integer after
converting it to utf-8
Best Regards,
Sushrut Deshpande
Founder - Qvestron Systems Pvt. Ltd.,
dsush...@qvestron.com
+91 951160
On 27 Oct 2017 00:20, at 00:20, Ajinkya Bobade
wrote:
>Hello,
>This is my first ques
Hi Ajinkya,
This is my two bits of understanding with files. The function
.write( object) takes a string type of object. In
this case, trying to push in a variable of type integer would obviously
throw an error.
With regards to your mail, we have to take into consideration that the
followin