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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T06:05:38+00:00 2026-06-11T06:05:38+00:00

So i have just gotten bottle (via their page with only code [I think

  • 0

So i have just gotten bottle (via their page with only code [I think it was github?]) anyways, i have the server up and running, however, when i press ctrl+c sometimes it does not immidiately break, and im wondering if im doing something wrong? my code is as follows:

This is my serving code:

from Bottle import route,run,template

@route('/')
@route('/<name>')
def hello(name='noob'):
    return template('Templates/maintemplate',name=name)
run(host='WorkPC-PC',port=9999,debug=True)

This is my template code (although i dont think this makes a difference, i included it to make sure):

<html>
<head>
<body>
%if name:
    <h1>{{name}}</h1>
%else:
    <h1>hello stranger</h1>
%end
</body>
</head>
</html>
  • 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-06-11T06:05:39+00:00Added an answer on June 11, 2026 at 6:05 am

    Is it not terminating at all, or just taking a second or two to stop? If it’s just taking a couple seconds it might be running multiple threads and waiting for them all to shutdown. I tried your code with a pip-installed version and couldn’t replicate your issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just recently gotten into LessCSS and I am running into what I
We have just gotten TFS 2010 up and running. We will be migrating our
I've just gotten my production site up and running. I have a lot more
I'm new to Doctrine, and have only just gotten my mind around Entities, which
I've been doing simple multi-threading in VB.NET for a while, and have just gotten
I'm learning Ruby and have just gotten into some stuff about arrays and ranges.
I am new to Xcode and have just gotten to the point where I
I have just gotten Visual Studio 2010 Pro Academic Version today with the MSDN
I have just gotten an email (20th Feb) from the Apple developer portal saying
I have just started with the new graph api for facebook. I have gotten

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.