# Simple questions?

**URL:** https://forums.pimoroni.com/t/simple-questions/27011
**Category:** Support
**Created:** [January 5, 2025, 3:03pm UTC](https://forums.pimoroni.com/t/simple-questions/27011 "2025-01-05T15:03:03Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kees](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@Kees](https://forums.pimoroni.com/u/Kees)
#### Post date: [January 5, 2025, 3:03pm UTC](https://forums.pimoroni.com/t/simple-questions/27011/1 "2025-01-05T15:03:03Z")

</div>

As a beginner I read in the top of a Pi Pico program often (example) "from picographics import PicoGraphics, DISPLAY\_PICO\_EXPLORER or “from machine import ADC”  
What does from and import mean? Obviously something is imported out of a module picographics or from a machine. But where do I find picographics and machine .  
In the last example ADC is imported from machine. How did the programmer know what he had to import? Is there anywhere a list of possibilities?

I also read sometimes only “import utime” or “import time”  
Why not “from xxx import time” ?

Coming back to the first question above: "from picographics import PicoGraphics, DISPLAY\_PICO\_EXPLORER then I should understand that the program wherein this line is used can handle display.set\_pen or display.clear() etc. or are these instructions something else?  
There must exist a list of all possible display.xxx be specified and how to use them.  
This is because I found an example with at the end :

# Display some text

```
display.text("hello", 0, 0)

```

That worked, but I liked to exchange “hello” by a variable name A used in that program.  
So I changed this line by display.text(A, 0, 0). I know A is not a text and have to find another solution for it.

Maybe you may help me a bit further.

---

<div class="post-metadata">

### Author: ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)
#### Post date: [January 5, 2025, 4:36pm UTC](https://forums.pimoroni.com/t/simple-questions/27011/2 "2025-01-05T16:36:26Z")

</div>

I’m far from any kind of expert, but I think I can explain some of it. Those imports etc are stored on the Pico. They are part and parcel of the uf2 file you flash the Pico with. The stock micro python uf2 has all the Micro Python modules etc in it. Custom uf2 files, like the ones Pimoroni supplies also have Pico Graphics and other Pimoroni Modules contained in them.  
[Getting Started with Raspberry Pi Pico](https://learn.pimoroni.com/article/getting-started-with-pico)  
[MicroPython - Python for microcontrollers](https://micropython.org/)  
[pimoroni-pico/micropython/modules/picographics at main · pimoroni/pimoroni-pico](https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/modules/picographics)

---

<div class="post-metadata">

### Author: ![Kees](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@Kees](https://forums.pimoroni.com/u/Kees)
#### Post date: [January 6, 2025, 10:33am UTC](https://forums.pimoroni.com/t/simple-questions/27011/3 "2025-01-06T10:33:27Z")

</div>

Thank you. The link to [MicroPython - Python for microcontrollers](https://micropython.org/) had I not yet visited. It is going to the site [Micropython.org](http://Micropython.org). I was focussing on the understanding of Modules. Where can I find/read which Modules are available, so that I am able to know what these Modules can do for me within Micropython and which function or keyword they have available  
Example: At the top of a program I read:

- from machine import Pin
- from time import sleep  
This means that machine and time exist as a module and that I can use Pin and sleep as the keywords.  
So I need an overview with all available Modules and their keywords with a small example of each keyword how to use them.

---

<div class="post-metadata">

### Author: ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)
#### Post date: [January 6, 2025, 12:32pm UTC](https://forums.pimoroni.com/t/simple-questions/27011/4 "2025-01-06T12:32:19Z")

</div>

I’m thinking this is one place to go.  
[Overview — MicroPython latest documentation](https://docs.micropython.org/en/latest/)

---

<div class="post-metadata">

### Author: ![Kees](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@Kees](https://forums.pimoroni.com/u/Kees)
#### Post date: [January 6, 2025, 1:10pm UTC](https://forums.pimoroni.com/t/simple-questions/27011/5 "2025-01-06T13:10:47Z")

</div>

Yes, there is the Python Module Index and more what I was looking for. Necessary to make the first steps into the world of the Pi Pico. Thanks.
