I started python almost 10 years ago now (jesus that makes me feel old). During that time, r/learnpython was incredibly helpful in that journey, and I learned a lot from the folks there.

I can’t wait to build the same thing here, and I want to offer my services as best I can to do so. If you have an issue, question or problem, post! You can reply here if it’s just a quick clarification, but feel free to make your own post and include your code. I’ll do my best to read it when I can and give any help I can. I don’t have “all the knowledge” - but I’m pretty proud of myself for being a near expert with the language.

So hit me, how can I help?

  • @[email protected]
    link
    fedilink
    English
    111 year ago

    I was actively helping people (under a different name) with general python questions on r/learnpython also, and am keeping an eye on this community.

    Note that lemmy is similar to reddit in that you want to mark your code blocks as code (using the code button or by indenting 4 spaces) to retain the formatting. Python can become pretty much unreadable without it since indentation is so critical to the language.

    • @LimeeyOP
      link
      English
      71 year ago

      I believe you can use triple backticks too and just paste your code in the space between.

      ```
      codes goes here
      ```

      Example:

      def hello(name:  str) -> None:
          print(f'Hello {name}')
      
      • @Falmarri
        link
        English
        3
        edit-2
        1 year ago

        Fwiw the backquotes don’t show as code on jerboa I’m an idiot

        • @LimeeyOP
          link
          English
          31 year ago

          just checked, code markdown does work on memmy (which should have an android version as soon as google approves it)

          • @Solo
            link
            English
            31 year ago

            Its working on thunder for me right now.

            • @lambchop
              link
              English
              21 year ago

              They used backticks in a way that wouldn’t show code the first time, to show the backticks. Then used it properly the second time, and you can see in your screenshot that it did appear as code.

              • @Falmarri
                link
                English
                21 year ago

                Oh fuck me I’m an idiot

        • @LimeeyOP
          link
          English
          31 year ago

          Likely a result of the markdown library they’re using. Probably reach out in their community and they can find a solution. On desktop (where I assume most people are writing python) it does work