|
codepad
|
|
|
Saved pastes by Saumya_Agnihotri:
import string
from random import *
characters = string.ascii_letters + string.punctuation + string.digits
password = "".join(choice(characters) for x in range(randint(8,16)))
|
view (6 lines, 1 line of output) |
from bs4 import BeautifulSoup
from urllib.request import urlopen
html = urlopen("https://github.com/").read().decode('utf-8')
print(html)
|
view (8 lines, 4 lines of output) |
from urllib.request import urlopen
html = urlopen('http://localhost:8888/tree').read().decode('utf-8')
print(html)
|
view (14 lines, 4 lines of output) |
#include<bits/stdc++.h>
using namespace std;
bool myfunction (int i, int j) {
return (i==j);
|
view (35 lines, 1 line of output) |
#include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
|
view (40 lines, 1 line of output) |