So I am a graduate, nothing's confirmed yet, but I want to prepare for this hypothetical situation just in case. I'm currently desperate for a job, so I applied for not only jobs in the industry I want to work for (I.T.) but I applied for other jobs such as retail stores. I have an interview this week with a local supermarket for a part-time job, which is great. However this morning a friend of mine, who does the exact job I want to do, just told me that his company is hiring for a graduate role, and he said if I apply he'll put in a good word for me to his manager.
So this is the hypothetical part, what if I get this supermarket part time job, then a couple of weeks later I get an interview and then get offered a job for the IT job. Out of the 2 jobs I obviously want the IT job, but is it acceptable to leave a job so soon after leaving?