The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Get The Created Or Modified Timestamp For A File In Python

TODO: Pull subtitle into page object

TODO: Add note about creating and modified times and how they intermix.

code_start_default_section code_end_default_section
Results
1676929897.4714947

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Get The Created Or Modified Timestamp For A File In Python

-- p

TODO: Add note about creating and modified times and how
they intermix.

-- p

-- hr

-- code/
-- python

import os

file_path = "/Users/alan/Desktop/example.txt"

modified_time = os.path.getmtime(file_path)

print(modified_time)

-- /code

-- results/

1676929897.4714947

-- /results


-- categories
-- Python 

-- metadata
-- date: 2023-02-20 16:45:37
-- id: 2m1kezpa
-- status: draft 
-- type: post
-- SCRUBBED_NEO: false
-- site: aws