This file contains 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
```python | |
import findspark | |
findspark.init("/usr/local/Cellar/apache-spark/2.2.1/libexec/") | |
``` | |
```python | |
sc |
This file contains 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
# Usage: | |
# wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz | |
# tar -zxvf Imaging-1.1.7.tar.gz | |
# cd Imaging-1.1.7 | |
# patch -p1 -i ../patch | |
# # continue with installation | |
Only in Imaging-1.1.7-patched: build | |
Only in Imaging-1.1.7-patched: patch | |
diff -crB Imaging-1.1.7/setup.py Imaging-1.1.7-patched/setup.py |
This file contains 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
from django.test import TestCase | |
from django.test.client import Client | |
import logging | |
logging.disable("debug") | |
class XMLWebserviceTest(TestCase): | |
c = Client() | |
def setUp(self): |