GithubHelp home page GithubHelp logo

initialposition / pyjama Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 2.0 52 KB

A third party client to make LDJAM theme voting less painful.

License: The Unlicense

Python 100.00%
ldjam ludum-dare ludumdare python3

pyjama's Introduction

hello yes i'm am me

if you are reading this you have successfully opened my github account page. congrats.

here you can find good code, some rushed code otherwise known as "game jam games", projects i made when i was bored and some projects written in java.

things im very proud of:

i also have other projects that are cool sometimes. you can find those here.

pyjama's People

Contributors

initialposition avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pyjama's Issues

Windows encoding issue

Windows expects the default encoding of files to be cp1250 - since this is not the encoding used, it causes pyJAMa to crash on start with the following error traceback:

File "I:\Users\tomasara413\Downloads\pyJAMa\main.py", line 178, in
main_menu()
File "I:\Users\tomasara413\Downloads\pyJAMa\main.py", line 27, in main_menu
print_file('files/logo.txt')
File "I:\Users\tomasara413\Downloads\pyJAMa\util\ConsoleFunctions.py", line 12, in print_file
for line in f.read().splitlines():
File "I:\Python\Python39\lib\encodings\cp1250.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x88 in position 112: character maps to

In order to fix this, encoding of the files should be specified when opening them. Adjusting the following open(file, 'r') in ConsoleFunctions.py to open(file, 'r', encoding="utf8") will work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.