GoogleDiggerTool.py

Bulldog
by Bulldog · 3 posts
8 years ago in Python
Posted 8 years ago · Author
So recently ive been learning programming in python. along with a couple other languages. but this is something i made, while thinking what to make in python. besides this basic programe. i got ideas of other things to make that may be useful. in imvu's direction tho. 8). anyway here is my code it works for me. i have tested out on IE ( & google chrome). i have not tested in firefox. let me know if it works on your end. btw no cool gui just console. guess im oldschool? lol. i dont find it useful anough to make gui anyway. i have compiled the .py script into an exe, for those who dont have python installed. i will upload it if requested.

For those who don't have python installed download the exe: https://www.dropbox.com/s/dwhoibqvk3965h6/GooglediggerToolv1.zip?dl=0




Now for those of you who do know python. or atleast anough to run this module:

Code
################### | WWW.GOOGLE.COM /DIGGER TOOL | ##############################                 
######## ########## | by: BULLDOG : (5:16:AM  7/28/15)| ############################
####### searchWords = ["Imvu photoshop tuts"] // this could be used to store keywords##
##################################################################################

import webbrowser

print(" * WWW.GOOGLE.COM || DIGGER TOOL * \n")

#### funtion #2 begins ###########

def searchFunction():
 
    searchThis = "https://www.google.com/"

    lookup_This = str(raw_input("Google-Search: "))

    if lookup_This != "":
 
       webbrowser.open(searchThis + '#q=' + lookup_This)
       restart_Function()

    else:
     print("Something went wrong. could not search" + " re-directing. to google.com..")
     webbrowser.open(searchThis)

######## function ends #############



###### function #1 #######
     
def restart_Function():
  options = str(raw_input("PRESS 'T' TO SEARCH-NEW: "))
  if options == "t":
     searchFunction()

  else:
    webbrowser.close()
######### function ends ######

searchFunction()







win_cmd = raw_input('') # Don't die on me Jim!
Last edited by Bulldog on Sat Aug 29, 2015 11:10 pm, edited 1 time in total.
Posted 8 years ago
I don't really know python but I get the basics behind what this does. One question though, does this use the default system web browser or does python have it's own built in browser?
Posted 8 years ago · Author
D.M wrote:
I don't really know python but I get the basics behind what this does. One question though, does this use the default system web browser or does python have it's own built in browser?


It uses the system's web browser. wich ever browser you have set to default.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT
Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts