#๐ project
28 messages ยท Page 1 of 1 (latest)
@limber horizon
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.
Do you know how to open and read files with python?
i know how to open the file with python, yeah
Have you worked with csv files before?
no
Are you comfortable using for loops?
i've learned it but i've never put it into practice before
You'll need to use a for loop to access each line of this csv file
python has the csv module specifically for parsing csv files
it handles splitting each line of the file into its individual columns which makes it all easier to access
see if you can start at least by opening the file with python code
i can open it using vs code
oh ok
I'm saying to read the contents of the file using python
Like you said here
oh i guess i dont know how to do that, maybe this project is too much for someone at my level
There's only a few features you'd really have to learn to do this which overall are fairly basic
.rp open file
Here are the top 5 results:
Here are the top 5 results:
and again this 2nd link would be good for specifically dealing with csv files
could you give me an example of what this code would look like
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.