Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/w/h/whatsapp_history-HEAD/whatsapp.py   whatsapp_history(Download)
import codecs
 
from common import COLORS, TEMPLATEBEGINNING, TEMPLATEEND, ROWTEMPLATE
from common import get_color, reset_colors, get_date, sanitize_filename, iterate_with_progress, get_output_dirs
 
		mfrom, color = get_from(conn, is_group, contact_id, contact_name, your_name, row)
		html.write((ROWTEMPLATE % (color, mdatetime, mfrom, mtext)))
	html.write(TEMPLATEEND)
	html.close()
 

src/w/h/whatsapp_history-HEAD/sms.py   whatsapp_history(Download)
import sqlite3
import os
import shutil
 
from common import COLORS, TEMPLATEBEGINNING, TEMPLATEEND, ROWTEMPLATE
		color = COLORS[0] if is_from_me else get_color(handle_id)
		html.write((ROWTEMPLATE % (color, mdatetime, mfrom, mtext)))
	html.write(TEMPLATEEND)
	html.close()