Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I get a listing of the files already on the Pico? #206

Open
frohro opened this issue Feb 29, 2024 · 2 comments
Open

How can I get a listing of the files already on the Pico? #206

frohro opened this issue Feb 29, 2024 · 2 comments
Labels
question Further information is requested

Comments

@frohro
Copy link

frohro commented Feb 29, 2024

In Thonny I can see a list ofo the files on the pico in addition to the files on my laptop. Can we have this feature too?

Is your feature request related to a problem? Please describe.

  • Maybe an lspico command or something....

Describe the solution you'd like

A clear and concise description of what you want to happen. Add any considered drawbacks.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Teachability, Documentation, Adoption, Migration Strategy

If you can, explain how users will be able to use this and possibly write out a version the docs. Maybe a screenshot or design?

@frohro frohro added the enhancement New feature or request label Feb 29, 2024
@frohro
Copy link
Author

frohro commented Feb 29, 2024

Well, one way that works is to make a file with this inside it and run it.
import os
print(os.listdir())

Is there anything better?

@paulober
Copy link
Owner

paulober commented Mar 1, 2024

Opening the MicroPico vREPL (a custom terminal profile) and type your code or just .ls and press enter.
Or opening the virtual filesystem/workspace.

@paulober paulober added question Further information is requested and removed enhancement New feature or request labels Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants