I try to learn more about Django celery and rabbitmq to create some async tasks 
and I have some question.
Some programs can provide PYTHON API to can some development to use modules 
from this program in python.
one most way to take that PYTHON API from this program is to use batch file 
like this :
@echo off
SET PROGRAM_ROOT=C:\main-folder
call "%PROGRAM_ROOT%"\bin\some-batch-file.bat

SET PYCHARM="C:\Program Files\JetBrains\PyCharm 2017.1.5\bin\pycharm64.exe"

set PYTHONPATH=%PYTHONPATH%;%PROGRAM_ROOT%\python;
set PYTHONPATH=%PYTHONPATH%;%PROGRAM_ROOT%\site-packages;


start "PyCharm aware of PROGRAM" /B %PYCHARM% %*
if I run this batch file can I use all imports and modules from this program.
that to release if add celery in my app and broker url rabbitmq server then if 
i use some module or some import from this python api then I take error message 
: no module name some_module_from_program (for all other modules celery and 
rabbitmq app work fine).
that mean in celery and rabbitmq server loose that paths from batch file and I 
take this error.
my question how to can define rabbitmq server to start server with that paths 
like batch file before to avoid this error?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to