#๐ Maze reading ASCII text file to UNICODE but I don't know how to add the corners properly.
65 messages ยท Page 1 of 1 (latest)
@autumn fiber
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
It looks like a font/terminal issue. This is what it gives for me
wha how do i fix that xD
And also how do i make the intersections into corners? or do i have to recode everything completely if thats the case
Well, a simple character translation like what you have now won't cut it
You were very close with your old code https://paste.pythondiscord.com/POTA, your biggest issue was the ors on line 20 needed to be ands
ah-
Well i had the previous code just in case, wanted to see if a simple version worked or not
Ok i swear is this a terminal issue
You get that I get this
I ran the same code xD with and now
If all this time it was just cause of a terminal issue i wasted multiple days cause of it xD
strange, make sure the font you're using is monospace
whats monospace?
do you have any idea what that yb thing at the top is? (I don't)
monospace basicallly means that all the characters in the font are the same width, so stuff like ascii boxes align nicely
Here are som good monospace fonts https://www.programmingfonts.org/
nerdfonts too, but those are just fonts but with added icons https://www.nerdfonts.com/#home
i dont either
so i should be using these fonts?
any of those fonts
you're on windows right? they should have monospace fonts builtin
My first thought is maybe your terminal is interpreting color commands as actual characters? do you have any fancy console skinning installed?
hm i dont know how to make that work- acutally wait let me check something
Ima be honest this is the first time im using VS code all this time I have been using the pythonIDLE
I just downloaded the first things for python from VS code and started to run it
yea F5
Try opening up the terminal and running your script from there
I dont remember if the python run button launches a terminal or a dedicated view
ok then thats what i was thinking of doing wait
I swear if this work my days of suffering finally ends xD Then i can actually start doing documenting and verson control for all of this
i cant belive this
AHHH
i wasted 2 extra days
cause i thought it was wrong
Also one more thing how do i fix the VScode to do the same cause your using it too i see
I need to make repositories and such so i have to show all this in a git environment later on
I think my machine just has different default fonts because it's linux lol
But if you've installed a monospace font you can set it in the settings, it should be in the frequents page
or you can look up Font Family
wait can i just install monospace on my windows through terminal
let me check
i dont have it
at this point this just became tec support im sorry qwq
well monospace itself should be directed to builtin fonts on the target os
Try adding "Cascadia Mono" to the front of the list of font families
its part of the windows terminal
i didnt uninstall
cause i cant
my terminal dosnt work
but i used a VM terminal it works
i used good ol python IDLE it works
but my own terminal dosnt why xD
wait wha
i changed the text file
cause i wanted to see what it would do to a new random generated text file maze
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.