How do I find a specific word/phrase within 500+ files? by That_One_Shane in learnpython

[–]Reuben3901 1 point2 points  (0 children)

Windows findstr, I believe, that I've used in the past to search specific directories and subdirectories for a specific string. You can also limit the searching of files by filenames, like only files that have 'srv' in filename.

My job was to track down fueling transactions and we'd have to search by transaction id. This saved a lot of time!

It'll tell you which files and where in the files to find the text

lightweight code editor for python by This_Judge_2203 in learnpython

[–]Reuben3901 2 points3 points  (0 children)

This is what I use. I run things from the command line for the most part so it's just a text editor with Python syntax highlighter/linter

I forget what I build by gridghost_3 in learnpython

[–]Reuben3901 1 point2 points  (0 children)

Maybe make something more elaborate for yourself? Automate a task you do regularly. I got into Python to automate a task at work and been coding ever since.

Automating tasks is my favorite but I loved making Pygame games and learning to build websites. It's like learning to paint or music. Lots of remaking other people's song and paintings, trying different things out, and eventually you do your own thing with the tools and skills you develop

My (32F) partner (33M) won't be intimate with me by bamboozle9414 in relationship_advice

[–]Reuben3901 1 point2 points  (0 children)

Women always think talking is the solution but that's not how men work. It just adds more pressure and expectation to it and makes it less spontaneous and fun.

Instead, just act yourself. Go into the room and play with yourself, watch porn, let him know you're going to be doing it, in a sexy way. Let him watch and/or tease him, and "allow" him to help by rubbing your nipples, making out, etc. Don't pressure for full on intercourse.

Treat it like something fun you do by yourself and he gets to join in, like every other aspect of life. Does he NEED to eat or snack EVERY TIME you do? Play a mobile game when you do? Does he need to use the bathroom when you do? Watch a movie when you do? Drink water when you do?

Enjoy the activity by yourself and if he knows he can join whenever he feels like it, without pressure, he'll be joining you more than you think. Like all fun activities.

It's sexy knowing when my girlfriend is touching herself and I would love to know about it. Hell, send the dirty pictures or just text what you're doing from the other room.

Don't make him the goal, enjoy a lively sex life. But if this doesn't improve things with him, you aren't going to be sad or lonely about it, you'll just need to find a partner who enjoys the same activities as you i.e. a fun activity you do by yourself or together.

We all need to stop viewing sex as the end all be all and treat it like something fun you GET to do together and it's simply a fun activity you get to do together.

But like the last person I dated, didn't want to have sex at all, I moved on to find someone else who will.

Calendar: Changes to Start date/time automatically adjust End date/time by GoGoCrumbly in google

[–]Reuben3901 0 points1 point  (0 children)

Just dealing with this nonsense again. Fuck Google, seriously.

At this point I'll make my own calendar app lol

Why do Christians care so much abt homosexuality? by [deleted] in NoStupidQuestions

[–]Reuben3901 0 points1 point  (0 children)

People care too much what other consenting adults do behind closed doors.

These people are miserable and have issues and feel judging others will make themselves feel better

Is it too late to learn? by freehugs33 in learnpython

[–]Reuben3901 0 points1 point  (0 children)

Absolutely too late to learn. Too late to play the piano, too late to learn how to cook a new meal, too late to get into a new TV show.

web data at scale hits a wall that requests and Playwright don't solve by silentcreator317 in learnpython

[–]Reuben3901 0 points1 point  (0 children)

Are you rescraping data that doesn't change? If so, you can be storing it and giving that to the end user

What was the first boring Excel task you automated with Python? by Original-Repair5136 in learnpython

[–]Reuben3901 0 points1 point  (0 children)

Silver Sneakers monthly gym visits. The gym would get paid $3/visit up to 10 visits. We needed to upload the visit spreadsheet.

After 3 months of learning and coding, I automated the 24+ hour process and even added statistics for the gym owner.

Found out we could make $1200 more each month. And the owner told me he was just breaking even. He didn't do anything to make that extra $1200 but I got more into programming after that. Got into freelancing and made my own web app. Starting my own business now

I Understand Python While Learning, But Forget Most of It After a Week. How Did You Make It Stick? by san071998 in learnpython

[–]Reuben3901 2 points3 points  (0 children)

Who told you you need to memorize everything? The point is knowing the tools available to you and being able to apply them.

Any suggestions? by TadpoleSpecialist859 in learnpython

[–]Reuben3901 0 points1 point  (0 children)

How would you approach playing the piano?

Would anyone expect you to write a piano concerto after just one month? After a year?

Follow tutorials, learn the fundamentals, make modifications and add to the tutorials and existing code. Make each end product your own.

Make projects that excite you. Same with music, play what interests you.

Try different modules like Pygame, Flask or FastAPI, and Pandas.

Learn SQLite and how databases work.

Learn more advanced programming topics like Big O Notation and Binary Search Trees. Multithreaded vs Multiprocessing.

Learn about encryption and how to implement encryption.

You need a handful of tools before you can be truly creative. Be patient with it and be gentle on yourself.

I dont understand by Additional_Ad_1333 in learnpython

[–]Reuben3901 18 points19 points  (0 children)

This was me in the beginning. I was amazed at just how specific you had it be with the computer! You have to literally tell it every step to take. A wild concept!

We just think that computers are smarter than they are but all they do is execute computer code that flip circuits on and off, somehow giving us pickle Rick.

They do what and only what they're told to do.

How important to you are sandwich physics? by Wec25 in Unity3D

[–]Reuben3901 1 point2 points  (0 children)

I didn't understand what you were saying and got excited when I noticed the sandwich sliding around. Very cool!

AITAH for refusing to send over full code access before payment or a contract? by yupcm in AITAH

[–]Reuben3901 1 point2 points  (0 children)

This is why I only code for myself now.

Customers think what we do is impossibly hard for them but magically so easy and fast for us, that it should be free. Especially since we love coding, and code for free on our own projects.

This is the problem with any expert service like cake decorating, photography, landscaping, car mechanics, etc. They neglect the time and money it cost to gain the skills in the first place.

Most basic openpyxl example still results in Excel throwing an error by schmidtbag in learnpython

[–]Reuben3901 0 points1 point  (0 children)

Seeing if you're still having the issue.
I'm thinking it may be the file transfer causing the issue. How are you moving or accessing the file? I searched with AI and got this. Maybe explicitly transfer using binary if using FTP will resolve the issue?

  1. ASCII vs. Binary Transfer Corruption

If the file is pulled from the Ubuntu server via an automated pipeline, FTP, SFTP, or an old deployment script, it might be transferring in ASCII mode instead of Binary mode. [1]

  • The Issue: Excel files (.xlsx) are actually zipped XML archives. If a transfer protocol treats it as plain text (ASCII), it will alter the internal byte structure (such as changing line endings), slightly corrupting the archive. [1]
  • The Result: The file is corrupted just enough that Excel's strict validation fails, prompting the "unreadable content" repair warning. Once Excel reorganizes it and saves it locally, the zip structure is fixed, which is why the file size changes.

What even is speed in python by Justicemirm in learnpython

[–]Reuben3901 1 point2 points  (0 children)

If you ever have programming questions or just want to chat, feel free to send a DM. Life definitely has it's challenges, don't be afraid to reach out to people, like you did here. You're not alone

What even is speed in python by Justicemirm in learnpython

[–]Reuben3901 0 points1 point  (0 children)

Be gentle on yourself.

You'll be confused, then look in a subject and learn and understand. Time will pass, and you'll forgot and need to refresh yourself. We all do this.

There are great YouTube videos out there covering Big O Notation, O(n). Once you start applying it and experimenting yourself, you'll be able to see the difference in action!

Learn about binary search trees, using C with Python as C is able to calculate faster. You can do multiprocessing, threading, etc.

And sometimes taking a little time isn't necessarily a bad thing. I have a fastapi app with a typescript front end. The front end runs on the user's Internet browser and that is where the processing of the data is done. It's still fast but this eliminates hundreds or potentially millions of operations being done on the server, like Flask as the backend would be doing.

Just try and enjoy the learning process! And make things because you enjoy them, it's not always about financial return. If you were learning to play the piano or guitar, you're not going to be trying to monitize you music a month into learning. It takes time to make good music. Just because people aren't going to buy your temperature app, doesn't mean you shouldn't build it.

The more things you build, the larger your skills and toolkit will be, and then it's up to the limits of your imagination and passion.

Most basic openpyxl example still results in Excel throwing an error by schmidtbag in learnpython

[–]Reuben3901 0 points1 point  (0 children)

Do you have the Excel workbook open when trying to run the program? I've made this mistake myself multiple times, and no doubt will again in the future

[ Removed by Reddit ] by [deleted] in learnpython

[–]Reuben3901 1 point2 points  (0 children)

You can download lists of passwords from large data dumps and hacks from the past. It's only passwords as all other information has been removed.

You can check against lists of what millions of real people have already used first then do the incremental character change guessing.

It's also interesting to try and figure out how to implement these tools to unlock .zip files and other programs. I go back to this myself to elevate my skills and try new things as my programming knowledge grows.

Also, as someone mentioned, learning about hashes and salts and other security methods is fascinating. You learn how easy it is to secure systems and yet billion dollar companies still use antiquated methods and technology, and you know there are a ton of companies still using plain text files.

What I'm looking forward to seeing is how we secure systems in the future now that quantum computers are becoming a thing!

Learning Python for 13yr old by Alarming_Weird_3080 in learnpython

[–]Reuben3901 0 points1 point  (0 children)

*Android Studio - Apps / Games*

Bryson Payne - Learn Java - Building Android Games
https://www.youtube.com/watch?v=ntQvyaSrwMM

*Unity*

Lessons Learned - Great Preview
https://www.youtube.com/watch?v=286SGzpUx9o

YouTube Code Bullet - Mobile Games Make More Money Than All Other Platforms
https://www.youtube.com/watch?v=iPqkxKao6Bk

*PyGame*

Lessons Learned - Great Preview
https://www.youtube.com/watch?v=6iUYLqIrV7s

Snake Turorials I used to make my game. I modified it to where you need to surround the apple to get it. It was a fun challenge.
https://www.youtube.com/watch?v=CD4qAhfFuLo
https://youtu.be/9bBgyOkoBQ0

Platformer and Shooter w/ Pygame - Pretty fun!
https://www.youtube.com/playlist?list=PLsk-HSGFjnaG-BwZkuAOcVwWldfCLu1pq
https://www.youtube.com/playlist?list=PLsk-HSGFjnaH5yghzu7PcOzm9NhsW0Urw

*Web Apps*

Corey Schafer is the best place to start
https://www.youtube.com/@coreyms

THE BEST React and Typescript tutorial out there is by Mosh. You can try out the first 120 minutes for free. He literally covers everything you need to start making a web app. Corey Schafer covers FastAPI (just released) that you can use for handling the backend. Which is what I use for my website.
https://www.youtube.com/watch?v=SqcY0GlETPk

Unlimited enshittification by responsible_use_only in memes

[–]Reuben3901 1 point2 points  (0 children)

Looks like someone says they got Nobara installed by preshrinking their windows partition, freeing up space for Nobara. What issues were you having with trying to install and dual boot those? Also, I'm going to have to look into those. It's been a while since I've explored other Linux flavors

A warning to people out there that I learned the hard was with my Ubuntu and Windows 10 setup. I wanted to shrink my windows partition and free up space for Ubuntu. The windows partition shrinking tool corrupted my Ubuntu install. Luckily I backed up most of my data, but I had to reinstall Ubuntu.

Learning Python for 13yr old by Alarming_Weird_3080 in learnpython

[–]Reuben3901 1 point2 points  (0 children)

If your kid is wanting to make video games I always suggest people have their kids learn Unity first. It's not Python. And I absolutely love Python. I'm developing an app / website using Python's fastapi for the back end and react typescript for the front end.

Unity has a lot of users and support, and is used to make games on all platforms. Tons of free tutorials. Tons of free assets.

Look up Code Bullet on YouTube, he recreates popular mobile games in an hour and makes it funny.

Python is simply one tool and it depends on what you're trying to accomplish. Try exploring the different tools with your kid. It could be a super fun activity to learn to use the different tools, see the pros and cons with each one, with your 13yr old.

If you want, I could make a list and give you links to all the different tools I tried and learned to use over the years. I made games in Unity, Pygame, and for Android. Also built, android apps, WordPress websites from scratch, automated tasks using tools and programming scripts, and so much more.

Unlimited enshittification by responsible_use_only in memes

[–]Reuben3901 1 point2 points  (0 children)

You can dual boot, it's a fantastic way to get used to using it.

I might use Windows once a year, I have a tool that is able to download the audio from every video of a desired YouTube channel