geekcomputers / geekcomputers/Python

testlines.py code not working

Open
#731 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

Description

Hello,

this is probabaly the simplest of all codes in the zip file but I cant make it work

It should create a test.txt file in the same directory but it doesnt do anything for me
Plus i dont understand why there is a "s = " before the write statement
Sorry Im new to python and github, I just finished the crash course python from no starch press

BR,

Contributor guide

Open the contributing guide

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 with testlines.py in the repository's zip file and run it as described by the example, checking why test.txt is not created in the same directory. Confirm the intended behavior and clarify what the "s =" assignment means before considering the issue complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.