Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

I am trying to use multiline %includes in Bottle (SimpleTemplate). Is this actually possible? <!DOCTYPE html> <html> <head> <title>Employees</title> <link rel=&...
M.E.'s user avatar
  • 5,705
0 votes
1 answer
37 views

I am trying to use decorator for verifying user in bottle web framework for python. following is my login decorator code def decorate_verify_user(fun): def nothing(): logging.debug("no ...
0 votes
1 answer
65 views

I am using Python 3.12.7. I have multiple servers that run themselves multi-threaded in a networked environment. I want to increase the variable self.msg_id in the handle_message function. Everything ...
-1 votes
1 answer
166 views

Let's say I send a request with JavaScript: fetch("/query?q=" + encodeURIComponent("c'est un château? Yes & no!")); to a Python Bottle server: from bottle import Bottle, ...
-2 votes
1 answer
139 views

How do I send an excel file saved on the PC running the backend to the frontend browser (accessed from another machine) that requests the file? I have a python bottle backend that I want to use to ...
1 vote
1 answer
74 views

I wanted to add a decorator function that wraps a bottle request decorated function within a class, I tried doing it using inspect but I am unable to see any changes done by the decorator when I am ...
0 votes
1 answer
104 views

I have a simple Python Bottle API used to support an iOS app. It is hosted on Heroku. I use TelemetryDeck for analytics, so I want to send signals with each API call. I'm not using Node so cannot use ...
Chris's user avatar
  • 4,441
1 vote
1 answer
172 views

I have lighttpd version 1.4.73 running on Alpine Linux. I enabled mod_scgi and added this to my configuration file: scgi.protocol = "uwsgi" scgi.server = ( "/tp2/" => ( &...
ixe013's user avatar
  • 10.2k
0 votes
0 answers
345 views

I have used Bottle for a long time and never run into this before, but recently I started a new project and encountered some strange behaviour that I just can not track down at all. If I start a ...
user avatar
0 votes
1 answer
95 views

My filetree looks something like so root/ ├─ etc.../ ├─ public/ │ ├─ static-file-1.example │ ├─ etc... I know I can make a route point to that directory https://site/public/static-file-1.example ...
zacoons's user avatar
  • 380
2 votes
4 answers
7k views

I am trying to create a GUI in python using plain HTML, CSS, JS. I am using python eel module to create a GUI from it. When i tried to execute .py file it says module not found. Here are the code and ...
0 votes
0 answers
42 views

maybe a stupid question, but I can't think of a logical pythonic way to solve my problem. I have a application controlling some relays on a Raspberry Pi which I want to write a simple web interface ...
sb21's user avatar
  • 56
4 votes
3 answers
601 views

I am sending 10 HTTP requests per second between Python Bottle server and a browser client with JS: import bottle, time app = bottle.Bottle() @bottle.route('/') def index(): return ""&...
1 vote
2 answers
1k views

I would have assumed a finally clause with only a pass to be pointless. But in a Bottle template, the following code for an optional include would not work without it. The result would contain ...
1 vote
1 answer
103 views

I would like to add an optional include in a bottle template. Unfortunately this does not work as expected: <foo> % include(required_view) <% try: include(...
Watchduck's user avatar
  • 1,219

15 30 50 per page
1
2 3 4 5
...
100

AltStyle によって変換されたページ (->オリジナル) /