Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Automated third party module installer for python
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mikee" data-source="post: 418910" data-attributes="member: 76567"><p><u>Few questions</u></p><ul> <li data-xf-list-type="ul">why are u using camelcase for function definitions then underscores for variable assignments <img src="/styles/default/xenforo/smilies/emojione/tongue.png" class="smilie" loading="lazy" alt=":p" title="Stick Out Tongue :p" data-shortname=":p" /></li> <li data-xf-list-type="ul">Also, why not assign the modules_to_be_assigned in the constructor for the class.</li> <li data-xf-list-type="ul">Also why dont anyone of the functions like checkIfExists have a following argument for the module they want to check.</li> <li data-xf-list-type="ul">Why not make the class be used as a blueprint, instead of initalizing a new instance of the class everytime i wanna do something simple like check_if_exists</li> </ul> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">In other words why do you make the users do this</p> <p style="margin-left: 20px">1. Go into the module and manually add the modules by hand into the dictionary (dont understand why you've done it this way)</p> <p style="margin-left: 20px">Then do.</p> <p style="margin-left: 20px">new_api = Apis()</p> <p style="margin-left: 20px">new_api.check_if_exists()</p> <p style="margin-left: 20px"></p> <p style="margin-left: 20px">Why not just</p> <p style="margin-left: 20px">Apis().check_if_exists(selenium) --> returns a boolean</p><p></p><p>Those are some of the things i don't understand.</p></blockquote><p></p>
[QUOTE="Mikee, post: 418910, member: 76567"] [U]Few questions[/U] [LIST] [*]why are u using camelcase for function definitions then underscores for variable assignments :p [*]Also, why not assign the modules_to_be_assigned in the constructor for the class. [*]Also why dont anyone of the functions like checkIfExists have a following argument for the module they want to check. [*]Why not make the class be used as a blueprint, instead of initalizing a new instance of the class everytime i wanna do something simple like check_if_exists [/LIST] [INDENT] In other words why do you make the users do this 1. Go into the module and manually add the modules by hand into the dictionary (dont understand why you've done it this way) Then do. new_api = Apis() new_api.check_if_exists() Why not just Apis().check_if_exists(selenium) --> returns a boolean[/INDENT] Those are some of the things i don't understand. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Automated third party module installer for python
Top