Skip to content

Commit d4bf8a9

Browse files
committed
move hash.py in winpython
1 parent bdb7288 commit d4bf8a9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

hash_launch.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
call C:\WPy64-3890\scripts\env.bat
1+
call C:\WinPdev\WPy64-310111\scripts\env.bat
22

33
cd %~dp0
44

55
rem echo %date% %time%>>gdc_counting.txt
6-
python hash.py %* >>hash_counting_%date:/=_%.txt
6+
python -c "import sys;from winpython import hash; hash.print_hashes(sys.argv[1:])" %* >>hash_counting_%date:/=_%.txt
7+
rem python hash.py %* >>hash_counting_%date:/=_%.txt
78

89
start notepad.exe hash_counting_%date:/=_%.txt
10+

hash.py renamed to winpython/hash.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# -*- coding: utf-8 -*-
2-
#
3-
# WinPython hash.py script
2+
"""
3+
hash.py: compute hash of given files into a markdown output
4+
"""
45
# Copyright © 2014-2025+ The Winpython development team https://github.com/winpython/
56
# Licensed under the terms of the MIT License
67
# (see winpython/__init__.py for details)

0 commit comments

Comments
 (0)