Skip to content

Conversation

@ItzSkyReed
Copy link
Contributor

No description provided.

import textwrap

try:
f = open("text.txt", "r", encoding='utf-8')
Copy link
Contributor Author

@ItzSkyReed ItzSkyReed Feb 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need "r" here because it is a default value, so I deleted it

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Neocky
Copy link
Owner

Neocky commented Feb 20, 2024

Hey @ItzSkyReed,

thank you so much for your PR. :)
I am just a little bit confused about your PR. You made some good changes with the Minecraft give command already as file output but you later removed it again. Currently you just added the encoding part in the code and removed the one "r".
If this is correct then I can add your 2 lines as submission.
If you wanted to change more than feel free. 😃

@ItzSkyReed
Copy link
Contributor Author

I made this code for myself, it is raw, and it seemed to me that it was not worth adding it to pull request. I want to finalize it, and then I will create a new PR.

@Neocky Neocky merged commit e51107c into Neocky:main Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants