Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>897</width>
<height>523</height>
# coding: utf-8
from datetime import datetime
from time import sleep
from psycopg2 import connect, OperationalError
connected = False
while not connected:
try:
@altendky
altendky / client.py
Last active April 21, 2018 20:51 — forked from riteshdroid/client output
neq_one
import requests
url='http://127.0.0.1:8090/blue'
hj=requests.post(url,{
"device":"TemperatureSensor",
"value":"20",
"timestamp":"25/01/2017 10:10:05"
})
import sys
import os
from PyQt5.Qt import * # noqa
def main():
class Foo(QMainWindow):
def __init__(self):
import sys
import os
from PyQt5.Qt import * # noqa
def main():
class Foo(QMainWindow):
def __init__(self):
import sys
import os
from pathlib import Path
from PyQt5.Qt import * # noqa
class FileSystemModel(QFileSystemModel):
import sys
import os
from pathlib import Path
from PyQt5.Qt import * # noqa
class FileSystemModel(QFileSystemModel):
import sys
import os
import time
from pathlib import Path
from PyQt5.Qt import * # noqa
class FileSystemModel(QFileSystemModel):
import sys
import os
import time
from pathlib import Path
from PyQt5.Qt import * # noqa
class FileSystemModel(QFileSystemModel):
import sys
import os
import time
from pathlib import Path
from PyQt5.Qt import * # noqa
class FileSystemModel(QFileSystemModel):