Dec-24-2016, 10:26 AM
from sys import * def open_file(filename) print(filename) def run(): open_file(?)what should i write into the question mark to print the filename of the saved and currently opened file in the text editor i am using?
getting current filename of a text editor file for printing file name?
|
|
Messages In This Thread |
getting current filename of a text editor file for printing file name? - by hsunteik - Dec-24-2016, 10:26 AM
RE: getting current filename of a text editor file for printing file name? - by lrxM - Dec-24-2016, 11:13 AM
RE: getting current filename of a text editor file for printing file name? - by Larz60+ - Dec-24-2016, 12:55 PM
RE: getting current filename of a text editor file for printing file name? - by Blue Dog - Dec-24-2016, 07:58 PM
|