Tag Archives: python

Using my Python Web Crawler in my site

Questions: I created a Web Crawler in Python 3.7 that pulls different info and stores them into 4 different arrays. I have now come across an issue that I am not sure how to fix. I want to use the data from those four arrays in my site and place them into a table made… Read More »

Equivalent srypto coding from python to C#?

Questions: Basically I am converting Python code into c# but I stuck while converting Python encryption code into c#. Here Python code : def new_cipher(self, verbose=False): “”” Generates a new AES cipher from the serial number and headset version. :return: New AES cipher “”” if verbose: print(“EmotivCrypto: Generating new AES cipher.”) # Create initialization vector.… Read More »

C# Process with Python command (+path arguments)

Questions: I tried to pass a string representation of a python list that stores multiple paths to a Process in C# (later on, I would like to ast.literal_eval() the first argument): ProcessStartInfo procStartInfo = new ProcessStartInfo(“powershell”, command); procStartInfo.UseShellExecute = true; procStartInfo.CreateNoWindow = true; Process proc = new Process(); proc.StartInfo = procStartInfo; proc.Start(); When using System.Console.Out.WriteLine(command)… Read More »

Passing HTML/JS variables to Python

Questions: I am creating a site that will run on an embedded device that provides an interface for the user to interact with several functions on the site. These functions on the HTML site will interface to a Python script which will then control external physical devices connected to the embedded device. So far, I… Read More »