How to run IMVU with Python 3

DataMine
by DataMine · 12 posts
10 years ago in Python
Posted 10 years ago · Author
This simple code will check to see if IMVU exists and if it does, run it.

Code
import os
import subprocess

#Define IMVU client location
clientpath = os.environ['APPDATA'] + "\IMVUClient\IMVUClient.exe"

if os.path.isfile(clientpath):
    try:
        subprocess.call(clientpath)
    except IOError as e:
        print(e)
        input()


To use this code, download and install python 3 from here: http://www.python.org/download/

After that, you have 2 options. 1) You can open IDLE (Python GUI) and paste the code in and just run it. You can also save the script to be used again. 2) You can open a text editor and paste the code in there and save it as "Run IMVU.py". Then you can just double click on the file to launch it.
Posted 10 years ago
I forgot all about Python, haven't used that in a long time...
Posted 7 years ago
What does running it in python do?
Posted 7 years ago
Gamergang1 wrote:
What does running it inpython do?


@Gamergang1
, there is your answer

D.M wrote:
This simple code will check to see if IMVU exists and if it does, run it.


it basicly opens your imvu client.instead of opening the imvu icon on your desktop you open that file you make in python

i personaly would like to learn how to make stuff in python :)
Posted 7 years ago
Oooh so basically you can create your own IMVU and run it through the program?
Posted 7 years ago · Author
Gamergang1 wrote:
Oooh so basically you can create your own IMVU and run it through the program?


No, the code starts the IMVU Client for you. This code performs the same task as double clicking the IMVU shortcut on your desktop.
Posted 4 years ago
useful script to run, if u need imvu to startup quickly (no finding the shortcut needed).
im guessing this, if u have loggin info saved for imvu, could this automatically log u in once script is ran?.
Posted 4 years ago
Seems to me this is only useful if you are already doing something else in Python and want/need the IMVU client up and running within that context. Am I wrong?
Posted 4 years ago
Soulljah wrote:
Seems to me this is only useful if you are already doing something else in Python and want/need the IMVU client up and running within that context. Am I wrong?


@Soulljah


I think it is more of a proof of concept, for educational purposes than something that is useful. Consider it a curiosity quencher?
Posted 4 years ago
@DataMine


this is nice piece of code. i'll give it a try. ^.^

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