• 2 Posts
  • 44 Comments
Joined 1 year ago
cake
Cake day: July 13th, 2023

help-circle

  • I think you need to look into string concatenation, the easiest and best of which is f strings. You could do something like;

    print(f’welcome, {nam}')

    You could also “add” the strings together.

    print('welcome, ’ + nam)

    Another thing, when assigning the output of something to a variable, you can think of it as “the result of the code right of the equals sign is the value of the variable”.

    The input function assumes that the value should be interpreted as a string, but what if want it to be a number? You can just wrap another function around your input

    user_number = int(input(‘what’s the number?’))


  • Your experience may vary but I’m a network engineer who learned Python and I think learning regex and pandas is invaluable. Depends on what you want to build though. As far as learning resources, I’ve always liked w3schools, it’s free and to the point.

    For books, python 101 by Michael Driscoll is very good. I wouldn’t spend money on courses. They can be pretty demotivating and expensive.







  • What programming language? You might have to back to basics. I know what you mean though. That was my frustration as well. The basics aren’t covered well enough on many courses, and learning in a browser IDE adds anxiety when following tutorials if you don’t know how to set up your environment.

    If it’s with Python, maybe I can help. Getting your environment set up is the most important part. I like to use pycharm, it forces you into virtual environments but that’s a good practice to follow and gives you plenty of practice with the basics since you’ll have to install your dependencies for every project.

    Sometimes the dependencies change, and it’s nice to know what version you previously used vs how the new package version works.



  • I worked as a network engineer and got pretty frustrated working with outdated applications that were not user friendly. Once I became a supervisor, a large part of my job became writing and generating reports summarizing events that happened on the network that no one would ever read. I wanted to learn programming to automate the things I hated about my job.

    I’m still an engineer, not a developer, but I enjoy writing user focused programs that reduce or eliminate worker frustration. As with many jobs, it’s not the networking that’s difficult, it’s all the other bullshit you have to do.

    Also, learning how to parse, model and visualize data can really help you make your point to your management and get your ideas pushed through. Also a great way to earn brownie points with your bosses, as managers tend to love graphs.

    Wish I could say it was a passion for me but I really learned out of necessity.




  • Mixed feelings here, what is an “inner child?” Feelings of exercising creativity and spontnuity don’t have to be “compartmentalized”… Just work that into your adult life. only thing that is different otherwise is obviously responsibility, that will never go away. You might have to answer to your wife as to why you chose to spend a whole Saturday watching cartoons, but as long as you make your needs known, that shouldn’t be an issue as well.

    I’m sensing you have problems communicating your desires(ideas, inspirations, etc) … other than that, you might be feeling nostalgia. But nostalgia is mostly ignorance. It felt like good times at times because I was ignorant to how my parents struggled.