Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
squadre = ['roma', 'juve', 'lazio', 'milan', 'inter', 'samp', | |
'genoa', 'catania', 'bari', 'atalanta', 'andria', 'barletta', 'chievo', | |
'pescara', 'fiorentina', 'palermo', 'napoli', 'siena', 'udine', 'bologna'] | |
numero_squadre = len(squadre) | |
giornate = len(squadre) - 1 | |
def AlgoritmoDiBerger(squadre): | |
if not numero_squadre % 2 == 0: |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
application: you-app-name-here | |
version: 1 | |
runtime: python | |
api_version: 1 | |
default_expiration: "30d" | |
handlers: | |
- url: /(.*\.(appcache|manifest)) | |
mime_type: text/cache-manifest |
import webapp2, tweepy | |
consumer_token = 'CONSUMER KEY' | |
consumer_secret = 'CONSUMER SECRET' | |
auth = tweepy.OAuthHandler(consumer_token, consumer_secret) | |
class Twitter(webapp2.RequestHandler): | |
def get(self): | |
oauth_token = self.request.get("oauth_token") | |
oauth_verifier = self.request.get("oauth_verifier") |