1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

python

Last updated at Posted at 2018-09-26

general

separate config file from script

env.cfg

[coordinate]
mongo_url=xxxxxxxx

script.py

import ConfigParser
config = ConfigParser.RawConfigParser()
config.read('env.cfg')

mongo_url=config.get('coordinate','mongo_url')

numpy

  • dtype: Data-type of the array's elements
  • ndim: Number of array dimensions
  • shape: Tuple of array dimensions
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?