Skip to content

Clement-Jean/LFS145

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LFS145

This is the companion repository for the LFS145 course.

Python

In this section, we assume that you are in the python subdirectory.

Virtual environment

Creating

python3 -m venv venv

Activating

For Linux/MacOS:

source venv/bin/activate

For Windows (Powershell):

./venv/bin/Activate.ps1

Installing Dependencies

pip3 install -r requirements.txt --upgrade

Deactivating

deactivate

Running

python3 main.py [account|user|user2|product|phone|phone2|logine|logins|any|duration|duration2|time|fm|fm2|struct|struct2|wrapper|json|file]

Protoc

protoc --python_out=. proto/*.proto

Java

In this section, we assume that you are in the java subdirectory.

Running

python3 ../python/main.py file
gradle run --args="$(PWD)/account.bin"