-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
284ec7c
commit 4cfcfa1
Showing
3 changed files
with
20 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
#!/usr/bin/env python | ||
import sys | ||
from . import __version__, __dapodik_version__ | ||
|
||
|
||
def print_ver(): | ||
print("dapodik versi v{}".format(__version__)) | ||
print("Client / API python untuk dapodik versi {}".format(__dapodik_version__)) | ||
print("Python {}".format(sys.version.replace("\n", " "))) | ||
|
||
|
||
def main(): | ||
print_ver() | ||
|
||
from .main import main | ||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env python | ||
import sys | ||
from . import __version__, __dapodik_version__, __semester__ | ||
|
||
|
||
def print_ver(): | ||
print("dapodik versi v{}".format(__version__)) | ||
print("Client / API python untuk dapodik versi {}".format(__dapodik_version__)) | ||
print("Semester {}".format(__semester__)) | ||
print("Python {}".format(sys.version.replace("\n", " "))) | ||
|
||
|
||
def main(): | ||
sys.exit(print_ver()) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters