Skip to content

Instantly share code, notes, and snippets.

@pythonanywhere
pythonanywhere / file1.py
Last active December 12, 2015 03:19
Multi-file gist for testing
from file2 import display
if __name__ == "__main__":
display("Hello from file1 in multi-file gist")
@pythonanywhere
pythonanywhere / public.py
Created March 20, 2013 16:30
Public gist with a single file for the FT
def display(s):
print (s)
display('Hello from single-file gist')
@pythonanywhere
pythonanywhere / spaces in the name€.py
Last active December 15, 2015 05:08
Public gist with a single spaced file for € the FT
def display(s):
print (s)
display('Hello from single-file gist')
@pythonanywhere
pythonanywhere / extra_functions.py
Last active June 22, 2017 18:11
PythonAnywhere Gist DemoBot
import os
import subprocess
def get_google_news_homepage():
print("this will fetch the current google news home page as text.")
print("it will use the requests and lxml libaries")
print("press enter to continue")
input()
import requests