Re: [BangPypers] Capture and save running process on Python 3.6

2017-11-02 Thread Noufal Ibrahim KV
On Thu, Nov 02 2017, Ajinkya Bobade wrote: > Hello, > > Hope someone can help me on this. In the following code, I want to capture > print('Recording GPS Position...') on sd card, for now, this is printing > on terminal directly I want to capture this runtime process (p_1) from > terminal and sto

Re: [BangPypers] Capture and save running process on Python 3.6

2017-11-02 Thread Ajinkya Bobade
I wrote a code which works for text files: This code redirects the output to sd card it goes as follows: import sys oldstdout = sys.stdout # So you can restore later sys.stdout = open("/Volumes/aj/hello world.txt", 'w') # Or whatever your logfile is for i in range(10): print ("Hello", i)

Re: [BangPypers] Regarding organizing PyCon India 2018 at Bangalore

2017-11-02 Thread Ayush Kesarwani
Count me in for organizing PyCon India 2018 at Bangalore. ___ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers