What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-11 08:25:12
Rejetto HTTP File Server
#!/usr/bin/python # Exploit Title: HttpFileServer 2.3.x Remote Command Execution # Google Dork: intext:"httpfileserver 2.3" # Date: 04-01-2016 # Remote: Yes # Exploit Author: Avinash Kumar Thapa aka "-Acid" # Vendor Homepage: http://re... Add solution -
Python 2022-03-06 11:10:04
python permutation
# A Python program to print all permutations using library function from itertools import permutations perm = permutations([1, 2, 3]) for i in list(perm): print (i) # (1, 2, 3) # (1, 3, 2) # (2, 1, 3) # (2, 3, 1) # (3, 1, 2) # (3, 2, 1) Add solution -
Python 2022-03-06 03:35:38
python find factors of a number
# Python Program to find the factors of a number # This function computes the factor of the argument passed def print_factors(x): print("The factors of",x,"are:") for i in range(1, x + 1): if x % i == 0: print(... Add solution -
Python 2022-03-05 09:35:20
tuples in python
# A tuple is a sequence of immutable Python objects. Tuples are # sequences, just like lists. The differences between tuples # and lists are, the tuples cannot be changed unlike lists and # tuples use parentheses, whereas lists use square brackets. tup1 =... Add solution -
Python 2022-03-03 20:05:03
how to install face_recognition
# To install face_recognition. First download boost from http://www.boost.org/users/download/ # Then navigate to C:\Users\(Username)\AppData\Local\Programs\Python\(Python version)\Lib\site-packages # Move the boost file into that location and extract it #... Add solution -
Python 2022-02-28 02:25:05
python wheel
whl files, or wheels, are a little-discussed part of Python, but they've been a boon to the installation process for Python packages. ... Wheels are a component of the Python ecosystem that helps to make package installs just work. They allow for faster i... Add solution -
Python 2022-02-28 01:10:22
fibo with for loop python
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
Python 2022-02-27 23:10:03
how to make tic tac toe in python
#Tic Tac Toe game in python by techwithtim board = [' ' for x in range(10)] def insertLetter(letter, pos): board[pos] = letter def spaceIsFree(pos): return board[pos] == ' ' def printBoard(board): print(' | |') print(' ' + board[1]... Add solution