Re: [BangPypers] [PythonExpress] Volunteer to conduct Intermediate level python3 workshop

2017-10-26 Thread vijay kumar
Hi All, We are still looking for volunteer to conduct workshop . Please treat this as urgent request as tutor has drop the request at last moment and college have planned for workshop. On Fri, Oct 20, 2017 at 11:24 PM, vijay kumar wrote: > Hi All, > > We are looking for volunteer to help us cond

[BangPypers] writing file with random extension to sd card using python

2017-10-26 Thread Ajinkya Bobade
Hello, This is my first question on this forum point me in a right way if I posted in a wrong place. That aside I am trying to write a file with '.bag ' extension to sd card( .bag is used in Ross programming). I wrote a code to write a simple integer to disk as shown file = open("/path/to/file",

Re: [BangPypers] writing file with random extension to sd card using python

2017-10-26 Thread Sayantan
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

Re: [BangPypers] writing file with random extension to sd card using python

2017-10-26 Thread Sushrut Deshpande
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

Re: [BangPypers] writing file with random extension to sd card using python

2017-10-26 Thread Krishnan Nagarajan
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=

[BangPypers] Details

2017-10-26 Thread Vijaya Lakshmi
Hi, Name: Vijayalakshmi G M Contact No: 7406626859 With Regards Vijayalakshmi G M IT Professional Trainer Cell No: 7406626859 Website: www.wincorporatetraining.com Facebook: www.facebook.com/wincorporate ___ BangPypers mailing list Ban