« first day (1969 days earlier)      last day (1609 days later) » 

09:55
DSS = pd.Series(df['DSS'])
if (DSS.item().str.contains('DE') or DSS.item().str.contains('MS')):
    print('Valid DSS')
1 message moved from Python
10:30
3 messages moved from Python
 
3 hours later…
user13894237
13:09
0
Q: Chromedriver error when trying to run a selenium bot

question boiI am trying to run this code to print labels for things that have sold on ebay: from selenium import webdriver from selenium.webdriver.common.keys import Keys PATH = "C:\src\chromedriver.exe" driver = webdriver.Chrome(PATH) driver.get("https://www.ebay.co.uk/sh/ord/?filter=status%3AAWAITING_SHIP...

1 message moved from Python
1 message moved from Python
 
2 hours later…
15:12
import pprint

def registerTreat(lis): #lis = a list of parameters
	lSize = len(lis)
	if lSize == 0 or lSize == 1 or lSize == 2:
		print('error')
	elif lSize == 3:
		try:
			t[lis[0]][lis[1]] = lis[-1]
		except:
			try:
				t[lis[0]] = {}
				t[lis[0]][lis[1]] = lis[-1]
			except:
				print('error 1')
	elif lSize == 4:
		try:
			t[lis[0]][lis[1]][lis[2]] = lis[-1]
		except:
			try:
				t[lis[0]][lis[1]] = {}
				t[lis[0]][lis[1]][lis[2]] = lis[-1]
			except:
				try:
					t[lis[0]] = {}
					t[lis[0]][lis[1]] = {}
1 message moved from Python
user13894237
15:56
accident
3 messages moved from Python

« first day (1969 days earlier)      last day (1609 days later) »