difflib: match changes by words, not by characters: http://stackoverflow.com/questions/39001097/difflib-match-changes-by-words-not-by-characters
Stackoverflow
difflib: match changes by words, not by characters
I'm using difflib's SequenceMatcher to get_opcodes() and than highlight the changes with css to create some kind of web diff.
First, I set a min_delta so that I consider two strings different if o...
First, I set a min_delta so that I consider two strings different if o...
Classical Controls Tutorials for Python. [x-post: /r/engineeringstudents]: https://www.reddit.com/r/Python/comments/4yoz50/classical_controls_tutorials_for_python_xpost/
reddit
Classical Controls Tutorials for Python. [x-post:... • /r/Python
Finally got around to updating/fixing my port of [University of Michigan's Controls Tutorials for...
Python itertools tutorial with simple examples: https://www.reddit.com/r/Python/comments/4ypxy7/python_itertools_tutorial_with_simple_examples/
reddit
Python itertools tutorial with simple examples • r/Python
I am working on a project that led me to read up more on itertools. I found this great itertool tutorial with some examples that explain some of...
Simulating the Monty Hall Problem, anyone can help my code?: https://www.reddit.com/r/Python/comments/4ys7dq/simulating_the_monty_hall_problem_anyone_can_help/
reddit
Simulating the Monty Hall Problem, anyone can help my... • /r/Python
So today I was introduced to the Monty Hall Problem, and we argued back and forth about it, so I tried to prove either point mathematically and...
Question w/ recursion and declaring in function: https://www.reddit.com/r/Python/comments/4ys7yw/question_w_recursion_and_declaring_in_function/
reddit
Question w/ recursion and declaring in function • /r/Python
Hi Everyone, This is my first Reddit post so bear with me... I have written a function that can recursively iterate over directories and add...
Pushing to Elasticsearch in production: https://www.reddit.com/r/Python/comments/4ysisl/pushing_to_elasticsearch_in_production/
reddit
Pushing to Elasticsearch in production • /r/Python
Hi, I have a web server running. Receive request, send response. It's uwsgi behind nginx. Now I would like to introduce a simple middle step....
python astronomical library suggestions: given a datetime, how far away is mars right now?: https://www.reddit.com/r/Python/comments/4ytaic/python_astronomical_library_suggestions_given_a/
reddit
python astronomical library suggestions: given a... • /r/Python
i'm looking for a python library or API that can generate time-specific astronomical distances between earth and [celestial body]. any...
Modifying python colormaps to single value beyond a specific point: http://stackoverflow.com/questions/39024331/modifying-python-colormaps-to-single-value-beyond-a-specific-point
Stackoverflow
Modifying python colormaps to single value beyond a specific point
How do I change a colormap color scheme to show the same color beyond a point.
E.g. here's my colormap:
import palettable
cmap = palettable.colorbrewer.sequential.YlGn_9.mpl_colormap
If I use t...
E.g. here's my colormap:
import palettable
cmap = palettable.colorbrewer.sequential.YlGn_9.mpl_colormap
If I use t...
[x-post /r/netsec] Proof of Concept code for CVE-2016-5696 written in python: https://www.reddit.com/r/Python/comments/4ytjd5/xpost_rnetsec_proof_of_concept_code_for/
reddit
[x-post /r/netsec] Proof of Concept code for... • /r/Python
1 points and 1 comments so far on reddit
Python on Pebble: https://gist.github.com/hiway/cd237eb1040c38e7ab5306a63575ded5
Gist
Python on Pebble. Yes. It works, with a bit of space to write a decent app and some heap memory to spare. AJAX works, as shown…
Python on Pebble. Yes. It works, with a bit of space to write a decent app and some heap memory to spare. AJAX works, as shown in code. - pybble.py
A Python interface to AFL, allowing for easy injection of testcases: https://github.com/shellphish/fuzzer
GitHub
GitHub - shellphish/fuzzer: A Python interface to AFL, allowing for easy injection of testcases and other functionality.
A Python interface to AFL, allowing for easy injection of testcases and other functionality. - shellphish/fuzzer
how to design a nodegraph widget which contains subgraphs?: http://stackoverflow.com/questions/38987494/how-to-design-a-nodegraph-widget-which-contains-subgraphs
Stackoverflow
how to design a nodegraph widget which contains subgraphs?
Here's the thing, I'd like to create a pyqt widget similar to the one Blender uses for representing its nodes. I've given a shot to this problem few times in the past and all my attempts were badly
LinkedIn Launches Open Source Python Plugin for Gradle: https://www.reddit.com/r/Python/comments/4yv3w4/linkedin_launches_open_source_python_plugin_for/
reddit
LinkedIn Launches Open Source Python Plugin for Gradle • /r/Python
2 points and 0 comments so far on reddit
How to Create a port scanner TCP SYN using the method (TCP SYN )?: http://stackoverflow.com/questions/39024816/how-to-create-a-port-scanner-tcp-syn-using-the-method-tcp-syn
Stack Overflow
How to Create a port scanner TCP SYN using the method (TCP SYN )?
#####################################
# Portscan TCP #
# #
#####################################
# -*- coding: utf-8 -*-
#!/usr/bin/python3
import socket
ip = input("Digite o IP ou enderec...
# Portscan TCP #
# #
#####################################
# -*- coding: utf-8 -*-
#!/usr/bin/python3
import socket
ip = input("Digite o IP ou enderec...
Explore and Exert Python file Handling Concepts to the Depth.: https://www.reddit.com/r/Python/comments/4yvitl/explore_and_exert_python_file_handling_concepts/
reddit
Explore and Exert Python file Handling Concepts to the... • /r/Python
1 points and 0 comments so far on reddit