What is the issues?

  • SeeMinusMinus@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    11 months ago

    Limit how much you use chatgpt. How I learned python was get a python book and read it carefully and follow the examples. There isn’t a fast way to learn programming. You are just going to have to take your time. If you run into a issue just make sure to add more details to your posts so we know how to help you and programming stuff should go in other communities most of the time lol. For asking people for help you can also take a look at matrix. There is lots of programming chat rooms on matrix and are community has matrix chat rooms full of programmers at all sorts of levels. I believe you will one day be quite good at python.

  • amio@kbin.social
    link
    fedilink
    arrow-up
    9
    ·
    11 months ago

    Don’t rely on ChatGPT, it’s a language model, not an encyclopedia. Start with tutorials. If you want to “make your own ChatGPT” and don’t have any background info, drop that idea for now and revisit it once you’ve gotten started. It’s complicated stuff.

  • lwuy9v5@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    11 months ago

    You are picking a really hard problem to start with - AI is a thing that people get incredibly advance degrees to know about. Frameworks have made things much easier to get started without all that learning, but I’d still recommend starting MUCH smaller.

    Make a Python program that takes input and randomly gives output from a list. Then make a Flask WebApp that returns the same if you give it a web request.

    I’d say after you can do both of those challenges - maybe then you’d be in a better place to start thinking about implementing something with an AI library. There’s layers and layers and layers of knowledge to build up.

  • 520@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    Don’t use chatgpt for this kind of thing. It absolutely sucks for programming stuff if you can’t already spot goofs in the code, because it will make them regularly, and if you can’t spot them yourself, they will torpedo your entire project. Debugging tools will be of limited help.

    Start with a project you feel would make your life easier, then work out how you want to get from A to B. Maybe you want something that can fetch you something from the web every day? For that you can look into the ‘requests’ library to make web calls.

    If you need help, I’ve been doing Python code for the best part of 10 years. Holler at me if you want help!

  • PM_ME_VINTAGE_30S [he/him]@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    11 months ago

    Python is a big, complex language with tons of libraries and obscure features. IMO you should focus on learning the fundamentals of the language and computer programming in general, and then how to use the primary libraries you’ll need. Take it slow.

    Since you mentioned elsewhere that you’re not into book learning, try this 8 hour video. Eventually, you’ll have to sit down in front of a computer and write out some code. This video does give you some projects to start with. If it’s your first programming language, then yeah, it might take 8 hours of studying to grasp.

      • jerry@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        11 months ago

        Dude that’s crazy hard, try training a model that’s there already first

      • BorgDrone@lemmy.one
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        2
        ·
        11 months ago

        “I just learned to swim, why don’t I qualify for the Olympics?”

      • sanguine_artichoke@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        11 months ago

        Do you mean scripting interaction with an existing one or writing your own or something?
        Like Stack Overflow question, the only way someone could help is if you detail what you tried already, and what didn’t work.

  • nyoooom@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Programming is hard and requires you to think in a different way than how we think most of the time.

    This is the hardest part, learning to think in algorithm. You can learn that with most languages, once you know it it’s much easier to learn another programming language.

    Start with some simple tutorials, only use ChatGPT to help you understand some concepts or pieces of code, not to write the code. You can’t really learn shit if you’re not forcing your brain to think that way.

    It takes time, like weeks to start to become kinda comfortable with basic programming. Start with conditional structures (if, else), loops (while, for) variables and functions. That should already allow you to create some fairly complex programs.

    If I may, I would heavily suggest you to try to learn C, as it’s a much lower level programming language that has almost no hidden logic, where python comes with a whole lot of integrated features that make it hard to really learn and understand what’s really happening.

    Good luck! 👍

  • jerry@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    3
    ·
    11 months ago

    Try c++ or JavaScript I can’t do Python I hate it despite being ok at most languages.