Saturday, August 30, 2025

How to upgrade pip module in python ?

anurag@Anurags-MacBook-Air ~ % 

anurag@Anurags-MacBook-Air ~ % python3 -m pip install --upgrade pip

Defaulting to user installation because normal site-packages is not writeable

Requirement already satisfied: pip in /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages (21.2.4)

Collecting pip

  Downloading pip-25.2-py3-none-any.whl (1.8 MB)

     |████████████████████████████████| 1.8 MB 4.3 MB/s 

Installing collected packages: pip

  WARNING: The scripts pip, pip3 and pip3.9 are installed in '/Users/anurag/Library/Python/3.9/bin' which is not on PATH.

  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.

Successfully installed pip-25.2

WARNING: You are using pip version 21.2.4; however, version 25.2 is available.

You should consider upgrading via the '/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install --upgrade pip' command.

anurag@Anurags-MacBook-Air ~ % 

anurag@Anurags-MacBook-Air ~ % 




anurag@Anurags-MacBook-Air ~ % python3 -m pip --version

pip 25.2 from /Users/anurag/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)

anurag@Anurags-MacBook-Air ~ % 

Thursday, August 21, 2025

Tuesday, July 22, 2025

WTP in python - Traffic Light Simulator

 # Traffic Light Simulator

# Input a color (red, yellow, green) and print the corresponding action:


# Red → Stop

# Yellow → Get Ready

# Green → Go


light_type=input("Please enter the light type (red, yellow, green ) : ")



if(light_type=="red"):

    print("Stop")

elif(light_type=="yellow"):

    print("Get Ready")

elif(light_type=="green"):

    print("Go")

else:

    print("wrong input")

Complex Oracle 19c to PostgreSQL 15 Database Migration

Production-oriented migration approach for a complex Oracle 19c to PostgreSQL 15 workload , covering assessment, schema and code conversion,...