Python Forum
How to rename a CSV file by adding MODIFIED in the filename?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to rename a CSV file by adding MODIFIED in the filename?
#20
Quote:Python_user writes:
As addition, why isn't root = Tk() used in this code?
In the video below at 03:45 the guy says this should be used always in Tkinter...?
The 'guy' is only partially correct, There are some tkinter modules that can be run as stand alone.
The filedialog and messagebox are examples of this.
Technically, perhaps a root window should be created, but these classes function without.
Don't forget, tkinter is just a wrapper around tcl/tk.

Quote:Could you provide some explanation behind the lines of code as comments?
perhaps I can get to documenting the entire code.
I wrote it in 10 minutes, and haden't planned on documenting, I have my regular work to do, as well as answering so many questions (as a volunteer) on the forum.
Always glad to answer specific questions.
Reply


Messages In This Thread
RE: How to rename a CSV file by adding MODIFIED in the filename? - by Larz60+ - Dec-06-2020, 10:00 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rename first row in a CSV file James_S 3 723 Dec-17-2023, 05:20 AM
Last Post: James_S
  PDF properties doesn't show created or modified date Pedroski55 4 1,285 Jun-19-2023, 08:09 AM
Last Post: Pedroski55
  rename file RolanRoll 0 623 May-18-2023, 02:17 PM
Last Post: RolanRoll
  File path by adding various variables Mishal0488 2 1,245 Apr-28-2023, 07:17 PM
Last Post: deanhystad
  '' FTP '' File upload with a specified string and rename midomarc 1 1,322 Apr-17-2023, 03:04 AM
Last Post: bowlofred
  output provide the filename along with the input file processed. arjunaram 1 1,026 Apr-13-2023, 08:15 PM
Last Post: menator01
  rename same file names in different directories elnk 0 794 Nov-04-2022, 05:23 PM
Last Post: elnk
  rename and add desire "_date" to end of file name before extention RolanRoll 1 1,334 Jun-13-2022, 11:16 AM
Last Post: gruntfutuk
  Rename part of filename in multiple files atomxkai 7 7,743 Feb-18-2022, 10:03 PM
Last Post: atomxkai
  Adding to an XML file TeXaSpEtE83 0 1,334 Dec-22-2021, 08:28 AM
Last Post: TeXaSpEtE83

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020