Python Forum
How to import dependencies from a different directory?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to import dependencies from a different directory?
#1
Hi,

I am a php developer and new to python. I am trying to create a custom script for an existing application and not sure how to do it.

this is the application https://github.com/jookies/jasmin and I am trying to run this script https://gist.github.com/farirat/efc604070f34ef699c8b

Do I have to put this inside the application directory or I can run from a different directory and include some kind of file similar to php autoload?

Any help greatly appreciated!

Thank you
Reply


Messages In This Thread
How to import dependencies from a different directory? - by ayunus - Feb-10-2018, 12:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is it possible to see dependencies before installing a package? quazirfan 4 1,101 Dec-06-2022, 02:50 PM
Last Post: snippsat
  How to import another Python in different directory? dee 3 941 Sep-28-2022, 06:41 PM
Last Post: dee
  Managing dependencies with pipenv t4keheart 6 3,005 Aug-05-2020, 12:39 AM
Last Post: t4keheart
  Python 2.7 Import error. Directory and filename conflict petcoo00 2 2,417 Feb-02-2020, 08:46 PM
Last Post: snippsat
  Easier way to manage dependencies? Tylersuard 2 2,383 Jan-01-2020, 09:19 PM
Last Post: Tylersuard
  Missing required dependencies when using pyinstaller Ghonim 15 23,565 Jul-15-2019, 08:47 AM
Last Post: shubhthkr
  How to import a file from outside the directory sylas 5 6,735 May-10-2018, 07:19 AM
Last Post: Larz60+
  How to find the list of dependencies not present in the remote artifactory repository csplrj 6 4,748 Mar-30-2018, 03:43 PM
Last Post: csplrj

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020