# Help Needed converting python code to Makecode

**URL:** <https://forum.makecode.com/t/help-needed-converting-python-code-to-makecode/32654>\
**Category:** micro:bit\
**Created:** [December 22, 2024, 4:03pm UTC](https://forum.makecode.com/t/help-needed-converting-python-code-to-makecode/32654 "2024-12-22T16:03:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![bsiever](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bsiever/32/1032_2.png) [@bsiever](https://forum.makecode.com/u/bsiever)\
**Post date:** [December 28, 2024, 2:36pm UTC](https://forum.makecode.com/t/help-needed-converting-python-code-to-makecode/32654/6 "2024-12-28T14:36:30Z")

</div>

Hi @dsssssssss9 ,

Glad you were able to get it to work. I don’t think blocks include all the parts needed, but writing an extension would allow you to provide code in JavaScript and use it from blocks.

I’m not aware of any truly ideal, up-to-date tutorials on extensions, but some resources I’ve used in the past include:

- [GitHub for Extensions](https://www.youtube.com/watch?v=ztrm4XehfGo)
- [Custom blocks](https://www.youtube.com/watch?v=Ku_nHstZS64)
- Look at the GtiHub repos for any extensions that are comparable.
- Previous post here: [Any help or guidance in making my own code blocks for a motor hat - #2 by bsiever](https://forum.makecode.com/t/any-help-or-guidance-in-making-my-own-code-blocks-for-a-motor-hat/17477/2) (A little redundant with the above)
- [MakeCode Blocks Playground](https://makecode.com/playground) for testing the shape/structure of blocks.
- You can join the Slack for the developer community at [https://tech.microbit.org/community/](https://tech.microbit.org/community/) (It has very little traffic though)

I hope that helps a bit!

---

_[View the full topic](https://forum.makecode.com/t/help-needed-converting-python-code-to-makecode/32654)._
