#Help with A Program

72 messages · Page 1 of 1 (latest)

unkempt crane
#

maybe change the config?

#

look like a infinite loop thingy thingy

#

idk the term

twin path
#

Utils imports config,which imports menu, which imports square which imports config, which imports menu .....

#

You have a circular import, just as the error says

unkempt crane
#

yeaaas, here a person that knows words!

#

so maybe just remove the import config part from square

#

could solve it

twin path
#

Did you write the coffee yourself?

twin path
#

No, you can't just be removing random stuff. Especially if you don't understand what's going on in the code

unkempt crane
#

maybe, you can try it

unkempt crane
twin path
#

Sounds like more a headache than just trying to understand the problem and rectifying it wolfshrug

unkempt crane
#

it's a good way of learning, tinkering

unkempt crane
#

so tinkering, and poking at it is one way to learn

#

from where?

#

mmm, did you check if there is a read me file

bold urchinBOT
#

@remote sluice

File Attachments Not Allowed

For safety reasons we do not allow files with certain file extensions.

Code Formatting

You can share your code using triple backticks like this:
```
YOUR CODE
```

Large Portions of Code

For longer scripts use Hastebin or GitHub Gists and share the link here

Ignored these files due to them having disallowed file extensions
unkempt crane
#

well, try following those instructions :P

#

"python3 -m pip install -r requirements.txt" is a command

stark reef
#

in your terminal?

unkempt crane
#

ye, i am not very smart and don't want to give missinformation, so i can't tell you what to do

stark reef
#

No I'm talking about your actual terminal

#

cmd or whatever on Windows

#

(also don't know if anyone uses IDLE lol)

#

yea go open a terminal then cd into that directory and then run the commands

#

The directory

#

what is this

#

No that's on your computer

#

that's a directory or folder or whatever you wanna call it

#

yes then you cd in there wherever that is on your disk

#

probably

unkempt crane
#

download python then

stark reef
#

might be python3 or whatever

#

no idea what they call it on Windows or how your PATH is set up

unkempt crane
#

go in your terminal

#

and type

#

"python --version"

#

alright, then you do have python

stark reef
#

commands call it python3 yours is called python

unkempt crane
#

no clue

stark reef
#

just python instead of python3 you'll be fine

#

nice

#

ah the code is broken

#

nice

#

if you're familiar with python maybe

#

idk I'm just on my phone, might take a look when I'm back home if you can link me the github repo

#

feel free to ping me in line 3h or so

#

Gonna be in the train for another 1.5h or so, then it's just praying I don't fall asleep and do some work (and figure that thing out)

#

why not just the latest?

#

then that's what I would have grabbed by default kek

#

they're late by over an hour, lied about reasons like 8 times and rerouted the train via some shitty route💀

#

😂

#

it's all good I got power, wifi, caffeine and nicotine

#

all I need to sustain myself fr

stark reef
#

Ight lets see

#

Well

#

I git cloned the repo

#

installed dependencies

#

had to manually install timidity++ as well

#

crashes when opening a song because it can't find the timidity config, apparently that's a known pygame issue on Linux

#

But we can fix the code if it runs on your machine now

stark reef
#

Depends on what you want to modify lol

stark reef
#

Should be fairly easy

#

Colors are defined in config.py

#

So you would just go to the right theme and set the color values to whatever RGB values you want

#

"the shape of the square" no idea what you mean by that it's a square

#

square.py has the square stuff but you'll have to figure out collisions etc. if you change that shape

stark reef
#

idk what you changed lol

stark reef
#

so you changed the background color in the dark modern theme?