Skip to main content

All Questions

Tagged with or
1 vote
1 answer
137 views

I created these database tables with the inspiration in NjDevPro github repository. The design uses Closure Table for implementation of hierarchical tagging system in ...
xralf's user avatar
  • 37
1 vote
1 answer
2k views

As you can see I am using a counter variable to iterate through my JSON file and it's a dictionary that has a list of dictionaries. Once I find the key normalHours I divide it and add it to my ...
JThao's user avatar
  • 57
1 vote
1 answer
230 views

I have a Python 2.7 script that loops through GIS polylines and updates a coordinate. The coordinate is called an "M" coordinate (aka a "Measure-value"). M coordinates are similar ...
User1974's user avatar
  • 218
1 vote
1 answer
3k views

So I need to update my nested dictionary where the key is "compensationsDeltaEmployee". I created a string cost_perhour to hold the value of my conditional statements. Now that I am done ...
JThao's user avatar
  • 57
3 votes
4 answers
2k views

Coming from another language than Python, I would like to see if my code is "pythonic" enough and follows good practices. It compares two directories, showing all files that are in one and ...
Saya's user avatar
  • 137
5 votes
1 answer
1k views

The below class implementing a simple way to create emails with attachments, including the option to create in-memory zip files and attach them to the email. Because I am not a professional programmer ...
Alex's user avatar
  • 151
3 votes
1 answer
79 views

As a side project, I'm working on a Bokeh web application to display public bikeshare data on a map. The data is updated every 2 minutes using a periodic callback. Below is the full implementation. I'...
keves1's user avatar
  • 31
2 votes
3 answers
702 views

def T(n): if n <= 0: return 1 else: return T(n-1) + (n-1) * T(n-2) print T(4) I need an effective way to print out the output of the function <...
Justin's user avatar
  • 2,619

15 30 50 per page
1
2 3 4 5
83