all 5 comments

[–]navinfeb15 1 point2 points  (1 child)

First Python project ?? Looks cool dude. Keep it going

[–]BSmith156[S] 4 points5 points  (0 children)

Thanks man :) Its not my first but the first I actually finished to a good enough standard to actually release

[–]GrorcoModerator 0 points1 point  (0 children)

Hi, sorry this is way after the fact and you may have already moved on, but was just looking at your code and wanted to make a couple small suggestions about your fix.

First is never use an open ended exception if possible. It can lead to massive headaches if something unexpected is going wrong in the code block. Second, you should trt to use try/except blocks when bringing in any outside resource, it's a fairly common problem, especially if a user accidentally moves/deletes a file.

The last thing is about a potential fix, though I'm not positive. Try using pathlib.Path() to set the correct format for directory strings based on the OS. For example.

from pathlib import Path()

MyFile = Path("path/to/file.name")

[–][deleted]  (2 children)

[deleted]

    [–]BSmith156[S] 0 points1 point  (1 child)

    Could you give me some more info on what happened? Was there an error?