<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
<In what way does your code behave incorrectly? Include ALL error messages.>
<What do you expect to happen instead?>
I want it to check a file to see if anything is below a certain stock level and then create a new file with the order for it.
```python
try:
stock_file = open (“stock.txt”, “r”)
stock_items = stock_file.split(" : ")
except:
print (“Couldn’t open file!”)
stock_file.close()
Keep in mind that it’s much easier to provide relevant help if you explain what the trouble is, what you’re unable to do, what you want to know. Otherwise people may become very reluctant to tell much about anything since it’s not known what you’re actually looking for and anything said is fairly likely to be something you don’t care about, a waste of effort.