
import os

for file in os.listdir('../dist'):
    if '-cp34m-' in file:
        file_parts = file.split('-cp34m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
    elif '-cp35m-' in file:
        file_parts = file.split('-cp35m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))


import os

for file in os.listdir('../dist'):
    if '-cp34m-' in file:
        file_parts = file.split('-cp34m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
    elif '-cp35m-' in file:
        file_parts = file.split('-cp35m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
    elif '-cp36m-' in file:
        file_parts = file.split('-cp36m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))

Add support for python 3.5 and 3.6
Add support for python 3.5 and 3.6

  
  import os
  
  for file in os.listdir('../dist'):
      if '-cp34m-' in file:
          file_parts = file.split('-cp34m-')
          os.rename('../dist/{}'.format(file),
                    '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
      elif '-cp35m-' in file:
          file_parts = file.split('-cp35m-')
          os.rename('../dist/{}'.format(file),
                    '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
+     elif '-cp36m-' in file:
+         file_parts = file.split('-cp36m-')
+         os.rename('../dist/{}'.format(file),
+                   '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
  
Add support for python 3.5 and 3.6
## Code Before:

import os

for file in os.listdir('../dist'):
    if '-cp34m-' in file:
        file_parts = file.split('-cp34m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
    elif '-cp35m-' in file:
        file_parts = file.split('-cp35m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))

## Instruction:
Add support for python 3.5 and 3.6
## Code After:

import os

for file in os.listdir('../dist'):
    if '-cp34m-' in file:
        file_parts = file.split('-cp34m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
    elif '-cp35m-' in file:
        file_parts = file.split('-cp35m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
    elif '-cp36m-' in file:
        file_parts = file.split('-cp36m-')
        os.rename('../dist/{}'.format(file),
                  '../dist/{}-none-{}'.format(file_parts[0], file_parts[1]))
