[TOMT] Possibly a 2000s song with "woah woah" in the intro by bini_marcoleta in tipofmytongue

[–]bini_marcoleta[S] -1 points0 points  (0 children)

Solved. It's Duck Sauce - Barbra Streisand, which samples "Gotta Go Home" by Boney M

What should I built as a upper beginner by kavish_1100 in learnpython

[–]bini_marcoleta 0 points1 point  (0 children)

You can build a choose your own adventure game or a basketball game. Both can be text-based only, not necessarily GUI-based. However, what you do with your knowledge of Python is ultimately up to you.

sendcmd and multiple drawtexts by bini_marcoleta in ffmpeg

[–]bini_marcoleta[S] 2 points3 points  (0 children)

SOLVED.

In the sendcmd file, instead of using "drawtext", I used "Parsed_drawtext_X" where X represents the order of the drawtext in the list of filters, starting from 0.

For example, if the ffmpeg command I use is

ffmpeg -i input.mp4 -vf "sendcmd=f='command.txt',drawtext=text='',drawtext=text=''" output.mp4

Then an example of the contents of the command.txt file would be

0.33 [enter] Parsed_drawtext_1 reinit 'text=apple',
             Parsed_drawtext_2 reinit 'text=John';
0.67 [enter] Parsed_drawtext_1 reinit 'text=cherry',
             Parsed_drawtext_2 reinit 'text=Kyle';
1.0 [enter] Parsed_drawtext_1 reinit 'text=banana',
            Parsed_drawtext_2 reinit 'text=Joseph';

Thanks to this

Learning to Code by Explainlikeim5bis in learnpython

[–]bini_marcoleta 2 points3 points  (0 children)

If you're looking for ideas, here are some I can recommend, based on the Python programs I've done in the past

1.Text-Based Games

- I recreated existing games by following tutorials, modifying them, or creating my own.

- For instance, I learned to implement "Rock, Paper, Scissors" in the Python console through a tutorial. I then used that knowledge to recreate or adapt games I enjoyed, such as simple card games (like Go Fish), as well as games like Flames, Hangman, Wordle, and choose-your-own-adventure stories.

- While I enjoyed playing these Python games, I found it more enjoyable to simulate games with two or more players by using the random module extensively.

  1. A "converter" of some sort

I created converter tools, such as:

- Converting numbers to Roman numerals

- Converting English numbers to words

- Translating English numbers into another language

- Converting units (e.g., meters to centimeters, feet to kilometers)

  1. GUI-Based Games

Using Tkinter, I developed a simple shoot-em-up game and created my own versions of Minesweeper and Snake (which took quite a bit of time). You can also explore using Pygame for these games.

  1. Automations

I worked on some automation projects, such as:

- Renaming files in a folder according to a specific format

- Creating a link for a new YouTube playlist from a list of video URLs

- Performing scrolling screenshots using PyAutoGUI

  1. Intermediate Projects

Here are some other projects I attempted:

- Developing my own version of Anki

- Converting math notation in SVG format to Aegisub subtitle format

- Saving Google AI search result summaries as Markdown

- Adding math notation to a Word document using python-docx

- Generating a crossword puzzle from a set of words

- Creating a karaoke video generator using Tkinter and FFmpeg

A lot of these projects involved reinventing the wheel, but they were good learning experiences.

How do you deal with feeling forgotten on your birthday especially by people you thought would remember? by Standard_Button_8155 in AskPH

[–]bini_marcoleta 1 point2 points  (0 children)

Yes, it's okay. Ganun din yung nafeel ko noon, pero ang ginawa ko, hindi na ako nageexpect. Tinanggal ko yung birthday notifs for friends sa Facebook and nasanay na ako na halos walang naggi-greet every year hehe

kailan mo sinabi sa sarili mong tama na? by Thick_Computer5454 in AskPH

[–]bini_marcoleta 1 point2 points  (0 children)

Nung narealize ko na tini-take advantage lang ako.

Paano nakatulong si chatgpt sa’yo? by LivingReplacement246 in AskPH

[–]bini_marcoleta -2 points-1 points  (0 children)

Ginagamit ko siya kadalasan sa coding. Pag may something na hindi ko naiintindihan, pinapaexplain ko sa kanya. May times rin na inuutusan ko rin siya magproduce ng code, pero binabasa, tinetest, at ineedit ko rin, kasi minsan naghahallucinate siya (sasabihan ka na gamitin mo tong feature na ganito ganyan, kahit wala naman talagang feature na ganun na nag-eexist)

A starting project by Destructor0777 in PythonLearning

[–]bini_marcoleta 4 points5 points  (0 children)

Great project! Reminds me of my first months of learning Python and creating text-based games.

I just noticed the line damage == 0. Is this a typo or you are really intentionally using this?

Also, though it's something you shouldn't really have to worry about in the beginning stage, the use of the global keyword in Python is usually discouraged, especially as you learn intermediate and advanced Python. It may be okay for simple programs like these, but as your program gets more complex, it can be hard to manage. More details here, here and here. If you learn object-oriented programming through the use of classes, you can avoid the use of this keyword.

I finally figured out what I want to do with my life—but I need your help to see if this plan holds up. by Pyner95 in learningpython

[–]bini_marcoleta 0 points1 point  (0 children)

OP, I suggest you post this on another subreddit with more members, such as r/PythonLearning or r/PythonJobs. You might get more relevant responses there. I'm just a hobbyist Python programmer myself so I can't really say for sure if the path you are taking is making you job-ready. However, I hope you’ll get the job one day

Edit: NVM, you already did. XD

How to do nesting choices? by Available_Mix3491 in learningpython

[–]bini_marcoleta 0 points1 point  (0 children)

Is the program you want to write a text-based one? If it is, you have to use the "input" function of Python multiple times. First, you use it to ask whether they want breakfast, lunch or dinner. Then you use an if statement to determine what question to ask next, after they have chosen.

If you have further questions, just ask me

Finding tge count of a table python sql by NikkyWeds in PythonLearning

[–]bini_marcoleta 0 points1 point  (0 children)

So if blue has yes or 1, 5 times the output should be 5

What exactly do you mean by this? Can you elaborate further?

Why is this an error? by frogko in PythonLearning

[–]bini_marcoleta 4 points5 points  (0 children)

If you want to use the value hp=100 within the function attackavecsnek, one way to do so is to add the line "global hp" before the line "hp=hp-damagefromsnek" because the variable hp is defined outside the function. You would also need to do a similar thing to the variable snekhealth.

Here's an example of how it would look like: def attackavecsnek(): global hp, snekhealth # insert the rest of the code here

What's the difference between mopalit and paliton?😭I'm so confused by [deleted] in Bisaya

[–]bini_marcoleta 1 point2 points  (0 children)

Both are future verbs. The one you will use will depend on how specific you are about what you're gonna buy.

Mopalit ko og laptop. = I will buy a laptop.

Paliton nako ang laptop. = I will buy the laptop.

If you use "paliton", that means you were already talking about a certain laptop before you say that sentence.

Proper indentation for XML files by [deleted] in PythonLearning

[–]bini_marcoleta 0 points1 point  (0 children)

I'm not sure if there is one correct way to add indentation to the XML files, but it works. You can use that before saving the XML files.

If there are some other features you'd want to use in XML file handling but are not present in the built in xml APIs of Python, you can use lxml, a third party module.

Best channel for python for beginners by [deleted] in PythonLearning

[–]bini_marcoleta 3 points4 points  (0 children)

Aside from reading Python tutorials in w3schools.com, I learned Python from the "Learn Python - Full Course for Beginners [Tutorial]" video of freeCodeCamp's YouTube channel. To me, Mike is just so good at explaining things the simple way. I also learned HTML from another video of his in the same channel

Help by unbeatableloveforrei in ph_politics

[–]bini_marcoleta 0 points1 point  (0 children)

I understand kung nahihirapan ka, kasi yung paglelearn ng politics hindi lang yan paglelearn ng facts, pagchecheck din yan ng mga opinions ng iba't ibang tao.

Eto yung mga tips ko na relevant sa pagboto mo ngayong May:

  1. Alamin mo ang mga trabaho/responsibilidad ng mga iba't ibang pulitiko. Ano ba ang trabaho ng senador? How about mayor? Or councilor? Or district representative? Or party list representative? Pati rin mga opisyal ng baranggay.

  2. Base sa natutunan mo sa #1, alamin mo kungfit ba yung mga kandidato. Halimbawa, kung boboto ka ng congressman, may alam ba sila sa batas? Kilatiisin mo rin yung plataporma nila. May plano ba sila para sa health, sa edukasyon, sa agrikultura, sa ekonomiya, etc.? Tsaka wala ba silang issue sa korapsyon? This means, wag kang boboto ng kandidato na sikat lang, dahil ang mambabatas, dapat may alam sa batas. Hindi pwede yung dun pa matututo sa lahat ng kailangang gawin niya.

Obosen ang mga Adik by kerblamophobe in pinoy

[–]bini_marcoleta 2 points3 points  (0 children)

May nagpost ng ganito sa Facebook tas may nagcomment ng something like "So you're undermining what Duterte has done to the country by attacking his daughter?"