Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Alexander
    A
    • Continue chat with Alexander
    • Start new chat with Alexander
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Alexander

    @Alexander

    1
    Reputation
    5
    Posts
    757
    Profile views
    0
    Followers
    1
    Following
    Joined Last Online

    Alexander Follow

    Posts made by Alexander

    • RE: How to import my own module into a project?

      @gaviota Well thank you.
      I'm tired of my own inability to solve this problem. So far, I just threw all the functions into the project.
      Later I will do so, as you advise.

      posted in General
      A
      Alexander
    • RE: How to import my own module into a project?

      @gaviota I'm trying to. But M5stack:"ERROR no module named"
      Until I understand what is wrong.

      posted in General
      A
      Alexander
    • RE: How to import my own module into a project?

      I have a file.py. There are 20 custom functions in the file. This is a lot of code. Many of the functions call each other in calculations.
      In any new M5flow project, I just want to write "import file" first. And that's all.
      I don't want to rewrite all the functions separately for the M5flow. Or insert all this code into each new project manually. Or create blocks for each function.
      I saved the file to the device manager file. But still importing the file doesn't work.
      It seemed to me that there should be a simple and obvious solution. This is all very strange.
      maybe I just need to save the file in the appropriate format in the appropriate directory Uim5flow installed on the pc?

      posted in General
      A
      Alexander
    • RE: How to import my own module into a project?

      Thank you.

      posted in General
      A
      Alexander
    • How to import my own module into a project?

      Hello. I'm new to m5stack. I have a possibly simple question. how to import my own modules in a project? in block or python modes?

      posted in General
      A
      Alexander