What do you want to save?
Add Code snippet
New code examples
-
TypeScript 2021-11-19 20:45:17
Write a Python program to create a file containing student records where each record contain rollno and marks in 3 subjects separated by a comma (marks to be considered as list of 3 values).
##Write a Python program to create a file of elements of any data type (mixed data type, i.e. some elements maybe of type int, some elements of type float and some elements of type string). Split this file into three file containing elements of same dat... Add solution -
Python 2021-10-24 22:14:13
smtplib send pdf
def send_email_pdf_figs(path_to_pdf, subject, message, destination, password_path=None): ## credits: http://linuxcursor.com/python-programming/06-how-to-send-pdf-ppt-attachment-with-html-body-in-python-script from socket import gethostname #im... Add solution -
Other 2021-10-21 20:19:13
Onject ssd detection code
import cv2thres = 0.45 # Threshold to detect objectcap = cv2.VideoCapture(1)cap.set(3,1280)cap.set(4,720)cap.set(10,70)classNames= []classFile = 'coco.names'with open(classFile,'rt') as f: classNames = f.read().rstrip('\n').split('\n')configPath = 'ssd... Add solution
Best helpers
Ranking is empty