My ansible code looks like this: --- - name: Install python apt: pkg: "{{ item }}" update-cache: yes state: latest with_items: - python
cursor.execute("SELECT price FROM tabel WHERE id = 1600") print cursor.fetchone() gives me the output {u'price': u'4345.6'} how can I select just the value
I am Testing out connection to mysql server with python. I need to ssh into the server and establish a mysql connection. The following code works: from sshtunne