▲ 0 r/pythonhelp+1 crossposts

code not processing file correctly 🥺 (EGGSTREAMLY 🥚CONFUSED)

In my python textbook, I'm learning abt files and exceptions. Although it seems that VS Code isn't recognizing changes made to my file, nor izzit changing the file. Here's my code:

-----------------------------
from pathlib import Path

path = Path(r"C:
\U
sers\Username\OneDrive\Documents\FileName")
# i didn't write the actual file path

contents = path.read_text()

lines = contents.splitlines()

#Print every lline of the file and add a comma to the end 
for line in lines:
    print(line + ",")
---------------------------------------

Any advice on working with files on VS code would help. A similar problem happens when importing modules. I have to restart VS Code if I want to import code from another script that i wrote.

reddit.com
u/Emergency_Pomelo_706 — 6 days ago
▲ 2 r/Khan

is there like a method to studying khan academy

im kinda inexerpienced when it comes to this self studying thing. for reference im doing hs bio on khan acedemy. all the readings are extremely helpful but im not sure if i should assign myself tests (im also not sure where I would get them?) because the assesments on it kinda suck. imo you dont get enough practice and i end up forgetting a lot of the stuff i learn. does anyone have any tips or alternate ways I can study bio?

reddit.com
u/Emergency_Pomelo_706 — 17 days ago
▲ 3 r/aops

would you guys recommend using a graphing calc with aops books

im doing itnro to alg rn and in my normla math class we use graphing calcs but idk if ts book says anything about it. wld using a graphing calc detract from the learning. or am i wasting my time graphing all ts by hand

reddit.com
u/Emergency_Pomelo_706 — 19 days ago
▲ 6 r/Khan

how does one exactly partake in the process of "self-studying" using khan academy

im doign hs bio on khan academy and have gotten a good chunk done. but now im starting to wonder if i should treat it as an actual class and take notes n stuff. im tending to forget lessons from past units which is really just a waste of time. so im wondering if anybody has any tips to self study with khan academy

reddit.com
u/Emergency_Pomelo_706 — 1 month ago
▲ 130 r/biology

Dearest reddit, I mean this question in full sincerity, for I posses the most curious of minds! Considering what the brain is made out of, how nutritious would the brain be if you simply ate it raw (assuming its completely clean and you cannot get any diseases from it). Please, enlighten me! I am of the uneducated, and the most grand Khan Academy has failed in its endeavor to educate me of this topic. Verily, I seek your guidance, scientists of Reddit!

food for thought btw 🥹

reddit.com
u/Emergency_Pomelo_706 — 2 months ago