Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read saved csv file in a single run #47931

Closed
Paul mannequin opened this issue Aug 25, 2008 · 5 comments
Closed

Cannot read saved csv file in a single run #47931

Paul mannequin opened this issue Aug 25, 2008 · 5 comments
Labels
topic-IDLE type-feature A feature request or enhancement

Comments

@Paul
Copy link
Mannequin

Paul mannequin commented Aug 25, 2008

BPO 3681
Nosy @benjaminp

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2009-03-29.11:17:25.271>
created_at = <Date 2008-08-25.21:38:44.805>
labels = ['expert-IDLE', 'type-feature', 'invalid']
title = 'Cannot read saved csv file in a single run'
updated_at = <Date 2009-03-29.11:17:25.236>
user = 'https://bugs.python.org/paul'

bugs.python.org fields:

activity = <Date 2009-03-29.11:17:25.236>
actor = 'gpolo'
assignee = 'none'
closed = True
closed_date = <Date 2009-03-29.11:17:25.271>
closer = 'gpolo'
components = ['IDLE']
creation = <Date 2008-08-25.21:38:44.805>
creator = 'paul'
dependencies = []
files = []
hgrepos = []
issue_num = 3681
keywords = []
message_count = 5.0
messages = ['71958', '71959', '71961', '71962', '84374']
nosy_count = 3.0
nosy_names = ['benjamin.peterson', 'gpolo', 'paul']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue3681'
versions = ['Python 2.5']

@Paul
Copy link
Mannequin Author

Paul mannequin commented Aug 25, 2008

I am trying to save a csv file from a scope and then open it to post
process the data.
The file is getting created currectly, but when it tries to open the
csv file it complains about file not found. I am trying to do this in
a single run. If I rerun the code again, the file open function works
correctly.

It cannot see the newly created csv file till the python code stops
and I rerun it. How can I refresh the directory on the fly so that the
newly saved file is seen right away. I am on windows xp machine.

Appreciate your help.

Thanks.

@Paul Paul mannequin added topic-IDLE type-feature A feature request or enhancement labels Aug 25, 2008
@benjaminp
Copy link
Contributor

Are you closing the file before trying to read it?

@Paul
Copy link
Mannequin Author

Paul mannequin commented Aug 25, 2008

I wrote a python GPIB command to the scope to export the waveform as a
csv file. Then in another function I try to read this file that I just
saved and it cannot find the file till I rerun.

@benjaminp
Copy link
Contributor

On Mon, Aug 25, 2008 at 4:45 PM, Rahul Ghosh <report@bugs.python.org> wrote:

Rahul Ghosh <rahul.ghosh@gmail.com> added the comment:

I wrote a python GPIB command to the scope to export the waveform as a
csv file. Then in another function I try to read this file that I just
saved and it cannot find the file till I rerun.

Can you paste some code that will reproduce the problem?


Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue3681\>


--
Cheers,
Benjamin Peterson
"There's no place like 127.0.0.1."

@gpolo
Copy link
Mannequin

gpolo mannequin commented Mar 29, 2009

Closing for lack of interest.

Rahul, the bug tracker is a place to provide help not to obtain help. So
if you still have the problem mentioned, consider posting to a proper
mail list and if you can confirm it is really a bug then create a new issue.

@gpolo gpolo mannequin closed this as completed Mar 29, 2009
@gpolo gpolo mannequin added the invalid label Mar 29, 2009
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-IDLE type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant