Message from Python discussions
December 2018
— 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
— Too many tuts out there for almost anything
— Yeah
— Is this madness?class map(APIView):
def post(self, request):
image = request.data.get('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
print("TODO")
— Wow. Thanks alot man. I really appreciate this.👍😎.
— Kindly suggest me a good book ,pdf or tutorial to learn python thoroughly
— pythonres
— Is there any django package for implementing chats
— I think so
— Ow , what's dis?
— Yes, practice practice practice