How Do I Rectify This Error: "newline" Is Invalid Keyword Argument For This Function
I'm currently working with raspberry pi and using DHT11 to read temperature and humidity values every second. I have to save these values into a database in real time. Here's my co
Solution 1:
Check if you are using Python 3. It might be that you are using a previous version of Python that does not support newline (Python 2 and below). Newline argument was added on Python 3. https://docs.python.org/3/library/functions.html#open
Post a Comment for "How Do I Rectify This Error: "newline" Is Invalid Keyword Argument For This Function"