Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 17 2017 14:58

    MarkusHackspacher on master

    remove drone.io (compare)

  • Mar 02 2017 21:00

    MarkusHackspacher on master

    Update .drone.yml (compare)

  • Dec 14 2016 22:15

    MarkusHackspacher on master

    Update README.md (compare)

  • Dec 14 2016 22:06

    MarkusHackspacher on master

    Update README.md (compare)

  • Dec 14 2016 22:06

    MarkusHackspacher on master

    Update README.md (compare)

  • Dec 14 2016 22:05

    MarkusHackspacher on master

    Update README.md (compare)

  • Oct 24 2016 21:07
    SaschaMester added as member
  • Sep 10 2016 16:51

    MarkusHackspacher on master

    quantifiedcode.com close service (compare)

  • May 15 2016 22:06

    MarkusHackspacher on master

    add .drone.yml to send build st… (compare)

  • Jan 01 2016 10:40

    MarkusHackspacher on master

    new tests (compare)

  • Dec 20 2015 22:24

    MarkusHackspacher on master

    Fußball-Europameisterschaft 2016 (compare)

  • Dec 15 2015 21:51

    MarkusHackspacher on master

    new test team model (compare)

  • Dec 14 2015 19:57

    MarkusHackspacher on master

    new test model (compare)

  • Dec 13 2015 09:29

    MarkusHackspacher on master

    correct names (compare)

  • Dec 13 2015 09:08

    MarkusHackspacher on master

    Explicitly number replacement f… (compare)

  • Dec 13 2015 08:53

    MarkusHackspacher on master

    rename class rename base (compare)

  • Oct 13 2015 15:41

    MarkusHackspacher on master

    update README (compare)

  • Oct 13 2015 15:38

    MarkusHackspacher on master

    pep8 changes (compare)

  • Oct 13 2015 15:29

    MarkusHackspacher on master

    pep8 changes (compare)

  • Oct 13 2015 15:15

    MarkusHackspacher on master

    pep8 tests (compare)

Markus Hackspacher
@MarkusHackspacher
all about pycupbetting
Markus Hackspacher
@MarkusHackspacher

In my pycupbetting program I want to write games in a file in JSON format. Something like this:
("contest", "FIFA Womens World Cup 2015", "name": "", [("game", "Canada: China" "tip_home": "", "tip_away": ""), ("game": "New Zealand: Netherlands" "tip_home": "", "tip_away": "") ("game", "Canada: New Zealand" "tip_home": "", "tip_away": "")])

it goes so far only the export to a regular file. I thought I create a json file, this can also be entered with an editor the tips. The file is distributed with e-mail and will return it to us, I read the file again and have all the data in my database.

Markus Hackspacher
@MarkusHackspacher
Next update, is the export of the json file works.
Markus Hackspacher
@MarkusHackspacher
files = glob.glob('*.csv')
for filelist in enumerate(files):
    print("Enter {} for {}".format(filelist[0],filelist[1]))
try:
    filenr = int(input())
except:
    print('Enter a number')
    return
return files[filenr]
looks better
Markus Hackspacher
@MarkusHackspacher
Now are make the codetest by drone.io. latest Test. In the moment only one pep8 test.
Markus Hackspacher
@MarkusHackspacher
Markus Hackspacher
@MarkusHackspacher
Add games of the 2016 UEFA European Championship.