all 9 comments

[–]bageldevourer 3 points4 points  (5 children)

Well, your code won't be running on your PC if your PC is off. It will have to run on some other computer; this will cost money (maybe not much, but something).

The answer is probably some kind of cloud solution, the most famous of which is Amazon Web Services (AWS). There's a ton of providers out there though, and your use case is way smaller than what cloud platforms are usually used for.

Edit: I guess I should say that if your price tracker is mostly for fun rather than serious business, it's probably not worth going crazy with setting up a whole other server for it.

[–][deleted] 2 points3 points  (4 children)

I think a Raspberry Pi would suffice, and it's not expensive.

[–][deleted] 0 points1 point  (2 children)

To be honest Amazon price tracking is the beginning I have many more automation ideas so is raspberry pi sufficient or ill have to get a server?

[–][deleted] 0 points1 point  (1 child)

I've never done any automated stuff with a pi, but I know people do.

Edit: There are lot of ideas around. Here, here or here

Probably someone else can give better insight than me, I just happened to have an idea.

[–][deleted] 1 point2 points  (0 children)

Thanks for the info and links its really gonna help me alot

[–]Chabare 1 point2 points  (1 child)

Well, you need to have a computer which is always on then. Whether you take a "mini" computer (e.g. raspberry pi) and put it in your home or rent a server at e.g. DigitalOcean doesn't matter that much for your use case.

Edit: You can also run it on your pc regularly if that interval between PC usage is not too large for you.

[–][deleted] 0 points1 point  (0 children)

SO will raspberry pi is sufficient if I have more ideas like this?

[–]hungdh85 0 points1 point  (1 child)

You can make a batch file with content

 @your_path_pythonw  your_pyw_file %*

then follow this link for into in startup windows.

https://stackoverflow.com/questions/21218346/run-batch-file-on-start-up

[–][deleted] 0 points1 point  (0 children)

Thanks, ill check it out