Jump to content
×
×
  • Create New...
  • 0

where are python import files


semoka10

Question

I'm trying to get a better understanding of the source code, what the functions do etc, but I can't find many of the included files. For example uitarget.py has

Spoiler

import app
import uiToolTip
import item
import ui
import player
import net
import wndMgr
import messenger
import guild
import chr
import nonplayer
import localeInfo
import constInfo

but where exactly can i find these files? 

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

4 answers to this question

Recommended Posts

  • 0
9 minutes ago, semoka10 said:

Do you know where I can find wndMgr and item for example? Cause they aren't in root, but I don't think they are default modules of python either

i'm pretty sure they can be found inside the binary

 

I'm a beginner when it comes to coding - so I might be wrong

Edited by Jxxkub
Link to comment
Share on other sites

  • 1
7 minutes ago, Jxxkub said:

most of them are linked from files that can be found inside the same folder - others are modules importerd from python itself

 

all python files are located in root or root/uiscript

Do you know where I can find wndMgr and item for example? Cause they aren't in root, but I don't think they are default modules of python either

Link to comment
Share on other sites

  • 1
1 minute ago, Jxxkub said:

i'm pretty sure they can be found inside the binary

 

I'm a beginner when it comes to coding - so I might be wrong

Yeah, just found them, they are .cpp files that have module in their name. For example PythonItemModule.cpp is for import item

  • Love 1
Link to comment
Share on other sites

  • 0

most of them are linked from files that can be found inside the same folder - others are modules importerd from python itself

 

all python files are located in root or root/uiscript

Edited by Jxxkub
bb
Link to comment
Share on other sites

Create an account or sign in to comment

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

Create an account

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

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.