Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75130 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2014-07-24 17:08 +1000 |
| Last post | 2014-07-24 17:08 +1000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: one to many (passing variables) Chris Angelico <rosuav@gmail.com> - 2014-07-24 17:08 +1000
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2014-07-24 17:08 +1000 |
| Subject | Re: one to many (passing variables) |
| Message-ID | <mailman.12270.1406185683.18130.python-list@python.org> |
On Thu, Jul 24, 2014 at 4:36 PM, Martin S <shieldfire@gmail.com> wrote: > How do you pass data from one function to many? > > I have functions A B and C. If data generated in A is useable in both > B and C how do I ensure this data is passed as needed? Or is it a > symptom of bad code? This is a little vague. Is there one function which calls A and then calls B and C? What's the relationship between them? Is it logical for A to itself call B and C? Are they all methods off one object? Top-level functions in a module? ChrisA
Back to top | Article view | comp.lang.python
csiph-web