What is print f

0 votes

I'm looking at a Python script that takes XML files as input and makes an XML file as output. But I don't understand the language of writing. Please tell me what the f in print(f"...") does.

args = parser.parser_args()

print(f"Input directory: {args.input_directory}")
print(f"Output directory: {args.output_directory}")

Sep 18, 2023 in Python by Satyawrat
• 460 points

edited 5 days ago 17 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP