Ask Your Question

Python-neutron client

asked 2015-09-11 02:02:25 -0600

keerthivasanselvaraj gravatar image

I am new to python , can anyone tell the exact meaning of the following lines in this path

path=/usr/local/lib/python2.7/dist-packages/neutronclient/v2_0/ line no: 354, 355

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-11 02:49:04 -0600

Its a Python Path we add modules and files to Python path because Python goes through to search for modules through this path (which is essentially a list). So if you want to append anything to Python path you can also do that through sys module

import sys

Hope that clears !!

edit flag offensive delete link more



If it is a directory (security_group_rule_path = "/security-group-rules/%s" ) security-group-rules is a directory . how they are passing arguments to the folder....can you please explain it clear.

keerthivasanselvaraj gravatar imagekeerthivasanselvaraj ( 2015-09-11 02:54:42 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-09-11 02:02:25 -0600

Seen: 109 times

Last updated: Sep 11 '15