hashlib different md5
   I am trying to get the md5 hash of a file. It seems the md5 I am getting from the script is different than the actual md5. If anyone could point me in the direction needed it would be great.

 
```
  for dir, dirs, file in os.walk(path)
    if file == (filename):
        m = hashlib.md5()
        m.update(file)  
        m.hexdigest()
        print m.hexdigest()

```
The third item in os.walk is a list of filenames. Otherwise, the md5 of a file refers to the content of the file, not to the filename. Run your code before posting issues!
the worst case should be o(n) if each hash is the same, however it should be noted that by default the stdlib's hashmap and hashset use an hasher that provide resistance against [hashdos](https://cryptanalysis.eu/blog/2011/12/28/effective-dos-attacks-against-web-application-plattforms-hashdos/) attacks, so you should be safe.

[image] tamas:

amortized/average is also interesting, but i assume that's goi… dear [@supu123](/u/supu123) ,

look in the uipath explorer the selector for multiple times and observe keenly whether the title changes or not

if the title is changing then

replace title- 'delhi high court - "’ or just ""

also look at your case number variable that you are fetching is it the exact name as it … How you do this will depend on a number of factors: since you haven't tried to explain in any detail, I'll assume you know nothing, and just give you the basics.  

  

The easiest way to do this is to read the text file into a single string, and then use the .NET framework to find the match:  


```
Dim text As String = File.ReadAllText("D:\Temp\MyFile.txt")
Dim index As Integer = text.IndexOf("hello")
If index >= 0 Then
   ' String is in file, starting at character "index"
End If
```
  

There are other ways, but that is pretty much the simplest. i use a mac as well. you can set textedit to ‘plain text’ instead of ‘rich text’ and make sure it’s saving as a utf-8 .txt file in the preferences, but there isn’t an easy way to show the line numbers. if it’s saving as .rtf, that might be one reason your code isn’t working for you currently.

as fo… [image] simas:

[image] virgilwashere:

<https://domain.com/mautic/mautic_segments_update.sh>

i doubt that is the intended way to invoke the bash script.

well, that’s what i was told to use in the command line to invoke the script… and from the output file support says it’s working from their… seek and tell are still required.

see here: <https://docs.lvgl.io/latest/en/html/overview/file-system.html#use-drivers-for-images> post the hacks.h code, to see if you got any errors there as well 

fix this small syntax mistakes found on hacks.cpp




greets,

voidisalive you could download each fex submission to a separate folder and then create links (hard or symbolic) to the matlab files (m, p, mex, etc.) in a single common folder for all fex submissions. this might cause problems with name collisions to common files (e.g., contents.m). in your for each activity, assign the output variable:

[foreachloop]

then in your file path it would be something like:

“c:\users%youruser%\desktop\uipathdemo\pdf\extractedpages” + %outputvariable.tostring% + “.pdf” interesting.... hmm, it looks that the ./bin/elasticsearch script is requiring the keystore password input from stdin

if you look at the actual script that starts ./bin/elasticsearch you can see why.

from the script

# get keystore password before setting java options to avoid

# conflicting gc con…