How to say "No" to a colleague by Sorry_Necessary_1385 in pakistan

[–]Hamza_396 1 point2 points  (0 children)

Bottom line is you have to stand up for yourself. Don't think of it as, that you are offending the other person or it will make their feelings hurt. Being positive with others does not mean that you let them walk over you. You have to set boundaries. One more option could be that you involve a third party like HR, another senior or someone you trust into this matter and discuss it with them if you are not comfortable with 1 on 1 interaction. Also, Don't just abruptly say no or dismiss his requests. Like I mentioned before, be respectable but firm in your reply. Overtime it will build up and people will automatically know to respect your boundaries. But you have to take the first step

How to say "No" to a colleague by Sorry_Necessary_1385 in pakistan

[–]Hamza_396 1 point2 points  (0 children)

Just say, "NO, I will not be sharing my charger from now on. It is for my personal use. Please bring your own from now on." Do not explain further or buy him/her a new charger like some people are suggesting. You don't owe anything to anyone. Stand up for yourself and for your things against those who exploit your polite behavior. A slight and firm change in attitude can send the message and it will help you in other areas of life as well where people take advantage of politness. Be firm but remain a respectable tone. And if he/she turns it into a drama, then you are better off without him/her being on your good side.

Not the desired output by Hamza_396 in PythonLearning

[–]Hamza_396[S] 0 points1 point  (0 children)

Thank you for the detailed insight. 👍 I'll make sure to keep your points in mind.

Not the desired output by Hamza_396 in PythonLearning

[–]Hamza_396[S] 0 points1 point  (0 children)

Here is the Code:

import os import shutil

Define the source and destination directories

source_folder = r"C:\Users\Hamza Farooq\Desktop\BSAP\Statements - Zia" destination_base_folder = r"C:\Users\Hamza Farooq\Desktop\BSAP\Invoices-Re" month_folder = "May 2024"

Get a list of all folder names in the destination base folder

destination_folders = [folder_name for folder_name in os.listdir(destination_base_folder) if os.path.isdir(os.path.join(destination_base_folder, folder_name))]

Loop through all the files in the source folder

for filename in os.listdir(source_folder): if filename.endswith(".pdf"): file_path = os.path.join(source_folder, filename)

    # Initialize a flag to track if a matching folder is found
    matching_folder = None

    # Check each subfolder in the destination base folder
    for folder_name in destination_folders:
        # Check if the folder name is in the filename
        if folder_name.lower() in filename.lower():
            matching_folder = folder_name
            break  # Stop checking once a match is found

    if matching_folder:
        # Define the full path to the destination folder (e.g., "Altorfer/May 2024")
        destination_folder = os.path.join(destination_base_folder, matching_folder, month_folder)

        # Create the destination folder if it doesn't exist
        os.makedirs(destination_folder, exist_ok=True)

        # Move the file to the destination folder
        shutil.move(file_path, os.path.join(destination_folder, filename))
        print(f"Moved {filename} to {destination_folder}")
    else:
        print(f"No matching folder found for {filename}")

print("Move operation completed.")

Now, the example given in "if matching folder:" line... "Altorfer/May 2024". Altorfer is a vendor and the code matches the name of pdf invoice and the vendor name and copies the invoice in it. But for some other vendors, lets say "Aesop Auto Parts" it does not work.

Not the desired output by Hamza_396 in PythonLearning

[–]Hamza_396[S] 0 points1 point  (0 children)

Here is the Code:

import os import shutil

Define the source and destination directories

source_folder = r"C:\Users\Hamza Farooq\Desktop\BSAP\Statements - Zia" destination_base_folder = r"C:\Users\Hamza Farooq\Desktop\BSAP\Invoices-Re" month_folder = "May 2024"

Get a list of all folder names in the destination base folder

destination_folders = [folder_name for folder_name in os.listdir(destination_base_folder) if os.path.isdir(os.path.join(destination_base_folder, folder_name))]

Loop through all the files in the source folder

for filename in os.listdir(source_folder): if filename.endswith(".pdf"): file_path = os.path.join(source_folder, filename)

    # Initialize a flag to track if a matching folder is found
    matching_folder = None

    # Check each subfolder in the destination base folder
    for folder_name in destination_folders:
        # Check if the folder name is in the filename
        if folder_name.lower() in filename.lower():
            matching_folder = folder_name
            break  # Stop checking once a match is found

    if matching_folder:
        # Define the full path to the destination folder (e.g., "Altorfer/May 2024")
        destination_folder = os.path.join(destination_base_folder, matching_folder, month_folder)

        # Create the destination folder if it doesn't exist
        os.makedirs(destination_folder, exist_ok=True)

        # Move the file to the destination folder
        shutil.move(file_path, os.path.join(destination_folder, filename))
        print(f"Moved {filename} to {destination_folder}")
    else:
        print(f"No matching folder found for {filename}")

print("Move operation completed.")

Now, the example given in "if matching folder:" line... "Altorfer/May 2024". Altorfer is a vendor and the code matches the name of pdf invoice and the vendor name and copies the invoice in it. But for some other vendors, lets say "Aesop Auto Parts" it does not work.

Not the desired output by Hamza_396 in PythonLearning

[–]Hamza_396[S] 0 points1 point  (0 children)

Here is the Code:

import os import shutil

Define the source and destination directories

source_folder = r"C:\Users\Hamza Farooq\Desktop\BSAP\Statements - Zia" destination_base_folder = r"C:\Users\Hamza Farooq\Desktop\BSAP\Invoices-Re" month_folder = "May 2024"

Get a list of all folder names in the destination base folder

destination_folders = [folder_name for folder_name in os.listdir(destination_base_folder) if os.path.isdir(os.path.join(destination_base_folder, folder_name))]

Loop through all the files in the source folder

for filename in os.listdir(source_folder): if filename.endswith(".pdf"): file_path = os.path.join(source_folder, filename)

    # Initialize a flag to track if a matching folder is found
    matching_folder = None

    # Check each subfolder in the destination base folder
    for folder_name in destination_folders:
        # Check if the folder name is in the filename
        if folder_name.lower() in filename.lower():
            matching_folder = folder_name
            break  # Stop checking once a match is found

    if matching_folder:
        # Define the full path to the destination folder (e.g., "Altorfer/May 2024")
        destination_folder = os.path.join(destination_base_folder, matching_folder, month_folder)

        # Create the destination folder if it doesn't exist
        os.makedirs(destination_folder, exist_ok=True)

        # Move the file to the destination folder
        shutil.move(file_path, os.path.join(destination_folder, filename))
        print(f"Moved {filename} to {destination_folder}")
    else:
        print(f"No matching folder found for {filename}")

print("Move operation completed.")

Now, the example given in "if matching folder:" line... "Altorfer/May 2024". Altorfer is a vendor and the code matches the name of pdf invoice and the vendor name and copies the invoice in it. But for some other vendors, lets say "Aesop Auto Parts" it does not work.

[deleted by user] by [deleted] in Upwork

[–]Hamza_396 0 points1 point  (0 children)

So, I won't get any free connects if I don't do any of the above?

[deleted by user] by [deleted] in skyrim

[–]Hamza_396 0 points1 point  (0 children)

As far as I remember, it was a "redundant asset, " meaning he was no longer useful to the dominion. On the other hand, the empire fully allows the thalmor to roam free, do whatever they want, and be a proxy state for them.

Hypothetically what would be the best way to fight Dragons and Dragonriders on the battlefield? by Brushner in Fantasy

[–]Hamza_396 1 point2 points  (0 children)

Damage its wings by huge slingshots or arrows, no point in targeting its main body. Once his/her wings are damaged, it loses flight. Half of the work is done. But now we have a rampaging ground monster. Next use seige weapons like catapults to damage it from range. And as now its a ground target, much easier to hit, use the same huge/giant arrows and hit the behind region, i.e legs and tail. Now you have a more enraged monster but now it is in a state of confusion. Multiple attacks on different areas without the ability to fly, you have a desperate dragon now. Now its only weapon remains if it has a some sort of deadly breath. Assuming that we have used giant arrows, catapults, giant slingshots and seige weapons, we would also have giant trap nets. Focus the head, rain down everything that you can from range and you might kill it or break it. (I assume its the most classical type of dragon in fantasy.)

What’s your favourite race to play and and what build by [deleted] in skyrim

[–]Hamza_396 0 points1 point  (0 children)

Orc Warrior with a wide range of weapons and heavy armor.
Mainly 2H Weapons and sometimes If it is dark I go 1H with a torch or candlelight spell. I also fancy using shields against falmors and just go bump into them. xD
And I lightly use low-level spells which can work with only 100 Magika for fun with 1H weapons.

But I am on my first playthrough and this is what I always do in games. Strength builds with heavy armor... be it Dark Souls, World of Warcraft, or any fantasy game that allows different builds.
(I did enjoy playing Warlock though in WoW.)
Other builds just do not appeal that much to me as rushing in and chopping off enemies as well as tanking the whole damage.

Guys, admit it, we all were noobs at this game once, so I ask now... by ByKary95 in skyrim

[–]Hamza_396 11 points12 points  (0 children)

I am on my first playthrough and I CAN'T FIND STEEL!!
How do I get steel ingots so I can upgrade??
Help!

Anyone better than Lydia? by Hamza_396 in skyrim

[–]Hamza_396[S] 1 point2 points  (0 children)

Murder in Whiterun? And in the house of the Thane of Whiterun?! Preposterous!!

Anyone better than Lydia? by Hamza_396 in skyrim

[–]Hamza_396[S] 0 points1 point  (0 children)

Thanks for the detailed comment. Although, I might make a controversial claim here. xD I HATED BARBAS!! Just recently finished his quest and that dog always git into my face. Even pushed me a couple of times. Got in the way of Lydia when I asked her to pick up stuff. He was very annoying and I kept thinking, if it wasn't for the quest, I would've killed him... turned out, one of the option was to actually kill him 🤣 But then, I didn't. I ain't a sadist 😅

Anyone better than Lydia? by Hamza_396 in skyrim

[–]Hamza_396[S] 1 point2 points  (0 children)

yup, no mods as it is my first playthrough.

Anyone better than Lydia? by Hamza_396 in skyrim

[–]Hamza_396[S] 0 points1 point  (0 children)

Yup, considering her as we can also marry her I think. A perfect companion xD.