how to find where python is located
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
how to find where python is located
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
find python path windows
>>> import os
>>> import sys
>>> os.path.dirname(sys.executable)
'C:\Python25'
location finder python
#find location app by ip python
import PySimpleGUI as sg
import geocoder
import folium
import os
import webbrowser
import pyttsx3
def input1(ip):
engine = pyttsx3.init()
path = os.path.abspath("my_map.html")
g = geocoder.ip(ip)
myAddress = g.latlng
my_map1 = folium.Map(location=myAddress,
zoom_start=12)
folium.Marker(location=myAddress).add_to(my_map1)
my_map1.save("my_map.html")
engine.say("Processing")
engine.say("Finding your target location!")
engine.runAndWait()
webbrowser.open(path, new=2)
sg.theme('BlueMono')
layout = [[sg.Text('Enter the victim ip'), sg.InputText()],
[sg.Button('Ok'), sg.Button('Cancel')]]
window = sg.Window('Find Location', layout)
while True:
event, values = window.Read()
if event in (None, 'Cancel'):
engine = pyttsx3.init()
engine.say("Ok!, bye for now!")
engine.runAndWait()
break
if event == 'Ok':
input1(values[0])
window.Close()
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us