selfteaching / selfteaching/selfteaching-python-camp

Day02 如何把系统中的文本文.txt档改成.py文档?

Open
#1,749 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

操作系统是 Windows,直接创建文本文件 file.txt 然后改名为 file.py。
但是我这样操作的时候,建好的文件,改不成.py的,因为文件系统里没有这.py的python文件。

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

Start by reproducing the reported rename behavior on Windows using file.txt and file.py, and review the existing Day02 learning materials for where file-creation guidance belongs. Done means the material clearly explains the expected filename and lets a learner verify that the result is a Python file.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation, operating-systems
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.