« first day (2067 days earlier)      last day (1511 days later) » 

13:15
0
Q: Manage output devices in python

Chris Pfrom PyQt5 import QtCore, QtGui, QtWidgets, QtMultimedia import data class ManageSoundsCode(): def __init__(self,ui,Form,main_code,windows_list_number): self.windows_list_number = windows_list_number #self.primary_output_device = data.read_setting("primary output device")[0]["...

1 message moved from Python
 
6 hours later…
19:14
BASE_URL = "myolal80.pythonanywhere.com"
def HtmlRequest(key,info):
if(info == True):
url = "http://" + BASE_URL + "/wp/_" + str(key) + "_"
strdict = requests.get(url)
a = ast.literal_eval(strdict.text)
return a
else:
url = "http://" + BASE_URL + "/wp/" + str(key)
strdict = requests.get(url)
a = ast.literal_eval(strdict.text)
return a
1 message moved from Python

« first day (2067 days earlier)      last day (1511 days later) »