Jump to content

Trying to help my wife with Python

MksDvl

Hey guys, so I'm trying to help my wife with some Python programmation. I've messed around C++ and labview in the past so might as well try and figure things out in Python to help her.

 

Here is the problem.

 

She is calculating variables and showing them in a graph in a new window and taking those variables and put the results in a .txt file. But if in the command to open a new window with the graphs comes first in the program. The graphs will show and the .txt file will be empty. And if the the new window with the graphs comes second. The graphs will be empty and the .txt file will be full. So how come it works for one and not the other? Seems like it clears the data once it reads it?

 

I know it's vague but i'm trying my best.

 

Thanks guys.

Link to comment
Share on other sites

Link to post
Share on other sites

You can post you code here so someone can help you. Going blind is very difficult to help.

 

As a side note I would invite you to check out stack overflow. There is a python section that seen the biggest growth i have ever seen and have tons of great support. This question would be a good fit for the Q&A there.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×