Relative Content

Tag Archive for pythongitlab

Call function in Python script in a Gitlab repositry from another script in another Gitlab repository

I have two Gitlab repositories that are both private and on an internal server. The first repo (let’s call this Repo A) contains a Python script with some general functions. The second repo (Repo B) contains multiple Python scripts that are developed by the users. Calling a function in another Python script can easily be done by importing the script and then call the function, but I don’t know if this is possible when the scripts are in two different repo’s.