This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> | |
| <script src="https://rawgit.com/lmcnulty4/d3dragSelector/master/dragSelector.js"></script> | |
| <style> | |
| .selector { | |
| fill: blue; | |
| fill-opacity: 0.3; | |
| stroke: blue; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def print_traceback(e): | |
| """ | |
| Prints a formatted traceback of the given exception, including filename, line number, function name, code line, | |
| and local variables for each frame in the traceback stack. | |
| Args: | |
| e (Exception): The exception object for which the traceback should be printed. | |
| Returns: | |
| None | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import json | |
| import logging | |
| import traceback | |
| import sys | |
| import pickle | |
| import base64 | |
| from datetime import datetime, date, time, timedelta | |
| class JSONEncoder(json.JSONEncoder): | |
| def default(self, obj): | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import json | |
| import ast | |
| import os | |
| def get_functions_from_source(filepath): | |
| """ | |
| Parses a Python file and returns a list of functions with their line numbers. | |
| Each item is a tuple: (function_name, start_line, end_line). | |
| """ | |
| functions = [] | 
OlderNewer