Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12820 > unrolled thread
| Started by | Chris Angelico <rosuav@gmail.com> |
|---|---|
| First post | 2011-09-06 18:22 +1000 |
| Last post | 2011-09-06 22:08 -0700 |
| Articles | 4 — 2 participants |
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: strang thing: Chris Angelico <rosuav@gmail.com> - 2011-09-06 18:22 +1000
Re: strange thing: "W. eWatson" <wolftracks@invalid.com> - 2011-09-06 19:43 -0700
Re: strange thing: Chris Angelico <rosuav@gmail.com> - 2011-09-07 12:48 +1000
Re: strange thing: "W. eWatson" <wolftracks@invalid.com> - 2011-09-06 22:08 -0700
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2011-09-06 18:22 +1000 |
| Subject | Re: strang thing: |
| Message-ID | <mailman.794.1315297360.27778.python-list@python.org> |
2011/9/6 守株待兔 <1248283536@qq.com>: > file = open(filename,'r') > when i add (date,open,high,low,close,vol,adjclose) = (row[0], row[1], You're assigning to the name "open", which is shadowing the built-in of the same name. The second time through the loop, you're not calling the usual open() function, you're trying to call your string. That's what your error is telling you. Hope that helps! ChrisA
[toc] | [next] | [standalone]
| From | "W. eWatson" <wolftracks@invalid.com> |
|---|---|
| Date | 2011-09-06 19:43 -0700 |
| Subject | Re: strange thing: |
| Message-ID | <j46lpr$fb7$1@dont-email.me> |
| In reply to | #12820 |
CA, Did you respond to my off-NG msg about FORTRAN? Perhaps it's caught in my spam on the net.
[toc] | [prev] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2011-09-07 12:48 +1000 |
| Subject | Re: strange thing: |
| Message-ID | <mailman.819.1315363703.27778.python-list@python.org> |
| In reply to | #12868 |
On Wed, Sep 7, 2011 at 12:43 PM, W. eWatson <wolftracks@invalid.com> wrote: > CA, Did you respond to my off-NG msg about FORTRAN? Perhaps it's caught in > my spam on the net. No, I didn't; as someone else pointed out, you'll get better results asking on a dedicated Fortran list. ChrisA
[toc] | [prev] | [next] | [standalone]
| From | "W. eWatson" <wolftracks@invalid.com> |
|---|---|
| Date | 2011-09-06 22:08 -0700 |
| Subject | Re: strange thing: |
| Message-ID | <j46u9a$k0e$2@dont-email.me> |
| In reply to | #12869 |
On 9/6/2011 7:48 PM, Chris Angelico wrote: > On Wed, Sep 7, 2011 at 12:43 PM, W. eWatson<wolftracks@invalid.com> wrote: >> CA, Did you respond to my off-NG msg about FORTRAN? Perhaps it's caught in >> my spam on the net. > > No, I didn't; as someone else pointed out, you'll get better results > asking on a dedicated Fortran list. > > ChrisA OK.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web