delgan / win32-setctime Goto Github PK
View Code? Open in Web Editor NEWA small Python utility to set file creation time on Windows
License: MIT License
A small Python utility to set file creation time on Windows
License: MIT License
In response to a comment left on StackOverflow:
The project on GitHub should be updated to use
kernel32 = ctypes.WinDLL('kernel32', use_last_error=True)
and raise exceptions viaraise ctypes.WinError(ctypes.get_last_error())
. This (1) isolates it from other packages that use the global library loaderctypes.windll
, which caches loaded libraries, which cache function pointers, and (2) reliably captures the thread's last error value in C immediately after the FFI call.
OSError: the function is only available for the windows platform....
I have a MAC OS and this doesnt work on my laptop xan you please help me out how can i use this in mac? Or same functionality by other Library for MAC?
Add support for changing ctime for directories, please.
Could an option to ignore symlinks be added? Currently it follows the symlink and the actual file gets updated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.