Do you want to improve this question?Edit your post to clarify the issue you are trying to resolve by adding details.
Closed to 9 months ago
9 months agoPlease tell me how to display a specific line from a text file with 197 rows and 7 columns.
For example
India 3287263 131224
Indonesia 1910931 26691
Uzbekistan 448969 3325
Oman 309980461
Kazakhstan 2724902 1851
Qatar 11627279
Cambodia 181035 1528
If you type India, you'll see the number next to the line.
The results are
Area of India (km2) = 3287623 Population (all) = 131224
I want to make it look like this
Read the file one line at a time from the beginning and view the line if you have the keyword.
673 M2 Mac fails to install rbenv install 3.1.3 due to errors
1130 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
717 GDB gets version error when attempting to debug with the Presense SDK (IDE)
770 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2025 OneMinuteCode. All rights reserved.