Learn to Code via Tutorials on Repl.it!

← Back to all posts
Py package
Muhammadzakirha (1)

Also you can create simple package with python


import time


Is python package original you can type from time import sleep

and you can create the package but its local for pip in the documentation and publish package

For make this make a directory:

  |   |
  |   |- __init__.py

In init.py


in main.py

import example-pkg

The uotputs will be hello you can add some definision and other ok bye(posible to repl.it)