https://github.com/delgan/win32-setctime
A small Python utility to set file creation time on Windows
https://github.com/delgan/win32-setctime
filetime python win32 windows
Last synced: about 1 year ago
JSON representation
A small Python utility to set file creation time on Windows
- Host: GitHub
- URL: https://github.com/delgan/win32-setctime
- Owner: Delgan
- License: mit
- Created: 2019-06-26T18:20:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-23T07:40:33.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T09:45:26.754Z (over 1 year ago)
- Topics: filetime, python, win32, windows
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 39
- Watchers: 6
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# win32-setctime
[](https://pypi.python.org/pypi/win32-setctime) [](https://pypi.python.org/pypi/win32-setctime) [](https://github.com/Delgan/win32-setctime/actions/workflows/tests.yml?query=branch:master) [](https://github.com/Delgan/win32-setctime/blob/master/LICENSE)
A small Python utility to set file creation time on Windows.
## Installation
```shell
pip install win32-setctime
```
## Usage
```python
from win32_setctime import setctime
setctime("my_file.txt", 1561675987.509, follow_symlinks=True)
```