hello my friends ;).. i have question how the importing system works ? like for example for buffer first lines in __init__ file you add something like this
from com.l2jfree.gameserver.model.actor.instance import L2PcInstance
so that means he look the information about that code in these folders
com.l2jfree.gameserver.model.actor.instance
com/l2jfree/gameserver/model/actor/instance
but if i don't have that kind of folder in my server folders?
Question
millers
hello my friends ;).. i have question how the importing system works ? like for example for buffer first lines in __init__ file you add something like this
from com.l2jfree.gameserver.model.actor.instance import L2PcInstance
so that means he look the information about that code in these folders
com.l2jfree.gameserver.model.actor.instance
com/l2jfree/gameserver/model/actor/instance
but if i don't have that kind of folder in my server folders?
or he reads them from .jar files?
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now