26, అక్టోబర్ 2025, ఆదివారం

THE HONEYMOON PERIOD IS OVER ...........................................

The phrase "the honeymoon period is over" means a new relationship has transitioned from the initial, intense phase of idealization and infatuation into a more realistic and comfortable stageThis is a natural and often healthy progression where you start to see your partner's imperfections, and the relationship moves toward building a lasting, mature connection, although it can also involve navigating more conflict and less excitement. 
Signs that the honeymoon period is over
  • Idealization fades: 
    You begin to see your partner's flaws and "imperfections" that you didn't notice before. 
  • Conflicts increase: 
    The relationship may experience more arguments or disagreements as real-life issues arise. 
  • Daily life becomes the norm: 
    The intense, blissful feeling decreases, and you both settle into a more routine dynamic. 
  • Intimacy changes: 
    Sex may decrease, or a more casual, comfortable level of intimacy replaces the constant passion. 
  • Annoying quirks surface: 
    What you once found endearing or cute about your partner may now start to irritate you. 
How to navigate this transition
  • Focus on communication: 
    Have open and honest conversations about your feelings, needs, and any issues that arise. 
  • Continue to date each other: 
    Intentionally plan dates and activities, just as you did in the beginning, to maintain excitement and connection. 
  • Introduce novelty: 
    Try new things together to keep stimulating your brains' reward systems, which can help recreate some of the initial spark. 
  • Allow for space: 
    It's healthy to have some alone time, as it allows you to recharge and miss each other, which can strengthen your connection when you reunite. 
  • Accept imperfections: 
    Understand that this shift is a normal part of a healthy, long-term relationship, not necessarily a sign of a broken one

14, అక్టోబర్ 2025, మంగళవారం

Mr D.R today................

 

Python Modules..........

 

Customization is needed Mr.ram.a.dayinaboyina…………… for each and every discussion

What is a Module?

Consider a module to be the same as a code library.

A file containing a set of functions you want to include in your application.

 

Create a Module

To create a module just save the code you want in a file with the file extension .py:

Save this code in a file named mymodule.py

def greeting(name):
  
print("Hello, " + name)

Use a Module

Now we can use the module we just created, by using the import statement:

Example

Import the module named mymodule, and call the greeting function:

import mymodule

mymodule.greeting(
"Jonathan")

Note: When using a function from a module, use the syntax: module_name.function_name.

 

Variables in Module

The module can contain functions, as already described, but also variables of all types (arrays, dictionaries, objects etc):

Example

Save this code in the file mymodule.py

person1 = {
  
"name""John",
  
"age"36,
  
"country""Norway"
}

Example

Import the module named mymodule, and access the person1 dictionary:

import mymodule

a = mymodule.person1[
"age"]
print(a)

 

Naming a Module

You can name the module file whatever you like, but it must have the file extension .py

Re-naming a Module

You can create an alias when you import a module, by using the as keyword:

Example

Create an alias for mymodule called mx:

import mymodule as mx

a = mx.person1[
"age"]
print(a)

 

Built-in Modules

There are several built-in modules in Python, which you can import whenever you like.

Example

Import and use the platform module:

import platform

x = platform.system()
print(x)

 

Using the dir() Function

There is a built-in function to list all the function names (or variable names) in a module. The dir() function:

Example

List all the defined names belonging to the platform module:

import platform

x = 
dir(platform)
print(x)

Note: The dir() function can be used on all modules, also the ones you create yourself.

 

Import From Module

You can choose to import only parts from a module, by using the from keyword.

Example

The module named mymodule has one function and one dictionary:

def greeting(name):
  
print("Hello, " + name)

person1 = {
  
"name""John",
  
"age"36,
  
"country""Norway"
}

Example

Import only the person1 dictionary from the module:

from mymodule import person1

print (person1["age"])

 

program no 46 importing .........................

 To import a module from a package created in Python, follow these steps.

1. Package Structure:
Assume the package structure is as follows:
Code
my_project/    __init__.py    main.py    my_package/        __init__.py        my_module.py
2. my_module.py content:
Python
# my_package/my_module.pydef greet(name):    return f"Hello, {name} from my_module!"
3. __init__.py in my_package (optional but good practice):
This file can be empty, or it can be used to control what gets imported when my_package is imported. For a simple case, an empty __init__.py is sufficient.
4. main.py to import and use the module:
Python
# main.pyfrom my_package import my_module# Now you can use functions or variables from my_modulemessage = my_module.greet("User")print(message)
Explanation:
  • from my_package import my_module: This statement imports the my_module module directly from the my_package package.
  • Once imported, you can access functions, classes, or variables defined within my_module.py using the my_module. prefix (e.g., my_module.greet("User")).
Alternative Import Syntax:
You can also import specific functions or classes directly:
Python
# main.pyfrom my_package.my_module import greet# Now you can use greet directlymessage = greet("User")print(message)
This approach allows you to use the greet function without explicitly referencing my_module each time. Choose the import style that best suits the readability and organization of your code.

program no 45 in python.................

 To create a Python package containing two or more modules, follow these steps:

1. Create the Package Directory:
Create a directory that will serve as your package. This directory's name will be the package name. For example, create a directory named my_package.
2. Create the Modules:
Inside the my_package directory, create your Python modules (e.g., module1.py and module2.py).
my_package/module1.py:
Python
def greet(name):    return f"Hello, {name} from Module 1!"def add(a, b):    return a + b
my_package/module2.py:
Python
def farewell(name):    return f"Goodbye, {name} from Module 2!"def multiply(a, b):    return a * b
3. Create the __init__.py File:
Inside the my_package directory, create an empty file named __init__.pyThis file signifies to Python that the directory is a package. While it can be empty, it can also be used to define package-level imports or initialization code. 
my_package/__init__.py:
Python
# You can optionally import modules or functions here for easier access# from . import module1# from . import module2# from .module1 import greet, add# from .module2 import farewell, multiply
4. Using the Package:
Now you can use your package in another Python script. Create a file (e.g., main.py) outside the my_package directory.
main.py:
Python
# Import specific functions from modules within the packagefrom my_package.module1 import greet, addfrom my_package.module2 import farewell, multiplyprint(greet("Alice"))print(f"Sum: {add(5, 3)}")print(farewell("Bob"))print(f"Product: {multiply(4, 6)}")# You can also import the entire module and access its functions# import my_package.module1# print(my_package.module1.greet("Charlie"))
Directory Structure:
Code
.├── my_package/│   ├── __init__.py│   ├── module1.py│   └── module2.py└── main.py
When you run main.py, it will import and utilize the functions defined within module1.py and module2.py of your my_package.