Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

281
Views
Files don't import in vscode

I just started using vscode and my files in the same directory wont import to files in the same directory. For example when I link to css or javascript files from an html file, they aren't read and the websits opens without the functions in the javascript file operating and same goes for the css file. When I imported flask forms from a file to my main flask application page in python, it wouldn't work and I would get the error, 'no module named 'flaskform'.

What settings configurations am I missing for vscode?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

If you are using the debugger make sure it uses the correct working directory.
To use the current folder as the debugger working directory you can create a config file like described here.
In this file you can add "cwd": "${fileDirname}" This works for Python debugging:

"configurations": [
    {
        "name": "Python: Current File",
        "type": "python",
        "request": "launch",
        "program": "${file}",
        "console": "integratedTerminal",
        "cwd": "${fileDirname}"
    }
]
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!