Message from Python discussions

December 2018

— Also because i have to run a script from a frontend to server and back to frontend with the output


But being a programmer already puts u in the crazy and obsessed category, anw happy it worked out for ya

— Well, im just thinking about the things, i haven't implement it yet

— Exactly what i’m talking about.

— I have for instance solved a case in which i didn't need to mess up with temporary shit

— I followed a tutorial to make a pdf in which i didnt need to buffer my pdf to a file, just send the object

Message permanent page

— Too many tuts out there for almost anything

— Yeah

— Is this madness?
class map(APIView):
def post(self, request):
image ='image')
with tempfile.NamedTemporaryFile(delete=True) as image:
with tempfile.NamedTemporaryFile(delete=True) as csv:
# save image to the location of the temporary file image
# run script with the csv as output parameter, bash script :(
# return the csv, the temporary files should close after this

Message permanent page

— Wow. Thanks alot man. I really appreciate this.👍😎.

— Kindly suggest me a good book ,pdf or tutorial to learn python thoroughly

— pythonres