Home/Support/Support Forum/Python Configuration file
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Python Configuration file

0 votes
Hi! I'm trying to get the python configuration source code from the python page of the web app and I'm not sure how to do it. Any help would be greatly appreciated.
asked May 30, 2018 in Python by cainxalakev New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
Python training in Chennai

#!/usr/bin/env python
import preprocessing
mysql = {'host': 'localhost',
'user': 'root',
'passwd': 'my secret password',
'db': 'write-math'}
preprocessing_queue = [preprocessing.scale_and_center,
preprocessing.dot_reduction,
preprocessing.connect_lines]
use_anonymous = True


Within the actual code, you can use it like this:

#!/usr/bin/env python
import databaseconfig as cfg
connect(cfg.mysql, cfg.mysql, cfg.mysql)
answered Jul 17, 2018 by menakasama New to the Community (1 point)
0 votes
I Found this article useful same as your. you can visit by clicking <a href="https://unicsol.com/">java training in Hyderabad</a>



#!/usr/bin/env python
import preprocessing
mysql = {'host': 'localhost',
'user': 'root',
'passwd': 'my secret password',
'db': 'write-math'}
preprocessing_queue = [preprocessing.scale_and_center,
preprocessing.dot_reduction,
preprocessing.connect_lines]
use_anonymous = True


Within the actual code, you can use it like this:

#!/usr/bin/env python
import databaseconfig as cfg
connect(cfg.mysql, cfg.mysql, cfg.mysql)
answered May 9 by unicsol New to the Community (1 point)
...