QoKr

Put that on fork yoo! YRFB

Python btww |
V

import requests #line:1
from os import path #line:2
from PIL import Image #line:3
def get_image (O00O0OO0OO0OOOO00 ):#line:6
""#line:10
O00OOOO0O000OOOO0 =path .split (O00O0OO0OO0OOOO00 )[1 ]#line:11
try :#line:12
OO0OOO0OOOO0000OO =requests .get (O00O0OO0OO0OOOO00 )#line:13
except OSError :#line:14
return False #line:15
if OO0OOO0OOOO0000OO .status_code ==200 :#line:16
OO000000O0O000OO0 =path .join (path .dirname (path .realpath (__file__ )),"")#line:17
with open (path .join (OO000000O0O000OO0 ,O00OOOO0O000OOOO0 ),"wb")as O00O0OO0OOO000O0O :#line:19
O00O0OO0OOO000O0O .write (OO0OOO0OOOO0000OO .content )#line:20
return O00OOOO0O000OOOO0 #line:21
get_image ("https://dogtime.com/assets/uploads/2011/03/puppy-development-1280x720.jpg")#line:24
img =Image .open ('puppy-development-1280x720.jpg')#line:29
img .show ()#line:30



Location
AU
Gender
Male
Occupation
Mod / Plugin Dev | Server Security

Contact

Discord
jason.#6009
Top