Posts

Showing posts from September, 2024

pyton code testing in online tool and applying in cloudlab for large files and make generic

Image
 testing pyton code in online browser. applying in cloud lab. vertex code: question and answer import re # Input text text = """ Line 1 Line 2 Line 3 line4 line1 line2 """ # Define a function to apply the transformation logic def process_text(text):   # Check if the text starts and ends with \n\n   if text.startswith('\n\n') and text.endswith('\n\n'):     # Extract the inner content between the starting and ending \n\n     inner_content = text[2:-2]           # Replace all single newlines \n inside the content with space     modified_content = inner_content.replace('\n', ' ')           # Return the modified content with the original \n\n at the start and end     return f'\n\n {modified_content} \n\n'   return text # Apply the logic to the normalized content modified_text = process_text...

స్వర్గము ఇంద్ర లోకమా! నరకము యమ రాజ్యమా!! cloud text 1st oct 24 Updated single line

  స్వర్గము ఇంద్ర లోకమా! నరకము యమ రాజ్యమా!! స్వర్గము అను పేరు విననివారుండరని చెప్పవచ్చును. ఎందుకనగా! ప్రతి మతములోనూ, వారి మత గ్రంథములలోనూ స్వర్గమును గురించి ఎంతో చెప్పడము జరిగినది. అంతేకాక ప్రతి బోధకుడూ, ప్రతి స్వామీజీ స్వర్గమును గురించి చెప్పడము జరుగుచున్నది. మూల గ్రంథములైన భగవద్గీత, బైబిలు, ఖుర్ఆన్ గ్రంథములలో స్వర్గము మరియు నరకము అని రెండు పేర్లు ఉండడము వాస్తవమే అయినా, అక్కడ స్వర్గమును గురించి, నరకమును గురించి ఏమి సమాచారమును చెప్పారో తెలియక, అక్కడ చెప్పినదానిని గ్రహించక, గ్రంథములలో చెప్పిన దానికంటే భిన్నముగా వ్రాసుకోవడము జరిగినది. ఒకరు వ్రాసిన విషయమును పది మంది చదివి వారు మరికొంత తప్పుగా అర్థము చేసుకోవడము జరుగుచున్నది. ఇట్లు వాస్తవ విషయము మరుగున పడిపోయి క్రొత్త విషయము అందరి తలలో చేరిపోయినది. గ్రంథములలో చెప్పిన విషయమును వదలి తప్పు సమాచారమును ఎలా అర్థము చేసుకొనుచున్నారో ఉదాహరణగా ఒక విషయమును తీసుకొని చూస్తాము. వెంకయ్య అనువాడు ఉన్న ఊరు ఏది అని వ్రాయబడి ఉన్నదనుకొనుము. అప్పుడు దానిని చదివినవారందరూ వెంకయ్య అను వ్యక్తి ఉండు ఊరు ఏదోయనీ, అతని ఊరు పేరు తెలియదనీ చెప్పడము జరుగుచున్నది. అందరూ ఆ...