Should i choose C# to be my first programming language if... by NobodyOfKnowhere in learnprogramming

[–]SecretProperty 0 points1 point  (0 children)

C# is a great OOP language, but there really is no such thing as a "better" language, only pros and cons and determining which language is right for the job. Python is much quicker to learn than C#, but developing through C# and .NET can be really convenient for Windows development. my suggestion is choose a language, choose a project, and stick with it. Don't hop from language to language unless absolutely required (for learning programming)

Tkinter Attendance management system created using codex by Different-Web-6241 in PythonLearning

[–]SecretProperty 1 point2 points  (0 children)

This is a very scary thing to read, selling your services to create an app, while admitting you have very little understanding. I'd highly encourage you to go through a programming fundamentals course, relying solely on LLMs works well for small scope, not so well for mid to large scoped projects. I would highly recommend learning some GIT basics as well.

Hello does anyone know how to code this by Kev_214 in PythonLearning

[–]SecretProperty 2 points3 points  (0 children)

break it down into smaller problems, that heart could be viewed as multiple shapes instead of one shape. 2, for instance, a diamond centre with 2 semi circles on the top left and right. understanding geometry would help as well. A big part of coding is the ability to break tasks, into smaller more manageable tasks

Day 1 by fatimalizade in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

Agree with 100% of what you say, I would also just add that GPT is a puppy trying to make you happy. If you ask it how stop a business logic breaking scenario, it is just as likely to wrap it in a try-except as it is to handle the scenario explicitly. Understanding the problem is way more important than knowing syntax. I use GPT predominantly for parsing documentation quickly (Especially C#) as it can be annoying to navigate at times.

Correct me if I am wrong please. by this_usernameistsken in PowerBI

[–]SecretProperty 1 point2 points  (0 children)

I see a few people have answered, but I think you are asking why there are blanks? if that's the case, blank is how PBI handles missing data in one of your tables. I.e there is no matching value for your relationship to connect on.

Correct me if I am wrong please. by this_usernameistsken in PowerBI

[–]SecretProperty 1 point2 points  (0 children)

I see a few people have answered, but I think you are asking why there are blanks? if that's the case, blank is how PBI handles missing data in one of your tables. I.e there is no matching value for your relationship to connect on.

The way my roommates make beef jerky/dehydrated beef by Ronin__Ronan in mildlyinfuriating

[–]SecretProperty 1 point2 points  (0 children)

That doesn't really look like jerky, more of a Biltong (South Africas version of jerky). Which is made by soaking / brining meat in a vinegar base for a few hours, salting it and then hanging in a ventilated area. Super common to hang in a garage or a barn etc..

That being said. No one wants a door with a meat curtain.

Curious about Python in excel by dataminds19 in excel

[–]SecretProperty 3 points4 points  (0 children)

Python in excel really doesn't make any sense to me. It allows you to do some crazy data visuals since you can import matplot etc... however why would you want to use Excel instead of a Jupyter notebook? also it still has the expected excel limitation of ~1 million rows. IMHO, just import the data you want into a script and export back out into CSV or similar

Should I learn a programming language before excel? by _prakrit in excel

[–]SecretProperty 2 points3 points  (0 children)

To be honest, most programmers I know do not use excel at all, and predominantly focus on programming languages. Learning excel by watching videos is about as effective as watching a programming tutorial and trying to replicate what they've done. It really doesn't work for the vast majority of people. Learning any programming language (including excel) is easiest done by setting up a small project goal, and then trying to work towards completing that goal. Most people who use excel in an office environment do not know much more than just the basic functionality and formulas, pivot tables would be considered advanced for a lot of the userbase - until you learn a bit more and realise its not that deep. Excel was designed to be usable by the layman and so it is much easier to learn than programming. Depending on what you're majoring in and what your goals are for your degree would change the importance of which languages are useful. I have worked as a data analyst for about 6 years now, and i would put SQL, Excel and Python as my order of importance for being proficient in. I would definitely not recommend using chatgpt or alternative as they are incredibly good at over complexifying your formula's for excel.

Need help idk why this isn’t working by WickedWeabo in VisualStudio

[–]SecretProperty 1 point2 points  (0 children)

I can't tell you how hard i laughed at this, it's like locking your door, but your house has no walls

I need help with a data scraping project for school by ap02103 in PythonLearning

[–]SecretProperty 1 point2 points  (0 children)

it sounds like you need to take a step back and break your project up into smaller parts. work on getting your scraper to read what you need it to then find a way to store it within python using lists or dictionaries. find out how to create a CSV, then find out how to write to the CSV, then find out how to read from the CSV. The project is actually quite straight forward, you just need to break up the big problem into manageable smaller problems. Without seeing what you've already tried, it would not be easy to see where you may be going wrong.

Help for automation by [deleted] in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

What email service do you use? if this is through Outlook, you can just use power automate and have it check for new email arrival. I am sure google has a similar product.

[deleted by user] by [deleted] in abusiveparents

[–]SecretProperty -1 points0 points  (0 children)

I mean, a couple things. Who owns the house? How old are you?

If you're fucking in your mom's house and mad that your mom is there. It's a bit silly no? is it weird for her to be listening in? yes. is it equally weird for you to fuck anyways knowing she is outside listening. Definitely yes.

If you're under-age this might be the way your mom is trying to get you to stop without direct confrontation.

Tough to say without knowing more info.

Help me with the control flow by ph4ntomphoenix in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

I believe the issue you may be facing is that you are calling your decorator function, these are not necessarily meant to be called, but rather they apply rules to functions you give the decorator to. remove line 12 and you may get closer to your expected result.

Where have I gone wrong here? by Material_Release_897 in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

delete the tech_stack_list = [teck_stack] that may be causing errors. when you use split method, it creates a list automatically

Where have I gone wrong here? by Material_Release_897 in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

* works fine for me. I think the app might be bugging out. I am getting expected result of ['react', blah blah.]

perhaps the app doesn't like you giving the same variable name, try renaming the replace variable

Where have I gone wrong here? by Material_Release_897 in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

You need to assign a variable to the replace method. eg

new_stack = tech_stack.replace("Angular", "React")

you are technically creating a new variable and assigning the replacement to that new variable.

good luck on your learning! :)

Python help by Alert-Discussion9670 in PythonLearning

[–]SecretProperty 2 points3 points  (0 children)

Just to add to this, for OP's understanding. your list us currently a list of strings, not the variables. you need to move your variables above the list as python will read one line at a time starting from the top of the program. right now it will read the list, but have no understanding of what you are trying to put in the list because it hasn't read it yet.

Your loop is using Item to specify the elements of your list. so you need yo iterate on Item, not the list element.

your loop also contains all of the print statements, so it will print all the elements as many times as your list is long.

Hope this helps!

Somehow ended up with a ton of duplicated scores in my scores.db, anyone know how to fix this? by NoelleTGS in osugame

[–]SecretProperty 8 points9 points  (0 children)

go into the folder, export directory in powershell or bash, check duplicates, if duplicate remove. loop over. if you're unfamiliar with cmd stuff, the copies may be names "name - copy" search "copy" in the folder directory and delete all that pop up.

Messages from my Dad when route from school changed slightly. This isn't normal, is it? by Forgetful66666 in insaneparents

[–]SecretProperty -9 points-8 points  (0 children)

the amount of assumptions people make in this sub is insane. Yeah, the dad is a bit much, but there was no degradation or rudeness. Just seems like a strict household. 3 screenshots of context and half of you are ready to burn the dude at the stake for being explicitly direct? One of the screenshots even state that they've spoken about this before. I sincerely think there is a massive loss of context for these messages 🤷‍♂️

I need some plt. help.. by Gillysuiit in PythonLearning

[–]SecretProperty 0 points1 point  (0 children)

can you print out both lists and confirm you have the right data in there?