skywind3000 / skywind3000/PyStand

命令行中无法使用input

Open
#26 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.2k
Forks
146
PR merge metrics
No merged PRs in 30d

Description

F:\SMALL\PyStand-py38>Hello from F:\SMALL\PyStand-py38\PyStand.int

Traceback (most recent call last):
File "", line 34, in
File "F:\SMALL\PyStand-py38\PyStand.int", line 10, in
filename = input("请输入EXCEL文件名(带后缀,EXCEL文件放在本文件同目录)")
RuntimeError: input(): lost sys.stdin

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the command-line run shown in the report and start with PyStand.int line 10, where input() raises RuntimeError: lost sys.stdin. Trace how the standalone launcher reaches that entry point; done means the same script can accept command-line input without losing sys.stdin.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.