Windows Service with Python 3.5 and pyinstaller
- Python 3.5.x
- Visual C++ Build Tools 2015
- PyInstaller 3.2
Windows Service with Python 3.5 and pyinstaller
| import json | |
| import unittest | |
| import xmltodict | |
| class XmlDiff(object): | |
| def __init__(self, xml1, xml2): | |
| self.dict1 = json.loads(json.dumps((xmltodict.parse(xml1)))) | |
| self.dict2 = json.loads(json.dumps((xmltodict.parse(xml2)))) |
| $ python push.py | |
| message n°0 | |
| message n°1 | |
| message n°2 | |
| message n°3 | |
| message n°4 | |
| message n°5 | |
| message n°6 | |
| message n°7 | |
| message n°8 |
| interface IEvenement {} | |
| class Depot implements IEvenement { | |
| valeur: number; | |
| constructor(valeur: number) { | |
| this.valeur = valeur; | |
| } | |
| } |
| <div id="main-container"> | |
| <div id="main"> | |
| <h1> | |
| <img alt="scubabook logo" src="{{ static_url("img/logo.png") }}"> | |
| </h1> | |
| <div id="login-form"> | |
| <form action="/auth/login/" method="post" id="login_form"> | |
| <fieldset> | |
| <label for="username">Username</label> | |
| <input autocapitalize="off" autocorrect="off" class="text-input" id="username" name="username" tabindex="1" type="text" value=""> |
| words = "gruyère apporter rituel mallette anguleux intime irréel ralentir posture orque grand fatal donner négation carotte replier nocif opprimer tenir accolade éprouver sonde tambour cylindre" | |
| import binascii | |
| from mnemonic import mnemonic | |
| from bip32 import BIP32 | |
| import base58 | |
| import hashlib | |
| mnemo = mnemonic.Mnemonic("french") |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" | |
| content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Test</title> | |
| </head> | |
| <body> |
| <table width="400" border="0" cellpadding="0" cellspacing="0"> | |
| <tr> | |
| <td width="119" height="82"> | |
| <img alt="logo" src="http://okiwi.org/img/okiwi.png" width="92" | |
| height="74" style="margin: 0; border: 0; padding: 0; display: block;"> | |
| </td> | |
| <td width="3" bgcolor="#8B6849"> | |
| </td> | |
| <td width="310" height="82" | |
| style="padding-left:10px; font-family: sans-serif; color: #8B6849; font-size: 13px;"> |