Posts

Palais épiscopal de Montauban

Image
Cet article est une ébauche concernant le Tarn-et-Garonne et les monuments historiques français. Vous pouvez partager vos connaissances en l’améliorant ( comment ? ) selon les recommandations des projets correspondants. Consultez la liste des tâches à accomplir en page de discussion. Palais épiscopal de Montauban L'ancien palais épiscopal vu du Vieux pont Présentation Destination initiale Évêché de Montauban Destination actuelle Musée Ingres Architecte Bernard Campmartin Construction 1664-1680 Propriétaire Ville de Montauban Statut patrimonial  Classé MH (1910) Localisation Pays   France Région Occitanie Département Tarn-et-Garonne Commune Montauban Adresse 19 rue de l'Hôtel-de-Ville Coordonnées 44° 01′ 01″ N, 1° 21′ 06″ E Géolocalisation sur la carte : France Géolocalisation sur la carte : région Occitanie Géolocalisation sur la carte : Tarn-et-Garonne Gé...

Python syntax error when tryng to generate oauth2 token

Image
0 I'm having a problem in running a command to get offlineimap running. I'm not an expert and don't code in python. I need to run the following command: python python/oauth2.py --generate_oauth2_token --client_id=MY_CLIENT_ID --client_secret=MY_CLIENT_SECRET And I'm using the following repository to access the oauth2.py: gmail-oauth2-tools. The problem is that when running the command I'm getting the following syntax error in the .py file: File "oauth2.py", line 297 print 'Missing options: %s' % ' '.join(missing) ^ SyntaxError: invalid syntax Below is the block of code where the error is contained: def RequireOptions(options, *args): missing = [arg for arg in args if getattr(options, arg) is None] if...