question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't import external file

See original GitHub issue

This works fine: ` from browser import document from browser.html import FORM, INPUT, LABEL, BR

def LoginForm():

form = FORM(id="meu-forme", action="#", method="get", target="_blank")
form <= LABEL('seu nome ', For='nome', name="nome")
form <= INPUT(id='nome')
form <= BR()
form <= LABEL('sua senha', For='senha')
form <= INPUT(id='senha', type='password', name="senha")
form <= BR()
form <= INPUT(id='submit', type='submit')

return form

document <= LoginForm() ` But this doesn’t:

` from browser import document from login_form import LoginForm

document <= LoginForm `

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
PierreQuentelcommented, Apr 20, 2020

Can we close the issue then ?

0reactions
leo-smicommented, Apr 21, 2020

Yes, thank you for the support!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't import external packages with python - Stack Overflow
Can't import external packages with python ... I do the pip install thingy, and it just spits this out when I try to...
Read more >
Cannot import Typescript files from outside of 'dir' directory
Bug report When using a custom server, trying to import a .ts file from outside of the dir directory results in the following...
Read more >
Import or link to data in a text file - Microsoft Support
Import or link to data from an external text file into Access.
Read more >
Python 3: Import Another Python File as a Module
Import a File in the Same Directory. Let's say we have two Python files in the same directory: myscripts/. mymodule.py. script.
Read more >
Create externals for sources you cannot import
If you have external sources that are linked to files outside of your project (PowerPoint presentations, for example) it is a good idea...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found