1. Pyroom
  2. Tutorials
  3. Files and resources
  4. Read CSV data and images as resources

Read CSV data and images as resources

Programs often need data. Resources let your code open uploaded files from the resources folder.

Intermediate Video coming soon. The steps below show everything the video will cover.

Steps

  1. Open File, Resources, then Add resources, and choose your files: a CSV table and a picture.
  2. Open the file from the resources folder and read it line by line.
  3. Run it. Every row of the table is printed.
  4. Manage resources shows what is loaded. Resources are not in share links, so add them again in a new session.
Read the transcript

Open File, Resources, then Add resources, and choose your files: a CSV table and a picture.

Open the file from the resources folder and read it line by line.

Run it. Every row of the table is printed.

Manage resources shows what is loaded. Resources are not in share links, so add them again in a new session.

More Files and resources tutorials

Files and resources → · All tutorials →

Try it in the Playground

Nothing to install and no account needed.

Open Playground →