Anyone can clone http://weheartit.com using Python and PostgreSQL? Will pay you $2,300usd to a simple version of weheartit.com. Before we hire you, you will need to prove that you know Python by answering this question: What does this piece of code do? img_src.extend(['/%s' % f for f in glob.glob('static/tmp/'+`pin_id`+'.*.png')]) PM me if you want to work on this project! -Ormus
I don't know about python, but it's iterates through the folder to create a list of png images path with names based on 'pin_id'. And I am sure img_src is a variable containing a list of images path that need to be extended or inserted into the list above. Hope it help you, even just a little. May be someone else with decent knowledge would help you better.
Yeah I wonder the same since I could build this with php and mysql. I don't have any experience with python.
I can do this with wordpress in less than a few hours and cheaper by orders of magnitude. Then you are not stuck with a stand alone solution someone else coded. Its not much fun trying to figure out what someone else was doing if things go south with the dev. Nigel
Below is answer -- This is my friend python developer if you want to hire him let me know img_src.extend(['/%s' % f for f in glob.glob('static/tmp/'+`pin_id`+'.*.png')]) assuming values for variables: img_src = ['a', 'b', 'c'] pin_id = 123 assuming the directory statuc/tmp/123 has these files: alpha.jpeg beta.png gamma.png the above will change img_src to be: ['a', 'b', 'c', '/statuc/tmp/123/beta.png', '/statuc/tmp/123/gamma.png']
img_src is a list of images, and this piece of code adds new elements to that list. The elements themselves are relative URI's from files that match 'static/tmp/PIN_ID.*.png glob (aka shell expansion).
Hey, Do you still have this requirement open ? Though I dont work in python, I can clone weheartit.com for you in .NET or Java or PHP. Let me know if you are still looking for it via PM.
I don't know about python but if you're willing to do this with php I will do it for you in the perfect way with much less than money you offered . It not a difficult job. I'll send you my samples job if you're interested .