What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-09-08 18:55:02
sql insert bulk list of dictionaries
for item_code, companywise_item_data in items_default_data.items(): for company, item_default_data in companywise_item_data.items(): to_insert_data.append(( frappe.generate_hash("", 10), item_code, 'Item', 'item_defaul... Add solution -
Python 2021-08-31 23:28:02
python drop in tuple
my_tuple = (10, 20, 30, 40, 50) # converting the tuple to the list my_list = list(my_tuple) print my_list # output: [10, 20, 30, 40, 50] # Here i wanna delete second element "20" my_list.pop(1) # output: [10, 30, 40, 50] # As you aware that p... Add solution -
Python 2021-08-27 18:00:02
python convert current datetime to rfc 1123 format
from wsgiref.handlers import format_date_time from datetime import datetime from time import mktime now = datetime.now() stamp = mktime(now.timetuple()) print format_date_time(stamp) #--> Wed, 22 Oct 2008 10:52:40 GMT Add solution