Saturday, December 26, 2015

python notes

1. if you re-declare a method in the same file, the previous definition gets overwritten, without any error.

2. for importing a module from a different directory, add __init__.py to that folder : http://stackoverflow.com/a/21995949/49560

No comments:

Blog Archive