Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 451707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:59:44+00:00 2026-05-12T21:59:44+00:00

So we went to implement something today, and discovered that there already is several

  • 0

So we went to implement something today, and discovered that there already is several applications relying on the old implementation of our inhouse python library. Called cis_py. Now all applications for our implementation currently sit in a folder called, bin. This is where cis_py currently resides.

Now we went to deploy one of our big python applications, which uses the new version of our inhouse library. We cannot simply overwrite the existing versions of it. Since this will cause all of the existing applications to break.

Basically i cannot update the existing applications, nor can i rewrite the new application. Now i was thinking of trying the following:

cis\cis_py\<python library files>

Then do a search and replace on the existing application and change the following:

cis_py.<some python file>

To

cis.cis_py.<some python file>

Unfortunately this results in several of the __init__.py files in the library breaking, due to the use of this:

from cis_py import rga
from cis_py import util

Today is implementation day, and it must go live today, since in a few hours we start receiving data automatically.

How and what can i possibly do? Everything must reside in a single folder called bin. Due to the automatic processing system. Is there some way i can possibly trick python?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:59:44+00:00Added an answer on May 12, 2026 at 9:59 pm

    Try import sys; sys.path.insert(0, "cis") as the very start of your main Python file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As recently as several years ago, the developers actually made the builds that went
I went to http://www.json.org/js.html and downloaded the json2.js, thinking i'd be fine, afterall that
Dealing with an employee that went over my head
I've just come across something disturbing, I was trying to implement transactional replication from
I am working on an assignment that asks me to implement an AVL tree.
I've overrode the method find for ActiveRecord::Base and that went pretty well, now I
I'm taking a compiler-design class where we have to implement our own compiler (using
We've got our project running on JBoss 6 with Spring 3.0.5. Everything went smooth
I went to all the documentation, also I went to the IRC channel (BTW
I went to school for programming years ago and when I got out I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.