Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Add a function to ask Yes/No questions

Project Description

This is a simple python module to ask a yes/no question to the user

Installation

Use pip command to install it:

pip install simplequestions

Usage

from simplequestions import question

answer = question('Do you like it ?', 'n')

API description

simplequestions.question(text, default='y')

Ask a question to the user

Parameters:

text:The question to the user
default:Default answer (‘y’ or ‘n’)

Release History

This version
History Node

1.0.1

History Node

1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
SimpleQuestions-1.0.1.tar.gz
(1.3 kB) Copy SHA256 Hash SHA256
Source None Jan 7, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting