python - Joining links together in a dictionary -


I have a dictionary link, which holds a tubal map for a number. > How can I add to the urljoin () function? The one I am trying to do is get the full link, so I can run a recurring event. search which takes a full URL as an argument, every URL Finds the links and the number of links is mapped to the links in a database.

So far, I have:

  & gt; & Gt; & Gt; Link {('href', 'http://reed.cs.depaul.edu/lperkovic/csc242/test2.html'): 1, ('href', 'test3.html'): 1}  

I'm trying to convert it to "http://reed.cs.depaul.edu/lperkovic/csc242/test3.html" .

1) The keys are not a fixed order.

2) It's not really clear what you are trying to do, really. If you are trying to solve the problem, you will get better support. On the other hand, if it is a homework task, then you should not look for this kind of help here. You should ask your TA.


Comments