Hello All.

I created a login form and an application form in a single system.
For that navigation, i imported application form's file name in login form.
Then, we can easily execute it.
If we enter "user id" and "password" in login form, then it navigates to application form.
This all the general form.


Now, i created login form in one system[A] and application form in another system.
Here, i would like to import login form from system[A] to application form to system.
Is there any possibility of that process?

Recommended Answers

All 6 Replies

Yeah, the process to import is:

import modulename

Where modulename is the name of the module (I'm assuming login for your case)

"import modulename" , i think, it is perfect on stand alone system.
Is it would work on multiple systems?

It would work on any system that has python and the appropriate module, yes.

I think, we should specify the path along with the ip address.
Like.. "sys.path ..."
But , i don't know the exact syntax to work on.

" It would work on LAN "

HERE, I AM UNABLE TO SET THE PATH.
Is there any other way for getting the solution?

Regards
Bhanu

HERE, TO SET THE PATH.

import sys

sys.path.append( '/my/new/path' )
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.