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.

Make lona work as Python module

See original GitHub issue

python -m lona <more arguments here> yields the error No module named lona.__main__; 'lona' is a package and cannot be directly executed. It would be nice if this would work, so that you can mix other -m arguments (e.g. for remote debugging with debugpy).

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fscherfcommented, Aug 27, 2021

@MShekow i released 1.4.1 which contains support for python -m

1reaction
fscherfcommented, Aug 26, 2021

@MShekow: I added a patch that adds support for python -m lona run-server -s settings.py. I think that’s better than python -m lona settings.py because it uses the same interface as the Lona command line tool with all its features.

Read more comments on GitHub >

github_iconTop Results From Across the Web

lona-web-org/lona: Write responsive web apps in full python
Lona handles the server side and the client side, and provides a simple, pythonic API to write self contained views. # pip install...
Read more >
How to Build a Basic Python Cash Flow Model for a Loan
This article will help you learn how to build a loan payment cash flow model with Python, even if you've never used the...
Read more >
Lona - A web framework for responsive web apps in full python
Lona is based on aiohttp and uses asyncio internally. The Lona API is completely synchronous to make development easyier. With asyncio its ...
Read more >
itertools — Functions creating iterators for efficient looping ...
This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. Each has been recast in a...
Read more >
Python for Finance Automation Project - Loan Analysis
Matt Macarty # python #project #financePython for Finance Projects - Loan AnalysisLooking for something to work on to improve Python ...
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