sciter-sdk / pysciter

Python bindings for Sciter
https://sciter.com
MIT License
397 stars 40 forks source link

usage of pysciter #10

Closed Eliyanan closed 8 years ago

Eliyanan commented 8 years ago

i have downloaded pysciter recently, i have sciter sdk too. But i dont how to get start writing my .py code. I saw a minimal example that imorts sciter. I coudnt see the result, i am using pycharm ide and it says 'sciter' module can not be found. Please give me a guide how should i work with pysciter. Thanks..

pravic commented 8 years ago

'sciter' module can not be found.

pip install pysciter

Eliyanan commented 8 years ago

why not sciter module included in the pycsiter, that i have downloaded from here?? then what is the use of forking from here after all!

pravic commented 8 years ago

Sorry, what are you mean? pysciter/sciter - it is a module. You can install it via python setup.py install from this repository or from PyPI registry via python -mpip install pysciter.

Eliyanan commented 8 years ago

yeah i got that, why should i do download it in pip since i've download it from here. as you said there is pysciter/sciter directory but i couldnt see any sciter.py file, do i mis something? or can you tell how it works..

pravic commented 8 years ago

https://docs.python.org/3/tutorial/modules.html#packages

Python package can be either a file named package.py or a folder package/__init__.py.

Eliyanan commented 8 years ago

thank you it worked for me now.