#voice-chat-text-0

1 messages Β· Page 947 of 1

whole bear
#

Ah this is unfamiliar to me

#

I actually read about that without knowing what they were talking about

#

That's great

#

sieve theory

#

Definitely not. I know as much as calc 1 and I have yet to commit my interest to something like mathematics

blazing harness
#

|2| 3 4 5 6 7 8 9 10

#

|2| |3| 5 7 9 11 13 15 17 19 21

#

|2| |3| 5 7 11 13 17 19

#

283695

#

2 3 4 5 6 7 8 9 10... 21

#

2

#

2*2 2*3 2*4

#

3

#

3*2 3*3 ...

#

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

#

|2| 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

#

2*2 2*3, *4, *5,

#

2*11

#

|2| 3 5 7 9 11 13 15 17 19 21

#

|2| |3| 5 7 9 11 13 15 17 19 21

#

3*3, 3*5, 3*7, 3*9

whole bear
#

I see

#

Thats cool

#

hm

#

bye

#

of course

#

lol

#

Sure

#

@willow lynx how's the morning btway

willow lynx
whole bear
#

Uhu , 7degrees here few hours ago

willow lynx
whole bear
#

No in Jammu

willow lynx
whole bear
#

No snow tho only hails sometimes

languid pulsar
#

if any one have have free time can any one explain class topic of python please help and don't give me link please help

somber heath
#

@ripe salmonπŸ‘‹

ripe salmon
#

hello

somber heath
#

@wide cypressHoya hi. πŸ™‚

stoic rapids
#

hi

#

i still cant talk

#

nah this is just too much

somber heath
#

!voice

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

somber heath
#

Ah.

half flare
#

dragon

#

beacuse ur indian

woeful salmon
#

i don't have it, my family members don't have it

#

all others i don't care

#

lol

#

jk

#

its not too bad in delhi atleast

#

i started with lua and java

#

xD

#

python i learnt later cuz was ez

#

nope

#

i tried making something for roblox just a few days ago for fun but

#

before that i used lua for macro scripts and embedded use in Cpp

stuck sky
golden ridge
#

ahahahahah

#

brained

#

ah

#

ok

golden ridge
#

ahahahaha

#

I got you

#

man

#

ahahah

#

okok

#

he lies

#

I did it on purpose because I don't care

#

no

#

man

stuck sky
#

This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu systems. It is based on the equivalent page on Debian, from which the Ubuntu Apache packaging is derived. If you can read this page, it means that the Apache HTTP server installed at this site is working properly. You should replace this file (located at /var/www/html/index.html) before continuing to operate your HTTP server.

If you are a normal user of this web site and don't know what this page is about, this probably means that the site is currently unavailable due to maintenance. If the problem persists, please contact the site's administrator.

vivid palm
#

we have logs.

golden ridge
#

yes

#

yes i know

#

man

#

you know it doesn't change anything in my life

vivid palm
#

@whole bear please don't spam gifs.

#

and the user is gone you can drop it

woeful salmon
verbal hemlock
#

just noticed that mr hemlock looks alot like the prime minister of the netherlands!

#

@rugged root

#

😩

gentle flint
#

hemlock's less active than the prime minister

somber heath
#

Chladni

fresh ember
#

i python file handling write and writelines are different or same?

#

@unkempt remnant can you tell?

#

please

fresh ember
#

Ok thank you

verbal hemlock
#

thats true

stoic falcon
#

hey hey

deft idol
#
def check_output(expected_output_file, actual_output_file):
    try:
        file_a = open(expected_output_file)
    except:
      print(False)
    content_a = file_a.read()
    file_a.close()
    try:
        file_b = open(actual_output_file)
    except:
        print(False)
    content_b = file_b.read()
    file_b.close()
   

    if content_a == content_b:
        print("true")

    else:
        print("false")  

check_output('demo1.txt','demo2.txt')  
#

what am i doing wrong

frozen jetty
deft idol
frozen jetty
#

#try:
file_a = open(expected_output_file)
#except:
print(False)

#

<a href="#wellcom" target="_blanck" title="this is this page">this page</a>
can I use (') instead of (")

somber heath
#

@deft idol Research "python bare except"

deft idol
#

the question is this b part

frozen jetty
#

I'll come back in minutes

safe marsh
#

z

gentle flint
deft idol
#
def check_output(expected_output_file, actual_output_file):
    try:
        file_a = open(expected_output_file)
        content_a = file_a.read()
        print('file a is present')
    except:
      print(False)
      print('file a is missing')
##############################################     
    
    try:
        file_b = open(actual_output_file)
        content_b = file_b.read()
        print('file b is present')
    except:
        print(False)
        print('file b is missing')
############################################## 
# what is do if both file are missing #        
    
    if content_a == content_b:
        print("true")
    else:
        print("false")  

check_output('demo11.txt','demo22.txt')
#

i corrected it and it runs fine now but i have to add one more condition

#

if both file are missing

#

how i do it

somber heath
woeful salmon
#

also close your files when you're done

#

and don't use a bare except

somber heath
#

Petition to have the interpreter throw up a warning for bare excepts.

#

(Nah)

sullen summit
#

'with open()' closes it for you automatically, ya?

somber heath
#

Mhm.

sturdy panther
#

grep 'except:' < source || echo "Stop it!" 1>&2

somber heath
#

Everything in that with's codeblock, the file is open. Everything outside of it, it's not yet opened or is closed.

#

Global Regular Expression Print

#

GREP

deft idol
woeful salmon
#
try:
    open(expected_output_file, "x")
except FileNotFoundError:
    content_a = None
else:
    file_a = open(expected_output_file)
    content_a = file_a.read()
    print('file a is present')

if content_a is None:
    ...
#

πŸ‘€ how about something like that

sullen summit
#
def check_output(expected_output_file, actual_output_file):
    exists_a = True
    exists_b = True
    try:
        file_a = open(expected_output_file)
        content_a = file_a.read()
        print('file a is present')
    except:
        exists_a = False
        print(False)
        print('file a is missing')
##############################################     
    
    try:
        file_b = open(actual_output_file)
        content_b = file_b.read()
        print('file b is present')
    except:
        exists_b = False
        print(False)
        print('file b is missing')
############################################## 
# what is do if both file are missing #        
    
    if exists_a and exists_b == False:
        print("neither file exists")
    elif content_a == content_b:
        print("files are the same")
    else:
        print("files are not the same")  

check_output('demo11.txt','demo22.txt')
deft idol
#

your solution is also wrong bro

#

i gave me the same error which i was getting earlier

#

but Boni's method worked

#

it doesnot show any error if one of the file is missing

somber heath
#

Bare except

pastel linden
#

srsly no one

#

in the voice chat

whole bear
#

@frozen jettyoi

#

you got experience in pyqt5

frozen jetty
whole bear
#

have you ever had issues with frezzing screen because of spaming the same button or

gilded radish
#

Yes

gentle flint
#

French Guiana ( or ; French: Guyane [Ι‘Ι₯ijan] (listen)) is an overseas department/region and single territorial collectivity of France on the northern Atlantic coast of South America in the Guianas. It borders Brazil to the east and south and Suriname to the west.
With a land area of 83,534 km2 (32,253 sq mi), French Guiana is the second-largest ...

primal yacht
opaque egret
#

why cant i talk?

#

i cant unmute?

somber heath
wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

opaque egret
#

okay so i need to write 50 messages... nice

#

it makes sence

#

true

#

so im just writing messagess i guess

gentle flint
#

aye, that tha' art

somber heath
#

'Tis I. 'Tis leg.

gentle flint
opaque egret
#

does someone want to write 50 messagess with me?

#

here

#

i dont want to spam lol

gentle flint
#

you'd simply be voice banned for two weeks

#

after which you'd have to restart

opaque egret
#

so i need to write 50 messages without writting 50 messages

north fern
#

Why can’t I talk?

somber heath
wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

gentle flint
#

@opaque egret now you can explain to infinity, lol

somber heath
#

Too slow.

gentle flint
#

nou

opaque egret
#

Do i need to be online in 310 minute blocks or is 130min okay?

gentle flint
#

uh what

opaque egret
gentle flint
somber heath
gentle flint
#

^

somber heath
#

If you just have a bit of a chat here and there, it'll go by before you know it.

north fern
#

Send 50 text to speak

opaque egret
#

so i stay 5 minutes more and then i go for 30 min come back 10 min go 30 min and then come back 10 min and then i need to chat and then i can talk

#

ne

#

No* its ALL of the criteria

gentle flint
opaque egret
#

basically today youre maybe not speaking

gentle flint
#

so just 30 consecutive minutes is also fine

opaque egret
#

okay cool

#

we will see

somber heath
#

Primarily, the 3x10 rule is basically preventing you from getting there by spamming. I think.

gentle flint
#

as are all the others

north fern
#

Anyone knows priority queue implementation? I got query related to that.

opaque egret
#

okay im going for 2 min so that its a "block"

somber heath
#

Also, I don't think it works like that.

opaque egret
#

its tooooo long

#

EchtJetzt means "ReallyNow"

#

in germany

#

yes i have

#

but i dont know how to say it in english

#

i nearly did it

#

just the 50 messages are not full

#

doesnt voice chat count?

#

@frozen jetty whats going on in your background ;P

#

nice

gentle flint
opaque egret
#

oh noooo

gentle flint
opaque egret
#

thats my jam

#

haha

#

lol

#

37/50

#

nice

#

i forgot how much 50 messages are

#

too much

#

but it's a cool way to protect

#

43

#

its so dumb i just wanna talk, i dont even have something to say

#

why

#

germany?

#

its not soo nice here

#

nooo its not THAAAT good

gentle flint
opaque egret
#

the people are 75% bad and 20% okay and 5% good

#

its like you're summoning a snake

#

50/50!

gentle flint
#

I made at least 18 mistakes

frozen jetty
opaque egret
#

yes

gentle flint
whole bear
#

hlo guys

#

ohk

gentle flint
whole bear
woeful salmon
#

@whole bear

export PATH = $PATH:<path-to-rust-analyzer>
whole bear
#

export PATH=$PATH:/home/ayoush/.local/bin/rust-analyzer

storm nexus
#

Hi all

woeful salmon
storm nexus
#

πŸ˜‚

somber heath
#

I hate it when I don't have enough flan. @woeful salmon

#

You said something like "When I don't have enough flan..."

#

Ah.

whole bear
#

ooh

#

sorry

rugged root
#

Won't be around much the next couple days. I've got the holiday deliveries thing, so I'll be in the van most of the time

west lion
#
http = requests.get(url)
    json = (http.json())
    print(json)
    print(dict(tuple(json.items())[0]))```
woeful salmon
west lion
#

{'success': False, 'error': {'code': 104, 'type': 'usage_limit_reached', 'info': 'Your monthly usage limit has been reached. Please upgrade your Subscription Plan.'}}

woeful salmon
#

lol

west lion
#

[0]

woeful salmon
#

!e

foo = {'success': False, 'error': {'code': 104, 'type': 'usage_limit_reached', 'info': 'Your monthly usage limit has been reached. Please upgrade your Subscription Plan.'}}
print(foo["success"])
wise cargoBOT
#

@woeful salmon :white_check_mark: Your eval job has completed with return code 0.

False
woeful salmon
#

json variable you have is already a dictionary

vivid palm
#

@cosmic nova hey, please don't spam join/leave the vc. if you want to know why you can't talk, check the steps in #voice-verification

cosmic nova
#

<@&831776746206265384> @ here @ everyone

#

<@&831776746206265384> @ here @ everyone

vivid palm
#

why are you pinging?

olive hedge
#

!mute 922472236697399346

wise cargoBOT
#

:x: According to my records, this user already has a mute infraction. See infraction #57274.

vivid palm
#

!mute 922472236697399346 3d don't spam ping roles

wise cargoBOT
#

:x: According to my records, this user already has a mute infraction. See infraction #57274.

olive hedge
#

HA

west lion
#
if json["success"] == "False":
        print("heellll yeah")
woeful salmon
whole bear
#

i will be back

west lion
#

if str(json) == "hello":
print("hi")

woeful salmon
#
if str(json["success"]) == "False":
        print("heellll yeah")
storm nexus
#

i have

#

some what

rugged root
woeful salmon
#

😒 aww

storm nexus
#

@west lion somewhat both

west lion
storm nexus
#

you will thing good at that time. but you have learn new things as the come

#

but the fundamentals as most are the same

#

Noooo

#

High IQ

#

only

west lion
#

πŸ˜‚ i get it ...

storm nexus
#

that is a hole new level

#

*whole

#

that will be after 5-8 year exp

lavish arch
#

.......

#

hygd

storm nexus
#

@woeful salmon they have 2 week pay system

#

Mumbai

#

nooo

#

πŸ˜…

#

πŸ˜… πŸ˜…πŸ˜…πŸ˜…

#

that is this the point

#

not it hub

#

*IT

#

27

#

you tell

#

πŸ˜‚

#

freezing

#

come to mumbai

#

@west lion where are you from?

#

city?

#

ohh

west lion
#

shiraz

storm nexus
#

Shiraz

#

rs 199

#

99

woeful salmon
storm nexus
#

$3

#

depends

#

depends upon domains

#

πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚

woeful salmon
storm nexus
#

πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚

west lion
whole bear
#

which colorscheme is this

#

any idea

storm nexus
whole bear
#

@woeful salmon have u find it

woeful salmon
#

it looks kinda close

whole bear
#

hmm thanks

storm nexus
#

u200b unicode

woeful salmon
#

i've seen that a couple times

storm nexus
#

Most editor won't show this by default but if in code. Code will fail to run

woeful salmon
#

vsc can do that ez and vim also has a plugin for that (tho you can also do it without any plugin)

fathom gorge
#

@tropic harness hello

signal dew
#

Hello.

#

Has anybody used python for IoT projects with like Paho MQTT before by chance?

#

I didn't want to ask in the help channels directly.

#

But today I have wrapping my head around MQTT on my plate, and anyone with some experience that could verify my understandings or correct my misunderstandings would be great.

little zenith
#

Becuase y'all wanted github

haughty pier
#

good job

little zenith
#

lol

gentle flint
haughty pier
haughty pier
little zenith
#

lol

gentle flint
#

Sambal is a chilli sauce or paste, typically made from a mixture of a variety of chilli peppers with secondary ingredients such as shrimp paste, garlic, ginger, shallot, scallion, palm sugar, and lime juice. Sambal is an Indonesian loan-word of Javanese and Sundanese origin (sambel). It originated from the culinary traditions of Indonesia, and i...

little zenith
daring orbit
#

My new books

primal hemlock
#

@daring orbit I'm new to this server. Have been supressed! lol

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

primal hemlock
#

Nah man it says:
β€’ You have been on the server for less than 3 days.
β€’ You have sent less than 50 messages.

somber heath
#

Indeed.

primal hemlock
#

lol

#

oh well

#

You won't get to hear my amazing voice. such a shame

somber heath
#

The future holds many treasures.

primal hemlock
#

Have a good night!

#

Or morning

#

Or afternoon or whatever

somber heath
#

Shan't.

#

Won't.

primal hemlock
#

haha alright

somber heath
#

@worn prawn Something seemed wrong with your audio.

worn prawn
#

oh that was the mic

#

i was just randomely pressing the button

#

@somber heath that was just the headset buttons

gentle flint
somber heath
verbal ibex
serene sonnet
#

hello

#

haah

#

its okay

frozen jetty
serene sonnet
frozen jetty
serene sonnet
serene sonnet
frozen jetty
frozen jetty
serene sonnet
west lion
frozen jetty
west lion
frozen jetty
west lion
#

lock at your discord

serene sonnet
#

come in VC1

#

vc 0

west lion
#

he is not there @serene sonnet

#

πŸ˜‚

serene sonnet
#

huh

west lion
#

WTF

placid kayak
#

bruh

frozen jetty
whole bear
#

i will be back

rugged root
#

More delivering of chocolate and cheese. May or may not be on later

verbal hemlock
#

@somber heath ur bird now?

somber heath
verbal hemlock
#

ok BirdMist

#

πŸ‘€

somber heath
#

Pack age in decks.

rugged root
#

I still haven't been able to go on christmas deliveries yet today

#

Just one IT thing after another

somber heath
#

When it rains, it pours.

#

Alternatively, when it rains, it's pores.

rugged root
#

After a while it also spores from the dampness

olive narwhal
#
pygame 2.1.0 (SDL 2.0.16, Python 3.8.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "c:/Users/jean/Desktop/Vs Code/SpaceShooters/main.py", line 111, in <module>
    main()
  File "c:/Users/jean/Desktop/Vs Code/SpaceShooters/main.py", line 65, in main     
    UFOR.append(pygame.image.load(os.path.join('Assets', 'ufoR.png')))
UnboundLocalError: local variable 'UFOR' referenced before assignment
PS C:\Users\jean\Desktop\Vs Code\SpaceShooters>
whole bear
#

@woeful salmon how do i open a site in emacs any builtin command

woeful salmon
#

EWW

#

^

olive narwhal
#
def main():
    num_of_ufos = 8
    for i in range(num_of_ufos):
        UFOR.append(pygame.image.load(os.path.join('Assets', 'ufoR.png')))
        ufo_R.append(pygame.transform.scale(UFOR, (UFO_WIDTH, UFO_HEIGHT)))
        ufo_X.append(random.randint(0, 1000))
        ufo_Y.append(0)
        ufo_vel_x.append(6)
        ufo_vel_y.append(40)
    UFOR = []
    ufo_R = []
    ufo_X = []
    ufo_Y = []
    ufo_vel_x = []
    ufo_vel_y = []
woeful salmon
olive narwhal
#
  File "c:/Users/jean/Desktop/Vs Code/SpaceShooters/main.py", line 110, in <module>
    main()
  File "c:/Users/jean/Desktop/Vs Code/SpaceShooters/main.py", line 72, in main     
    ufo_R.append(pygame.transform.scale(UFOR, (UFO_WIDTH, UFO_HEIGHT)))
TypeError: argument 1 must be pygame.Surface, not list
PS C:\Users\jean\Desktop\Vs Code\SpaceShooters>  
whole bear
#

how do i paste in emacs

trail mural
#

!code

whole bear
#

@woeful salmon it takes a lot of time to load

olive narwhal
#
        ufo_X += ufo_vel_x

        for i in range(num_of_ufos):
            ufo_X[i] += ufo_vel_x[i]
            if ufo_X[i] <= 0:
                ufo_vel_x[i] = 6
                ufo_Y[i] += ufo_vel_y[i]
            if ufo_X[i] >= WIDTH - UFO_WIDTH:
                ufo_vel_x[i] = -6
                ufo_Y[i] += ufo_vel_y[i]

whole bear
#

takes lot of time to laod

primal yacht
#
img = pygame.image.load( ... )
UFOR.append(img)
ufo_R.append(pygame.transform.scale(img, (UFO_WIDTH, UFO_HEIGHT)))
woeful salmon
#

might just be your pc

whole bear
sturdy panther
#

I remember having to press G or c-g or something to force refresh. I don't remember which it is.

woeful salmon
#

c-g is just ctrl+g btw

#

weirdly

sturdy panther
#

Yea...

primal yacht
#

*giggle*

woeful salmon
#

register*

#

not buffer lol

primal yacht
#

I don't even know how to delete lines without copying to a register!

#

dd deletes but also replaces the register -.-'

olive narwhal
#
   File "c:/Users/jean/Desktop/Vs Code/SpaceShooters/main.py", line 111, in <module>
    main()
  File "c:/Users/jean/Desktop/Vs Code/SpaceShooters/main.py", line 79, in main     
    ufor_rect = pygame.Rect(ufo_X , ufo_Y,UFO_WIDTH, UFO_HEIGHT)
TypeError: Argument must be rect style object
sturdy panther
#

I always go back to normal mode and use the latter.

#

The only register I use is + though. Still not used to using other ones.

primal yacht
#

ufo_X[i]

olive narwhal
#
def main():
    ufo_X = 100
    ufo_Y = 100
    UFOR = []
    ufo_R = []
    ufor_rect.x = []
    ufor_rect.y = []
    ufo_vel_x = []
    ufo_vel_y = []
    num_of_ufos = 8
    for i in range(num_of_ufos):
        img = pygame.image.load(os.path.join('Assets', 'ufoR.png'))
        UFOR.append(img)
        ufo_R.append(pygame.transform.scale(img, (UFO_WIDTH, UFO_HEIGHT)))
        ufo_X.append(random.randint(0, 1000))
        ufo_Y.append(0)
        ufo_vel_x.append(6)
        ufo_vel_y.append(40)

    ufor_rect = pygame.Rect(ufo_X , ufo_Y,UFO_WIDTH, UFO_HEIGHT)
    ufog_rect = pygame.Rect(ufo_X , ufo_Y,UFO_WIDTH, UFO_HEIGHT)
    ufob_rect = pygame.Rect(ufo_X , ufo_Y,UFO_WIDTH, UFO_HEIGHT)
    ship_rect = pygame.Rect(WIDTH//2 - 20, 500,SHIP_WIDTH, SHIP_HEIGHT)
    run = True
    clock = pygame.time.Clock()
    running = True
    while running:
        for event in pygame.event.get():
            if event.type == pygame.QUIT:
                running = False

        ufo_X += ufo_vel_x

        for i in range(num_of_ufos):
            ufo_X[i] += ufo_vel_x[i]
            if ufo_X[i] <= 0:
                ufo_vel_x[i] = 6
                ufo_Y[i] += ufo_vel_y[i]
            if ufo_X[i] >= WIDTH - UFO_WIDTH:
                ufo_vel_x[i] = -6
                ufo_Y[i] += ufo_vel_y[i]

        
        drawing(ship_rect, ufor_rect, ufog_rect, ufob_rect)
        keys_pressed = pygame.key.get_pressed()
        movement_ship(keys_pressed, ship_rect)
        ufo(ufor_rect, ufo_X, ufo_Y, ufo_R, UFOR)
        pygame.display.update()
        clock.tick(FPS)

if __name__ == "__main__":
    main()
#
import pygame
import random
import os

pygame.mixer.init()
pygame.init()


WHITE = (255,255,200)
RED = (255,0,0)
BLUE = (0,0,255)
GREEN = (0,255,0)

MAX_UFOS = 8
SHIP_WIDTH, SHIP_HEIGHT = 100,100
UFO_WIDTH = 100
UFO_HEIGHT = 100
UFO_LAYER_DOWN = 100


VEL = 7
FPS = 60
WIDTH, HEIGHT = 1000,700

BORDER = pygame.Rect(0, HEIGHT//2 + 75, WIDTH, 10)

BG = pygame.image.load(os.path.join('Assets', 'BG.jpg'))

SCREEN = pygame.display.set_mode((WIDTH, HEIGHT))
pygame.display.set_caption('SpaceInvaders')
SPACESHIP_IMAGE = pygame.image.load(os.path.join('Assets', 'Spaceship.png'))
SPACESHIP = pygame.transform.scale(SPACESHIP_IMAGE, (SHIP_WIDTH, SHIP_HEIGHT))


# zorgen dat ufo's het goede formaat hebben
UFOG = pygame.image.load(os.path.join('Assets', 'ufoG.png'))
ufo_G = pygame.transform.scale(UFOG, (UFO_WIDTH, UFO_HEIGHT))
UFOB = pygame.image.load(os.path.join('Assets', 'ufoB.png'))
ufo_B = pygame.transform.scale(UFOB, (UFO_WIDTH, UFO_HEIGHT))

# schip kan bewegen
def movement_ship(keys_pressed, ship_rect):
    if keys_pressed[pygame.K_a] and ship_rect.x - VEL > 0:
        ship_rect.x -= VEL
    if keys_pressed[pygame.K_w] and ship_rect.y - VEL > BORDER.y + 20:
        ship_rect.y -= VEL
    if keys_pressed[pygame.K_s] and ship_rect.y + VEL + ship_rect.height < HEIGHT:
        ship_rect.y += VEL
    if keys_pressed[pygame.K_d] and ship_rect.x + VEL + ship_rect.width < WIDTH:
        ship_rect.x += VEL


def drawing(ship_rect, ufor_rect, ufog_rect, ufob_rect):
    SCREEN.blit(BG, (0,0))
    pygame.draw.rect(SCREEN, RED, BORDER)
    SCREEN.blit(SPACESHIP, (ship_rect.x, ship_rect.y))

def ufo(ufor_rect, ufo_X, ufo_Y, ufo_R, UFOR):
    SCREEN.blit(UFOR, (ufo_X, ufo_Y))

```py
woeful salmon
#

or do :registers for looking at all

woeful salmon
primal yacht
primal yacht
#
not 0
not False
not ''
not None
sturdy panther
#
True or False is False is False
#

The str | None operator is enough for me to upgrade to 3.10!

primal yacht
#

Python Discord: Pixels was a collaborative canvas event providing a beginner-friendly API to paint pixels on a virtual canvas.

If you'd like to sign up as a Patron, buy a t-shirt from our Redbubble, or send us a donation via PayPal, use the following links:
https://www.patreon.com/python_discord​
https://www.redbubble.com/people/PythonDiscord/s...

β–Ά Play video
storm nexus
#

hi

#

fine

primal yacht
scenic wind
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

scenic wind
stuck furnace
#

What are you working on?

trail mural
#

hi LX

stuck furnace
scenic wind
primal yacht
#

@stuck furnace PySide6 is the topic

#

Issue is getting a background image to get to scale to the window

rugged root
storm nexus
#

you are not able to get background to black

#

correct?

stuck furnace
#

Nah Jake, you're good πŸ‘

#

It's a reasonable request.

primal yacht
stuck furnace
#

Hello/goodbye @faint ermine

primal yacht
#

I find this funny somehow in the text channel for it.

storm nexus
#

πŸ˜‚ πŸ˜‚ πŸ˜‚ πŸ˜‚

#

DR. MAD

#

just Funny

#

set at the table

stuck furnace
#

Ooo, engineering degree + MBA is a good combo.

storm nexus
#

have you tried this?

gentle flint
#

Polikarpov Po-2

#

Π±?Π»ΠΌΡ‹

frozen jetty
frozen jetty
#

@whole bear

whole bear
#

:p

frozen jetty
whole bear
#

someday who knows

#

until then im speaking through my nick :p

frozen jetty
#

@mighty chasm hi

mighty chasm
#

i just cant send my code

#

its not even surpassing the limit of characthers

rugged root
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

mighty chasm
#

@frozen jetty @trail mural can any of you help me, how do i activate my microphone

#

what?

#

its not an insult

#

fine ok

#

ok thank you

#

it has 700 lines but the part i need help only has 50 lines

#

i cant

#

oh wait a second

#

yeah yeah

whole bear
#

:o

mighty chasm
#

im new to coding please dont make fun of me

whole bear
#

in my country too lol

mighty chasm
#

ive been a target to so many people that have been coding for more time that ive been alive

whole bear
#

i think hes using the speakers of the car

#

@mighty chasm so youre trying to program chess full on python?

frozen jetty
#

@mighty chasm
I think you would better to have firs list (matesf ) out side of the while

uncut meteor
terse needle
mortal burrow
#

@rugged root we should pick this up sometime

rugged root
#

For sure. Sorry I had to bail, as soon as I got home I had more stuff I had to do

gentle flint
#

gnome-disk-utility

hollow isle
#

Voice anyone?

onyx smelt
#

hello

north fern
#

Like why 3 days minimum to speak.

#

πŸ₯²πŸ₯²

somber heath
cloud kindle
#

@rugged root sir i am currently working on my nxt game chess , i want to ask
I have 64 tiles stroed in python list 8x8 dim, so is that bad practice,

somber heath
#

@trail mural Fried chicken...cake...

rugged root
#

2d array/list is well suited for that

cloud kindle
#

😡 i thought its bad thing so i erased that parr of code and modified

rugged root
#

Modified it to what?

cloud kindle
#

Aah i just draw again and again

#

Well i have made a github acc and posted two projects games

rugged root
#

Nice

cloud kindle
#

My name in github is SparrowSurya well i f u can chek those games

rugged root
#

Drop a link to the repo

#

(I'm lazy)

cloud kindle
#

Its so hard work to upload to github via mobile πŸ˜…

rugged root
#

Wait you do it via mobile?

#

Dude, okay mad respect

cloud kindle
#

No wifi yet

rugged root
#

Can't tether you phone?

cloud kindle
#

Not for now

rugged root
#

You wrote all of this?

cloud kindle
#

Yeah

#

Also if u can give some reviews about that to impprve myself

whole bear
#

@rugged root suppp

#

bruh

rugged root
#

Things after a colon should have a space after them for readability. Example:

def custom_platform(place: bool):
# rather than
def custom_platform(place:bool):
#

Same with line 15 in the Minesweeper/main.py file

cloud kindle
#

Minesweep5 was my very first try for game making so i dont has any idea so i puted these thingss, custom platform is that frame which pops up when u click new in menus

rugged root
#

Argument should have spaces after the commas

#

Right right

#

Is there a particular file you'd want me to look over?

#

It's just the first one I took a peek at

cloud kindle
#

For now there is not any the chess im making currently will be that

rugged root
#

Sure sure

cloud kindle
#

πŸ™thanks

main idol
#

ill take a look at it

rugged root
#

Oh my god

#

They renamed the project "TheFuzz"

#

That's... so derpy

somber heath
#

Experience vs preperience.

rugged root
#

Experience vs currentlydatingperience

somber heath
#

Actually, inperience.

woeful salmon
#

@main idol javascript is fun

rugged root
woeful salmon
#

😒

main idol
#

speking language of the gods

woeful salmon
#

its just abusing javascript's implicit typecasting xD

somber heath
rugged root
woeful salmon
#

next level is to abuse how methods can be called in javascript

#

lol

rugged root
#

The idea of visually storable and retrievable visual data is incredible to me

#

Can you not hear me?

somber heath
vivid palm
#

hi

haughty pier
#

I'm thinking about implementing Tableau's Web Data Connector (WDC) protocol in Python, anyone ever do this or know of it being done? I've found Jupytab but I'm thinking this is not the way to go.

somber heath
#

Bucket, wall...same diff.

vivid palm
#

lemme guess

#

elon musk?

#

oh..

#

imagine

#

church of musk

flat sentinel
#

This is Celsius

#

And it is not at full

rugged root
#

What's the ambient?

flat sentinel
#

One sc

#

27

#

C

rugged root
#

Still really icky

flat sentinel
#

Yes

somber heath
woeful salmon
#

35+ is normal where i live in summer o- o

vivid palm
#

look at this dv_pandaCoolOwO

#

!raw json 923239650779365447

wise cargoBOT
#
== Raw message ==

look at this :dv_pandaCoolOwO:
vivid palm
#

oh that shows nothing fancy

somber heath
#

...I have questions about the beach towel.

vivid palm
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

vivid palm
#

!raw json 923240225990393927

wise cargoBOT
#
== Raw embeds (1/1) ==

{'description': '**Pasting large amounts of code**\n'
                '\n'
                'If your code is too long to fit in a codeblock in discord, '
                'you can paste your code here:\n'
                'https://paste.pythondiscord.com/\n'
                '\n'
                'After pasting your code, **save** it by clicking the floppy '
                'disk icon in the top right, or by typing `​ctrl + S`​. After '
                'doing that, the URL should **change**. Copy the URL and post '
                'it here so others can see it.',
 'type': 'rich'}
vivid palm
#

das cool

woeful salmon
# rugged root Still really icky

πŸ‘€ for me javascript makes me feel the most safe ( i realize i'm posting js**** a but too much but πŸ€·β€β™‚οΈ it was just what came to mind thinking of safety)

vivid palm
#

eeeeeeeeeeeeeeeeeeeverybody?

terse needle
#

!raw xml 923240225990393927

wise cargoBOT
#
Bad argument

Message "xml" not found.

#
Command Help

!raw <message>
Shows information about the raw API response.

Subcommands:

!raw json <message>
Shows information about the raw API response in a copy-pasteable Python format.

vivid palm
#

boothjunkie

somber heath
#

@rugged root Bucket o'water.

#

Dunk your head in.

#

Sound dampened.

rugged root
#

True that

rugged root
#

@sour thorn If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know

whole bear
#

@rugged root this is how it looks

rugged root
#

That's awesome

whole bear
#

i love monokai i am changing

haughty pier
#

I think the noise in the mid-side is relative to the gain, the xy seemed to have less noise but when I turn up the gain I hear a proportional amount of noise too.

#

be back soon

rugged root
#

@whole bear What happened?

whole bear
whole bear
rugged root
#

Better to know than to not

rugged root
rugged root
#

On the bottom

lusty prawn
#

Hello

#

lol haha yeah I'm voice verified but don't wanna interrupt you in between the talk.

haughty pier
rugged root
#

Hmmm

#
        self.display_view = Stack(horizontal=True, horizontal_align='space-between',
                vertical_align='center', controls=[
            self.display_task,
            Stack(horizontal=True, gap='0', controls=[
                Button(icon='Edit', title='Edit todo', on_click=self.edit_clicked),
                Button(icon='Delete', title='Delete todo')]),
            ])
``` @wind raptor So I'm poking around the `pglet` thing you mentioned to me (for sure going to use it; it's dope), but the formatting that they have shown on their example....
wind raptor
#

I'm back

rugged root
#

Like I think I'd normally do it like...

        self.display_view = Stack(
            horizontal=True,
            horizontal_align='space-between',
            vertical_align='center',
            controls=[
                Stack(horizontal=True, gap='0', controls=[
                    Button(icon='Edit', title='Edit todo', on_click=self.edit_clicked),
                    Button(icon='Delete', title='Delete todo')]),
            ])
rugged root
#

The unindent they have really REALLY bothers me

wind raptor
#

yeah, I haven't really gone through it all yet

wintry pier
#

true

#

yes

rugged root
#

I decided against breaking out the Buttons further in the second stack because it'd be too much

wintry pier
#

ok

rugged root
wind raptor
#

not sure why they had a monkey format their example

rugged root
#

I mean I kind of see where they're coming from but at the same time....

#

Because the more you tier it, the less room you're going to have

#

Which is a problem

wind raptor
#

I think they really wanted to show it was 100 lines

rugged root
#

Heh, possibly

#

But at the same time it might have been about length in this case

wintry pier
#
chatSocket.send(JSON.stringify({
                'connect': peer.id,
                'profile': '',
                'username': '',
                'message': '',
                'closeconn': ''
            }))
#

like this

#

in frontend

rugged root
#

Oh huh, interesting

#

Although you could make it even smaller by having a .get() check on the API end

#

Or wherever

#

So that if it's missing you have the default behavior, save you a few bits

wintry pier
#

websocket.onmessage

#

websocket not need api

rugged root
#

Oh right right

#

I'm not great with all this

#

@ebon junco Regarding the message from your help channel that went dormant, that last block of code did seem like it'd throw a fit when the XML wasn't quite right

#

Rather it would catch the error

#

@ebon junco

ebon junco
#
    def __add_items(self):
        string_data = self.text_area.get(1.0, END).strip()
        if string_data == "":
            messagebox.showerror(
                title="Error", message="Empty Data", parent=self.window
            )
        else:
            try:
                tree = ET.fromstring(string_data)
                xml_parser = XMLParser(string_data)
                items = xml_parser.get_items(self.mapselectValue.get())
                for i in items:
                    i.mod = self.modSelector.get()
                    print(i.name)
                    self.database.create_item(
                        item=i, duplicate=self.duplicate.get())
                self.window.destroy()

            except ET.ParseError as err:
                lineno, column = err.position
                line = next(IT.islice(StringIO(string_data), lineno))
                caret = '{:=>{}}'.format('^', column)
                err.msg = '{}\n{}\n{}'.format(err, line, caret)
                print(err.msg)
                messagebox.showerror(
                    title="Error", message=err.msg, parent=self.window
                )
                self.text_area.focus()
            else:
                messagebox.showerror(
                    title="Error", message="Unknown error happened...", parent=self.window
                )

rugged root
#

!stream 277886690197110784

wise cargoBOT
#

βœ… @ionic ferry can now stream until <t:1640200717:f>.

rugged root
#

Hmm, I'm finding how to jump the cursor in an entry box but not a label. Gonna keep hunting

#

What kind of widget is messagebox?

ebon junco
#

string_data = self.text_area.get(1.0, END).strip()

rugged root
#

I mean is it a Label widget or what have you. Like what kind of object from tkinter

ebon junco
rugged root
#

Mkay. Still hunting, one moment

ebon junco
#

just a text

rugged root
#

Oh huh

#

I think I might have found it

ebon junco
#

@rugged root - Looking so much forward to any help

rugged root
#
            except ET.ParseError as err:
                lineno, column = err.position
                line = next(IT.islice(StringIO(string_data), lineno))
                caret = '{:=>{}}'.format('^', column)
                err.msg = '{}\n{}\n{}'.format(err, line, caret)
                print(err.msg)
                messagebox.showerror(
                    title="Error", message=err.msg, parent=self.window
                )
                self.text_area.focus()
                self.text_area.mark_set("insert", f"{lineno}.{column}")
                self.text_area.see("insert")
#

I think?

#

Just added the bottom two lines

ebon junco
#

Will test and revert with input

rugged root
#

This is going off of this Stack Overflow response, so I'm not 100% if it'll work.

#

Wait wait

#

That's 2.7

#

Hmm

#

One moment

ebon junco
#

It actually work in 3.8....

rugged root
#

Oh well

#

Neat

#

I mean if it works then cool

ebon junco
#

It work .... It is cool

rugged root
#

I'm glad

#

@ebon junco You might actually benefit from giving this site a look. It's pretty much my bible when it comes to dealing with tkinter https://tkdocs.com/

alpine path
#

gotta brb

stuck furnace
#

Yeah sometimes you pretty much just write the pseudocode and you're done πŸ˜„

ebon junco
#

@stuck furnace - glad that that is also your experience...

stuck furnace
#

I had to at uni.

#
#

^ Nice course on XML.

#

Like raw text would be unstructured, JSON and XML semi-structured, and SQL structured.

#

Not sure πŸ€”

#

πŸ‘‹ @vivid palm

vivid palm
#

hi hi

#

credit: @uncut meteor

stuck furnace
#

I would do that tbf.

rugged root
#
bat
ham
sam

First iteration would be bhs?

uncut meteor
#
bat                          asdasd 
ham                          asdasdasdzxc
sam                           zxczxczxczx
#

bat asdasd

#

ham asdasdasdzxc

sweet lodge
#

πŸ‘‹

#

Actually
Had a ISP tech out to install new fiber internet today.
They borrowed our lift to run the fiber through the rafters in our warehouse
Took them two and a half hours to arrive, plan, execute, and clean up, and leave
When they left they said "So sorry it took so long"
Last time I had to run cabling myself, it took like seven hours
Turns out "a long time" is relative

#

But long story short, it went well

vivid palm
#

cabling?

sweet lodge
#

Turns out all I needed to do to get something to go right was outsource it

#

Fiber/Ethernet/Electricity, etc

rugged root
#

Damn it. I have to take out the whole back

stuck furnace
#

Gotta go...

vivid palm
#

noo

whole bear
#

weird flex but okay

terse needle
whole bear
sweet lodge
#

We're IT people

#

I'm taking the time people aren't going to be here to schedule server updates/upgrades

rugged root
#

I get to be paid AND left alone

#

It's a win win

sweet lodge
#

cries in salary

rugged root
#

I'm positive you make more than me

sweet lodge
#

Are we allowed to discuss money here?

rugged root
#

Don't see why not

sweet lodge
#

I make 50k/year [north Texas]

It sounds like a lot, but I finally got fed up with my job and started applying for new ones
and Indeed is offering me 100-150k/year for "remote flask dev" or "remote python dev"
I could make triple to work from home doing only Python, and not have to put up with the rest of the crap my current job has

#

It does

#

That takes me back
Peggle is great

vivid palm
#

do it do it!!

#

AHHHHHHHHHHHHHHHHHHHH

ebon junco
#

See you around.... Have to drop off

vivid palm
sweet lodge
#

bracing

wind raptor
#

@rugged root
How to get pipes without going to the gym:

from multiprocessing import Pipe
rugged root
vivid palm
#

@ocean raptorhey random noises are coming in from your end too

#

pong pong pong

#

could you please mute

faint ermine
dark seal
faint ermine
#

Hit the 'Like' and 'Subscribe' button if you enjoyed the gameplay
Wumbo playing Journey mode on Tetris Effect for PS4! All Clear Ultimatris 20 Zone Lines

Twitch: https://www.twitch.tv/wumbotize/
Twitter: https://www.twitter.com/wumbotize
Discord Server: https://discord.gg/vNQ5CMC

Tetris Effect

#Wumbology

Play Puyo Puyo Tetris for PC: htt...

β–Ά Play video
rugged root
#

I'm heading off, may be back later tonight depending on what's going on

dark seal
#

bye

topaz thistle
#

Hi!

#

Can someone give me a tip, about some framework to build desktop user interface?

#

I'm seeing Kivy and Electron... for a beginner, which would be the best one to learn?

unborn storm
#

no one talking, or do i have a connexion problem ?

somber heath
#

!voice @rotund salmon

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

vernal kiln
#

hello

#

im finally switching over to python 😼

#

yes ive gotten the validation i needed ty

#

angry typing

somber heath
#

!voice @dire pond

vernal kiln
#

incred

wise cargoBOT
#

Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

vernal kiln
#

not enough hours?

#

im starting to really hate lists

#

just keeping up with them igs dont really know how to explain

#

πŸ’€

#

listen, im really bad at explaing LMAO

#

oh

#

i see

#

a list inside a list

#

right

#

i see

#

oH i understand

#

okok

#

@sterile grove πŸ‘‹

#

helo

somber heath
#
[1, 2, 3]
[[1,2,3], [4,5,6], [7,8,9]]```
#

1,2,3, first row. 4,5,6, second row. 7,8,9, third row.

vernal kiln
#

ahhhh

#

i get it

somber heath
#

!e py n = ["abc", "def", "ghi"] print(n[0][2]) #Row index 0, column index 2 (1st position, 3rd position, respectively)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

c
sterile grove
#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!*

somber heath
#

Flushed?

vernal kiln
#

flushed = 😳

somber heath
#

Ah.

vernal kiln
#

LMAO

somber heath
#

So that thing where I put the numbers in the square brackets to get stuff out of the lists, that's "subscription".

#

!e py text = "hello" print(text[4])

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

o
vernal kiln
#

i was just gonna ask about that

somber heath
#

I have subscripted "hello" with index 4, the fifth position of the string.

vernal kiln
#

i understand

#

totally

#

yup

#

100%

somber heath
#

!e py print("hello"[0]) print("hello"[1]) print("hello"[2]) print("hello"[3]) print("hello"[4])

vernal kiln
#

how does list slicing work

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | h
002 | e
003 | l
004 | l
005 | o
vernal kiln
#

i see

somber heath
#

!e py print("hello"[1:3])

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

el
somber heath
#

Slicing is a bit...annoying.

#

Useful. Annoying.

#

!d slice

wise cargoBOT
#

class slice(stop)``````py

class slice(start, stop[, step])```
Return a [slice](https://docs.python.org/3/glossary.html#term-slice) object representing the set of indices specified by `range(start, stop, step)`. The *start* and *step* arguments default to `None`. Slice objects have read-only data attributes `start`, `stop`, and `step` which merely return the argument values (or their default). They have no other explicit functionality; however, they are used by NumPy and other third-party packages. Slice objects are also generated when extended indexing syntax is used. For example: `a[start:stop:step]` or `a[start:stop, i]`. See [`itertools.islice()`](https://docs.python.org/3/library/itertools.html#itertools.islice "itertools.islice") for an alternate version that returns an iterator.
vernal kiln
#

lol i can tell

somber heath
#

obj[start:stop:step]

#

I wouldn't look at slicing if you're very new.

#

It's absolutely on the foundational knowledge list.

#

Things you ought to know. Just...not out of the gate.

vernal kiln
#

what should i focus on then

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
#

That's not my answer.

vernal kiln
#

haha

somber heath
#

I also refer people to Corey Schafer's youtube playlists for Python.

#

There's a few beginners ones.

vernal kiln
#

i will keep that in mind.

somber heath
#

To work up to slicing, I'd look at range, first.

#

for loops

#

Elsewise, if is core.

#

if, elif, else

#

Indentation.

vernal kiln
#

oooo

#

okok

somber heath
#

What is a function? What is an object?

#

How is a function also an object?

#

How do I print something to screen?

#

How do I ask for user input?

vernal kiln
#

god i thought you were asking me for a second

somber heath
#

Oh, nono.

vernal kiln
#

i was like

somber heath
#

These are questions you should ask at some point.

vernal kiln
#

yes yes

#

btw u sound very distinguished

somber heath
#

!e py for i in range(5): print("I happen five times!")

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | I happen five times!
002 | I happen five times!
003 | I happen five times!
004 | I happen five times!
005 | I happen five times!
somber heath
#

for loop.

#

!e py for letter in "word": print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | w
002 | o
003 | r
004 | d
somber heath
#
letter = "w"
print(letter)```
#
letter = "o"
print(letter)```
#
letter = "r"
print(letter)```
```py
letter = "d"
print(letter)```
vernal kiln
#

mmmm i will pretend that i understand this B)

somber heath
#

A for loop takes everything in the iterable (here, "word"), given to it, and assigns each thing in it, in turn, to a variable (here,letter)

#

and runs everything in the for loop's indentation that many times

vernal kiln
#

ahhhhh.

#

okok

somber heath
#

Each time with letter being that something different

vernal kiln
#

that makes more sense

somber heath
#

The indentation indicating "hey, I'm happening in this above thing's context"

vernal kiln
#

@wintry hearth πŸ‘‹

somber heath
#

Look for the : at the end of things

#

Which says "Hey, look out, here comes some indented context to this line"

#

Some editors let you collapse and expand indentation to hide it.

#

You know those little plus and minus buttons? Or like how discord lets you collapse room categories.

vernal kiln
#

yup

somber heath
#

It's like a tree.

vernal kiln
#

yes yes

#

yea i understand now

#

are u a developer?

somber heath
#

Very broadly.

#

I code.

#

If that makes me a developer, sure.

#

I mostly use Python to make pretty things.

vernal kiln
#

very cool mist

#

as in?

#

images?

somber heath
#

Algorithmic generation.

#

Yes.

vernal kiln
#

im googling that real quick.

somber heath
#

Fractals, stochastic stuff.

vernal kiln
#

Ahhhhh

somber heath
#

Noise patterns.

vernal kiln
#

that sounds sick actually

somber heath
#

Interference patterns.

#

My usual display image contains an example, but I've changed it to this for the season.

vernal kiln
#

i looked it up

#

sounds like fun

somber heath
vernal kiln
#

hmm you were right about it being pretty.

#

very cool

#

i must achieve voice verification

#

what did u say?

#

i wasn’t paying attention sorry.

#

ah i see

#

hmmmmmmm

#

sorry

#

did u just say

#

🦜

#

LMAO

#

oh the person

#

hello

somber heath
#

@tawdry sky πŸ‘‹

vernal kiln
#

^^

tawdry sky
#

o/

vernal kiln
#

\o/

#

ok

#

i understand indexing now πŸ’€

#

about time

#

keys??

#

these terms

#

istg

#

im crying.

#

right.

#

im staying up for this LMAO

somber heath
#

!e py my_dict = {"apples": 7, "pears": 8} print(my_dict["apples"])

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

7
vernal kiln
#

all the knowledge I had about C++ during quarantine is gone

#

@sick yacht πŸ‘‹

#

so many terms

#

right right

#

@whole bear πŸ‘‹πŸ‘‹

somber heath
#

{key:value}. key:value being the item.

daring orbit
vernal kiln
#

ahhhhhh

#

okokok

somber heath
#

!e py my_dict = {"apples": 7, "pears": 8} print(my_dict.keys()) print(my_dict.items()) print(my_dict.values())

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | dict_keys(['apples', 'pears'])
002 | dict_items([('apples', 7), ('pears', 8)])
003 | dict_values([7, 8])
vernal kiln
somber heath
#

keys: ['apples', 'pears']
items: [('apples', 7), ('pears', 8)]
values: [7, 8]

vernal kiln
#

what are keys again 😟

#

LOL

#

oh right sorry

#

oh okok i mixed it up with somthing else

#

im slowly going braindead

somber heath
#

!e py d = {7:9, 3:0} print(d[7])

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

9
vernal kiln
#

thankyou thankyou

somber heath
#

!e py d = {} #Empty dict d["happy"] = "An emotional state. Overrated." print(d)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

{'happy': 'An emotional state. Overrated.'}
vernal kiln
#

overrated haha

#

tysm.

somber heath
#

!e py d = {"apples": 8, "apples": 3} print(d)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

{'apples': 3}
vernal kiln
#

right.

#

this was more helpful than the websites ive seen LOL

somber heath
#

!e py my_set = {"apples", "apples", "pears"} #note the lack of : in between. This is a representation of a set, not of a dictionary. print(my_set)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

{'apples', 'pears'}
somber heath
#
my_dict = {key:value, key:value, key:value}
my_set = {element, element, element}```
vernal kiln
#

ah i understand now

#

jalwkdhke i have to go now

#

tysm

whole bear
#

@somber heath good morning

somber heath
#

Howdy howdy.

gloomy vigil
#

@forest zodiac cant hear you

forest zodiac
gloomy vigil
#

hi

#

i cannot speak

#

i am good

#

what are you doing?

#

oh

#

i am running make on 4 cores of my pc so i am lagging