¡@

Home 

python Programming Glossary: base_dir

How to organize Python modules for PyPI to support 2.x and 3.x

http://stackoverflow.com/questions/2398626/how-to-organize-python-modules-for-pypi-to-support-2-x-and-3-x

I had these lines near the top if sys.version_info 0 2 base_dir 'python2' elif sys.version_info 0 3 base_dir 'python3' 4 In.. 0 2 base_dir 'python2' elif sys.version_info 0 3 base_dir 'python3' 4 In the call to setup I specified the packages as.. Python code using a package_dir option refer to step 3 for base_dir package_dir 'cobs' base_dir ' cobs' 6 For the C extensions I..

How to use variables already defined in ConfigParser

http://stackoverflow.com/questions/4999190/how-to-use-variables-already-defined-in-configparser

ConfigParser in Python config.ini is general name my_name base_dir home myhome exp exe_dir base_dir bin Here I want 'exp_dir' becomes.. is general name my_name base_dir home myhome exp exe_dir base_dir bin Here I want 'exp_dir' becomes ' home myhome exp bin' not.. Here I want 'exp_dir' becomes ' home myhome exp bin' not ' base_dir bin'. I mean I want base_dir is substituted to home myhome exp..