Skip to content

4quarks/RareHacks_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RareHacks

Getting Started

  • Front-end

This project is a starting point for a Flutter application.

  1. Install Android Studio and set it up with Flutter.
  2. Git clone this repository
  3. Open Android Studio and in the menu "Open an existing Android Studio project" and select the folder of the project.
  4. Ready to go!
  • Back-end

The algorithms of this projects are going to be programmed in Python 3 using the IDE PyCharm.

  1. Install PyCharm.
  2. Create the virtual environment: File->Settings->Project->Project interpreter->Click next to projec interpreter->show all-> + -> "create your environment" -> Ok -> Apply -> Ok

Errors

  • ModuleNotFoundError: File->Settings->Project->Project interpreter-> Interpreter paths -> "Add path with the error" -> Ok -> Apply

  • Can not run Git: Download git

Methodology

  • Classes structure: First letter in uppercase. One single word (noun).
class Person:
  """
  Atributes:
    age: [type, description]: int, indicates how old is the person.
    gender: str, (M or F) indicates if its male or famale.
  
  """
  def __init__(self, age, gender):
    self.age = age
    self.gender = gender
  • Functions structure

First letter in uppercase of each word except the first one. First word has to be a verb indication what returns the function.

def getNumberPopulation(place, data): 
  """
  Function that gets the place and all the raw data and returns the population of that place.
  Atributes:
    place: string, indicates the name of the place.
    data: array matrix (mxn), the columns are [sthng, sthng, sthng].
  Returns:
    num_population: float, indicates the number of that population. 
  """
  • Variables:

All the words in lowercase and separate by a lowbar

som_new_variable = sthng

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages