Created
          May 18, 2019 00:10 
        
      - 
      
- 
        Save peace098beat/41f860fe86973ec470fa2916c376958a to your computer and use it in GitHub Desktop. 
    Pythonのヴァージョン確認
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | import sys | |
| # Check Python Version | |
| if sys.version_info.major < 3: | |
| sys.stderr.write('Please use python 3.x\n') | |
| sys.stderr.write( | |
| 'Your python version is as following:{}\n'.format(sys.version)) | |
| exit() | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment