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 6550959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:16:43+00:00 2026-05-25T12:16:43+00:00

I have created a python project which I began development in TextPad and Command

  • 0

I have created a python project which I began development in TextPad and Command Prompt.

http://pydev.org/manual_101_project_conf.html

This documentation briefly mentions creating a project with existing code, but I can’t make sense of it…

Is says: Create the project as if it was a new project, but leave the create default 'src' folder option unchecked and point the location to the location of the sources (or a level above) -- the next tutorial page will explain the steps to configure the PYTHONPATH (which should be done after creating the project this way).

which makes enough sense, so I created a new project and selected
Don't configure PYTHONPATH (to be done manually later on)

All fine, makes enough sense. So you can navigate to the next page where supposedly it says how to configure the PYTHONPATH, which should somehow make this project contain the src files???…

http://pydev.org/manual_101_project_conf2.html

Supposedly this link contains information to create the project from the existing code. It says how to create a source file, easy enough… So I take me existing code and copy it into the source folder?

Well this works well enough, I can now run my modules inside the src folder, but it mentions I should add it to the PYTHONPATH. If my files are running as expected why do I need to do this? What purpose does that serve?

Is there anything else I’m missing in this process? The documentation just confuses me so far… Looking for the basics, any information would be awesome

  • 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-25T12:16:44+00:00Added an answer on May 25, 2026 at 12:16 pm

    From my experience, configuring the PYTHONPATH in PyDev has two main interests :

    • an obvious one if you have multiple folders containing modules, it allows code running in folder a to import modules in folder b
    • another one, is that PyDev seems to rely on this to enable some parts of code completion, and also code analysis ; this last useful feature is not enabled for python sources that are not part of the PYTHONPATH.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created some python code which creates an object in a loop, and
I have a berkeley db file (*.bdb) which is created by the C implementation(python
I have created a Python module that creates and populates several SQLite tables. Now,
I have created a Python file to generate a Mandelbrot set image. The original
we are trying to create a calendar function in python. we have created a
I have been trying to create a simple program with Python which uses OpenCV
I have a project idea, but unsure if using Python would be a good
I have a Python script which uses Tkinter for the GUI. My little script
I have a Python project with the following directory structure: project/ project/src/ project/src/somecode.py project/src/mypackage/mymodule.py
I'm working on a small project, it is a web harvester created in python

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.