Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Sigmanificient/pg-sublime-input

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sublinput

Scrutinizer Code Quality Build Status GitHub code size in bytes Lines of code PyPI - Downloads

A sublime pygame ui as alternative to unsupported python input built-in.

Install

pip install sublinput

or

python -m pip install sublinput

Usage

You only needs to input the package then use the default input function as usual !

import sublinput

val = int(input("Enter a number: "))
print(val)

When an input function is called, the following windows will appear, with title being the input message.

Type in the windows as a usual input function.

Then press enter (not keypad enter) to submit the value.

An input-like log will be printed.

Enter a number : 42

Then it will return the submit value as a str.

You only need to remove the import sublinput from your code to disable it !

Morty Proxy This is a proxified and sanitized view of the page, visit original site.