Fedora Project

Python script to search and replace text in a file

Write a Python script to search and replace some part of a file. The path of the file and the words should be taken as input from the user. The intended output is the link to the GitHub gist.

Task tags

  • python

Students who completed this task

aristo, Killerwheels, sccoding, Shadowblade, AdnanSayyed, LaidlawAWZ, Ahmad, Andrey T, Rajanesh_1127, GoshDarnedSpam, Yogansh, xz56, EmperorAj

Task type

  • code Code

Level

Beginner
close

2019