#voice-chat-text-1

1 messages · Page 81 of 1

frail umbra
#
import pyautogui
import random
while True:
  pyautogui.click(random.randint(0,1000),random.randint(0,1000),10,0,'PRIMARY')
#

like this?

#

lel

stoic bluff
#

i would disconnect from the internet

#

that way they couldnt use their rat

misty sinew
#

pyautogui.moverel

frail umbra
#

thats gonna be extremely infuriating

#

if it happens

#

plus i think pyautogui has a failsafe

bitter fulcrum
#

unless on a vm

frail umbra
#

if you move it while its executing the click function

#

ye

#

oh yeah

#

ok

stoic bluff
#

!e ```py
import pyautogui
import random
while True:
pyautogui.click(random.randint(0,1000),random.randint(0,1000),10,0,'PRIMARY')

#

yeah but i ran it on OSX using Wine program

frail umbra
#

doesnt check the module

#

oof

#

i think its bug-free

bitter fulcrum
#

takes more effort than clicking 2 times

frail umbra
#

if you want to click ill probably use the win32api

unique raptor
#

guys how to get a gf
use alt + F4

mild flume
#

Again

frail umbra
#

its faster

mild flume
#

Stop with the irritating malware talk

frail umbra
#

oh yeah sorry

#

:(

#

ye

stuck bluff
frail umbra
#

waitt

#

i have a question

#

you know the modmail bot?

#

it copies my message?

sturdy trout
#

sa

frail umbra
#

and sends to a new channel?

sturdy trout
#

hi

frail umbra
#

for staff?

frail umbra
sturdy trout
#

whats up guys

mild flume
#

For Mods+ specifically, yeah

frail umbra
#

the question is

#

does it have admin?

mild flume
#

No

frail umbra
#

oof ;/

#

i had an idea

mild flume
#

I'd rather you didn't try to plan to compromise our bots or server

frail umbra
#

no i mean it was an idea

#

im srry

#

i dont have anything against this server

mild flume
#

I'd hope not.

#

We're pretty cool

sturdy trout
#

Are there text channels by country?

mellow kelp
sturdy trout
#

I'm Turkish because

#

okey

mellow kelp
#

!rule 4

coarse hearthBOT
#

4. This is an English-speaking server, so please speak English to the best of your ability.

frail umbra
#

you guys should make a translater bot or smth

#

that would be pretty cool

#

idk if its possible

sturdy trout
#

very logical

#

:)

frail umbra
#

:)

mellow kelp
frail umbra
#

you plan on making one?

#

idk if its logical

#

cuz like discord is a social media platform open to every in the world right?

mellow kelp
frail umbra
#

oh ok

#

:(

sturdy trout
#

:(

sturdy trout
#

:)

frail umbra
#

bruh

#

why are you laughing

#

oof

sturdy trout
#

@frail umbra where are you from

frail umbra
#

Uk

ruby mauve
#

as

sturdy trout
#

okey

mellow kelp
#

he sadist??

sturdy trout
#

ooo

#

türk varmış

ruby mauve
#

tabi

mild flume
#

Again, English, guys

sturdy trout
#

sövsem nolur acaba

mellow kelp
ruby mauve
#

yabma (means dont do it(to durability))

sturdy trout
#

:/

mild flume
#

I know, Fab. But I'm having to take care of work

sturdy trout
#

çeviriden bakıp bakıp yazıyom ya

mild flume
#

@sturdy trout Last time I'm asking nicely

sturdy trout
#

yes

ruby mauve
#

durability come speak englaish

sturdy trout
#

okey

bitter fulcrum
sturdy trout
#

o ye

ruby mauve
#

i am perfekt english speaker

bitter fulcrum
#

very nice

sturdy trout
#

I speak english very well 🤣

#

(I look at the translation and write) bruh

ruby mauve
#

im just trying to reach 50 non deleted messages

mellow kelp
ruby mauve
#

why

#

im not spamming messages

stuck bluff
ruby mauve
#

sad 😦

sturdy trout
#

Where can I learn phyton coding?

ruby mauve
#

are u a beginner

mellow kelp
ruby mauve
#

lol

sturdy trout
ruby mauve
#

i have touched 3000-4000 volts before

sturdy trout
#

I received a training package I hope it works

sturdy trout
ruby mauve
#

r u still using translate

sturdy trout
#

yes

ruby mauve
sturdy trout
#

😄

ruby mauve
#

actually before i touch it it was something like 4k volts but when i touch due to the low current voltage drops safe levels

#

power keeps same

sturdy trout
#

very logical

stuck bluff
#

I was reading that.

frail umbra
#

wtf is happening to my laptop

stoic bluff
#

probably hacked

frail umbra
#

phew

#

its fine now

stoic bluff
#

or is it...

frail umbra
#

i got this laptop from my dad

#

my dad works in a bank

stoic bluff
#

how old is it

frail umbra
#

it has all the updated anti malware and stuff

#

like 2 years

stoic bluff
#

then no virus can access that pc

frail umbra
#

it used to be his work laptop

frail umbra
stoic bluff
#

yup

frail umbra
#

but thats unlikely

#

you dont get state-of-the-art viruses from fake download buttons

stoic bluff
#

but what if there's one rn?

frail umbra
#

lel

#

it doesnt even let me download discord app

#

i have to use browser

stoic bluff
#

why 🤣

frail umbra
#

i dont even have admin proviledges

frail umbra
stoic bluff
#

oooh

frail umbra
#

i cant even use python in this laptop

#

i have a seperate pc for that

stoic bluff
#

well then, i have to go to bed so good night

frail umbra
#

Gn man

#

sleep well

frail umbra
#

:)

candid gorge
#

i havnt been here long enough :(

#

i cant talk

round ledge
#

you need to get voice verified

candid gorge
#

i need to be here for 2 mor edays

#

days

round ledge
#

do !voiceverified and it will show you how to do it

candid gorge
#

then i can

round ledge
#

oh okay

ruby mauve
sturdy trout
#

hi guys

ruby mauve
#

hi

#

can i see howm any messages do i have

#

anyone knows

#

?

sturdy trout
#

🤔

#

there must be code for it

restive mesa
#

@misty sinew ok

#

@misty sinew why your voice is nice , my voice is like a poor man dieing

#

ok

sturdy trout
#

hi

sturdy trout
#

How do I run the program I coded from Python ?

junior nacelle
#

@raw wren that's true

#

:)

#

soo true

sturdy trout
#

Can anyone help me?

raw wren
#

join vc 1

junior nacelle
#

yes, annoying hits the point

raw wren
#

ill help you but in the future

#

!gethelp

#

oops

junior nacelle
#

you have to loook into #bot-commands

raw wren
#

just look for the help channels @sturdy trout

junior nacelle
#

this channel isn't proposed to be used for bot commands

raw wren
#

but for now join vc I can help you

#

@sturdy trout if you wanna but if you dont thats fine

junior nacelle
#

You can't talk about Python with Beginners,

#

and

#

this is a Python Discord, sooo

#

wait?

#

you got banned?

#

from a module?

#

how?

#

I'm gonna go for now

raw wren
#

okie

junior nacelle
#

see ya

sturdy trout
#

How do I run the program I coded from Python ?

raw wren
#

please join voice chat 1 as I said I am trying to help you!

#

or code help 1 actually

sturdy trout
#

I do not know how to speak English

#

:(

raw wren
#

Ok, then I would recommend you grab a help channel just type your question into the channel and that help channel will become yours

#

actually what text editor/ide are you using

#

I can just help its easier

sturdy trout
#

okey

raw wren
#

So what are you using to write your code

sturdy trout
#

visual

raw wren
#

ok so you legit just click the green play button

sturdy trout
#

ha

#

ha okey

raw wren
#

yeah its that easy haha

sturdy trout
#

:D

raw wren
#

did that work?

sturdy trout
#

:(

#

error occurs

#

I try from Pycharm

tender haven
#

We can move to Media voice, Scaleios temporarily changed the perms.

mild flume
#

Might be a better choice

tender haven
#

@inland tiger @steep fiber ^^

steep fiber
#

Yep, planning on moving when he returns

inland tiger
#

I am afk for a minute

#

I can't speak

warped wind
#

where

#

dont leave me alone

inland tiger
#

Media

steep fiber
#

cc @grand storm

grand storm
#

what's up?

inland tiger
#

nor can i streammmmm

warped wind
#

F

grand storm
#

you should have explicit speak perms

#

one sec

inland tiger
#

anyways as i was saying
the current logo and every other logo follows the patter of dark color in top and light one in bottom

sturdy trout
#

heeeey

#

hi guys

sturdy trout
#

How can I get the voice verified role

mild flume
#

!voice @sturdy trout Just in case someone didn't respond to you earlier, this should point you in the right direction

coarse hearthBOT
#

Voice verification

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

charred creek
#
apt list --installed | grep nvidia
apt list | grep nvidia
short oracle
#

MOIN

#

MEISTE

#

HOW 'YA DOIN'

mellow kelp
ruby mauve
#

h

#

hi

hearty heath
#

So, did you get it working Jake? 😄

#

So is that why you were being so nice to me Griff? lemon_raised_eyebrow

#

Just kidding 😅

charred creek
#

Yes

#

I am only going to be mean from now on

hearty heath
#

Alright lemon_pensive

mellow kelp
hearty heath
#

I'm jumping ship to VC0 👋

charred creek
#

Traitor angery

#

have fun PikaWave

raw wren
#

This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/

⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello Wor...

▶ Play video
safe python
#

yelling confirmed

mellow kelp
#

myphone plus pro max ultra mega X

unique raptor
#

VS CODE IS EVERYTHING

#

there cant be an beter ide than vs code

#

better

fair sierra
#

hey @charred creek do you hear me in voice?

unique raptor
#

yes we can

fair sierra
#

thanks

elder wraith
#

I can’t with the chaos

unique raptor
hearty heath
#

78 lemon_pensive

#

I've tried and just can't get much faster than 80WPM.

raven orbit
#

Cheer up

#

I stick around 50-60

fair sierra
peak frigate
#

😮 who's 123

warm tendon
#

me 👀

peak frigate
#

alright i can probably only do 1 more before i slow way down lmao

warm tendon
#

@hearty heath so how do we formalize this team 👀

scarlet cedar
#

lets go jake

hearty heath
charred creek
#

add me to the Inital Team Members when you make an entry

#

name is Griff on there c:

warm tendon
raven orbit
#

one small thing

#

I have never yet actually written a game in python

hearty heath
peak frigate
#

@mild flume did you do mavis beacon typing growing up?

warm tendon
#

i did typetolearn4

raven orbit
#

actually I'm not gonna join the pyweek challenge

warm tendon
#

😦

hearty heath
raven orbit
#

'cuz I don't think I'm good enough at Python

charred creek
random minnow
hearty heath
peak frigate
raven orbit
#

also I have this other project as well

peak frigate
#

honestly you're the first other person i met on here with 120+

warm tendon
warm tendon
lime grove
#

i just learned how to type by... typing stuff

fair sierra
#

did you learn this from a course?

raven orbit
charred creek
#

it would be op

warm tendon
#

shooooooot

raw wren
#

Lemon

warm tendon
#

we've already won

raw wren
#

Hemlock

raven orbit
#

Pip

#

hippopotomonstrosesquipedaliophobia

hearty heath
warm tendon
#

ok, team name?

charred creek
#

VC gang

hearty heath
#

Errrr

lime grove
#

lol

hearty heath
#

Good enough 😄

warm tendon
#

i don't think we can be "VC gang"

charred creek
#

:c

warm tendon
#

or should be, lol

placid forge
#

does anyone to play tetris

lime grove
#

¯_(ツ)_/¯

raven orbit
hearty heath
#

Thanks 😄

fair sierra
#

any linux/manjaro people in voice chat

humble vortex
#

does people in prison have to wear masks ??thinkmon

fair sierra
#

updating gcc8, and it takes almost 100% cpu

placid forge
#

How do I join

warm tendon
#

oh

#

hemlock is in the other one

fair sierra
#

ahh.. thanks

placid forge
raven orbit
humble vortex
#

when eglish skillz kick

hearty heath
#

Alright gtg for a bit 👋

ruby mauve
#

pycharm

#

or

#

vs code

charred creek
#

vsCharm

raven orbit
#

Groot

peak frigate
#

GUARDIANS OF THE GALAXY

mental grove
#

how can i put image button inside image button

#

?

#

someone help?

sly vault
#

who wants to help me in scandium plss. i can't talk in voice

ocean remnant
#

For WCT Merch, check out - https://teespring.com/stores/world-chase-tag-2

The old Boston / New York rivalry enters the Quad with HUB PTC v Team Empire.

For more info on the teams and athletes:

HUB PTC - https://www.hubptc.com
Dylan Polin - https://www.instagram.com/dylanpolin/
Alec Reduker - https://www.instagram.com/riqbic/
Evan Beyer - htt...

▶ Play video
coarse hearthBOT
#

Hey @leaden flare!

It looks like you tried to attach file type(s) that we do not allow (.pdf). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.

Feel free to ask in #community-meta if you think this is a mistake.

leaden flare
ocean remnant
short oracle
#

hello

#

what up

#

lol+

#

This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/

⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello Wor...

▶ Play video
ruby mauve
#

h

#

hi

#

what

#

is

#

vsCharm

short oracle
#

h

#

i

#

hi

ruby mauve
#

hii

short oracle
#

whats

ruby mauve
#

what

#

is

short oracle
#

üp

#

?

ruby mauve
#

vsCharm

#

ü?

#

sa?

short oracle
#

are you spming??

ruby mauve
#

am i

short oracle
#

am you

ruby mauve
#

lol what is that

short oracle
#

am is what

ruby mauve
#

r u spamming?

short oracle
#

ruby mauve
#

oh

#

me too

short oracle
#

why should y

#

i

ruby mauve
#

i dont know

short oracle
#

why dont you

ruby mauve
#

should i

#

?

short oracle
#

yêss

ruby mauve
#

yes what?

#

should i spam?

short oracle
#

of cöuse

ruby mauve
#

r u trying to say of course?

#

lol

short oracle
#

yês öf cöürse

ruby mauve
#

yessssss

short oracle
#

löl

ruby mauve
#

finally

short oracle
#

what

#

?

ruby mauve
#

it took so long

#

50 undeleted messages

#

yessssss

#

i can taaalk

short oracle
#

when

#

do

#

i know?

#

i want

#

to talk

#

too oo

#

!e

coarse hearthBOT
#
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!*

short oracle
#

!e
i=0
while True:
i += 1
print("lol" + str(i))

coarse hearthBOT
#

@short oracle :x: Your eval job timed out or ran out of memory.

001 | lol1
002 | lol2
003 | lol3
004 | lol4
005 | lol5
006 | lol6
007 | lol7
008 | lol8
009 | lol9
010 | lol10
011 | lol11
... (truncated - too many lines)

Full output: too long to upload

short oracle
#

moin meiste

pearl torrent
#

hey whats going on in this vc?

elder wraith
#

Hiding from stupidity that is VC0

pearl torrent
#

fair enough 🤷‍♂️

charred verge
#

Can anyone give me permission to speak in the channel

mild flume
#

What do you need?

#

!voice @charred verge

coarse hearthBOT
#

Voice verification

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

charred creek
glass wedge
#

why ı cant use mıc guys

frail umbra
#

someone help me

#

i have a project at school

#

sorry

#

:(

#

um

#

as i was saying

mild flume
#

What's the question?

frail umbra
#

how do i do pip install keyboard without cmd

glass wedge
#

mr hemlock ı gonna start learnıng python where ı start learnıng

mild flume
#

Why are you needing to do this?

frail umbra
#

my school doesnt allow access to cmd

#

i need it for prohect

#

project

#

my teacher allowed me to add it

#

but i dont have access

#

would subprocess work?

mild flume
#

!resources @glass wedge We've actually got a whole page full of good resources. I'd check out "Automate the Boring Stuff" or "A Byte of Python". Both are solid starters

coarse hearthBOT
#
Resources

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

frail umbra
#
import subprocess
subprocess.run('pip install keyboard')
#would this work?
charred creek
#

-y

raven orbit
warped herald
#

What's up boys

frail umbra
#

sky

warped herald
#

What are you up to?

frail umbra
#

nothing :(

frail umbra
#

@charred creek where would i put the -y tho

warped herald
#

i'm a noob at programming

frail umbra
#

ok

frail umbra
warped herald
#

but i'm glad there's a live i can see somebody do some

frail umbra
#

ikr!

charred creek
warped herald
#

cause i always wonder how it's kinda done by someone else

frail umbra
#

ok

charred creek
#

apt-get install -y asdofhswerdggs

warped herald
#

had a friend let me through a whole program of his but still programming seems crazily complicated

frail umbra
#

hm i see

frail umbra
#

its surprisingly easy

warped herald
#

i guess

frail umbra
#

all you need is a good book and resources

warped herald
#

maybe it's so easy i'm thinking there's more to it haha

frail umbra
#

ye

#

exactly

frail umbra
#

embed fail 🥳

warped herald
#

i got the perfection curse. I'm afraid that i will use too much variables and for it to not be optimal or something

#

soon i'll do my projects no matter what

frail umbra
#

wdym by too much variables lel

warped herald
#

haha i dont know man

frail umbra
#

i add so many variables that ill give any programmer a heart attack

#

i have another question as well

warped herald
#

i'm always impressed by how people use their variables and they never use too much

frail umbra
#

is there a way to make gui-generation thing in python a little faster?

warped herald
#

Say my name maybe, so they know you talk to me 😉

mild flume
#

I did

#

Which makes it even more confusing

warped herald
#

Oh

frail umbra
#

like actual 5 min

#

its a simple labeler

charred creek
#

python3 -m pip install --upgrade build

raven orbit
#

lines 20-58

frail umbra
#

THANK YOU IT WORKED

raven orbit
frail umbra
#

brUh my internet is trash

#

why is voice sounding so weird

random minnow
#

1970-01-01 01:00:01

warped herald
frail umbra
#

:(

#

i wanna see the livestreams so bad

raven orbit
random minnow
#
#
void increment(int &numero){
  numero++;
}

int x = 10;
increment(x);
std::cout << x; // Prints 11
#
#define log(x) std::cout << x << std::endl

log("hi");
#
#define unixTime time(NULL)
#define log(x) std::cout << x << std::endl

log(unixTime);
std::cout << time(NULL) << std::endl;
charred creek
#
#if DLEVEL > 5
    #define SIGNAL  1
    #if STACKUSE == 1
        #define STACK   200
    #else
        #define STACK   100
    #endif
#else
    #define SIGNAL  0
    #if STACKUSE == 1
        #define STACK   100
    #else
        #define STACK   50
    #endif
#endif
#if DLEVEL == 0
    #define STACK 0
#elif DLEVEL == 1
    #define STACK 100
#elif DLEVEL > 5
    display( debugptr );
#else
    #define STACK 200
#endif
random minnow
charred creek
#
raven orbit
#

yay it works

raven orbit
hearty heath
#

Hello

#

Am I the chairman or CEO?

#

Alright 😄

#

Yep 👍

#

Yeah, KJ I'm going to have to veto your membership sorry

#

PH, do you want to join the pyweek team? 😄

raven orbit
#

no thanks

#

I don't really have time or knowledge

hearty heath
#

Alright ;-;

raven orbit
#

but I thought we discussed this yesterday?

hearty heath
#

Oh, I have the memory of a goldfish.

raven orbit
#

rip

charred creek
#

cd /route

raven orbit
#

rip

peak frigate
#

no route loll. could you hear us though?

charred creek
#

yes

raven orbit
#

mina and I can hear each other fine

charred creek
#

I hear, could

raven orbit
#

try another vc

#

see if it works

peak frigate
#

another server too

hearty heath
#

Ipod mini:

charred creek
#

nice iPad

hearty heath
#

Did anyone have one of these badboys?

#

You can only play music on shuffle 😄

#

I had one, then I got mugged on my way home from school ;-;

#

When I was like 15.

random minnow
#

who the fuck mugs a 15 year old on the way home from school? other kids?

random minnow
#

wow

hearty heath
#

I want an Apple Watch because I'm a hypochondriac

#

so I can constantly monitor my heart with the built in ECG

hearty heath
# random minnow wow

To be fair, it was fairly undramatic. But I didn't want to get into a confrontation.

random minnow
#

right

olive sable
random minnow
#

I just love how clean atom is

charred creek
elder wraith
raven orbit
#

what's vmmem?

elder wraith
#

I'm pretty frugal with VSCode Extensions though

raven orbit
#

oh

elder wraith
#

That's HyperV (WSL2)

raven orbit
#

nvm

#

yeah, that makes sense

#

I just had to look twice

elder wraith
#

why my container is taking up that much I have no clue

hearty heath
ornate birch
elder wraith
charred creek
hearty heath
#

Probably has PTSD and doesn't want to talk about it.

#

The amount of virus you're exposed to matters in determining how sick you get.

#

So it's worthwhile taking measures to reduce transmission even if you can't guarantee people don't catch it.

#

Yeah, I didn't know that originally.

#

Because she's coherent 😄

#

Hemlock, join our team 🥺

#

Erm...

#

Nah

#

Alright, how are we going to manage this thing?

#

And her what cat?

#

Oh, thought you said "ass cat"

#

Errr

random minnow
#

this?

hearty heath
#

Think about something else @charred creek

mild flume
#
hearty heath
#

Yeah, for getting around mental blocks 😄

#

I remember watching a talk about character movement...

elder wraith
#

!e ```python
import timeit
import random

def test():
test_dict = {'1':random.randint(1,10000)}
test_dict['2'] = random.randint(1,10000)
test_dict['3'] = random.randint(1,10000)
test_dict['4'] = random.randint(1,10000)

def test1():
test_dict = {
'1': random.randint(1,10000),
'2': random.randint(1,10000),
'3': random.randint(1,10000),
'4': random.randint(1,10000)
}

print(timeit.timeit('test()', setup="from main import test"))
print(timeit.timeit('test1()', setup="from main import test1"))```

coarse hearthBOT
#

@elder wraith :warning: Your eval job timed out or ran out of memory.

[No output]
elder wraith
#

!e ```python
import timeit
import random

def test():
test_dict = {'1':random.randint(1,10000)}
test_dict['2'] = random.randint(1,10000)
test_dict['3'] = random.randint(1,10000)
test_dict['4'] = random.randint(1,10000)

def test1():
test_dict = {
'1': random.randint(1,10000),
'2': random.randint(1,10000),
'3': random.randint(1,10000),
'4': random.randint(1,10000)
}

print(timeit.timeit('test()', setup="from main import test"), number=1000)
print(timeit.timeit('test1()', setup="from main import test1"), number=1000)```

coarse hearthBOT
#

@elder wraith :warning: Your eval job timed out or ran out of memory.

[No output]
elder wraith
#

!e ```python
import timeit
import random

def test():
test_dict = {'1':random.randint(1,10000)}
test_dict['2'] = random.randint(1,10000)
test_dict['3'] = random.randint(1,10000)
test_dict['4'] = random.randint(1,10000)

def test1():
test_dict = {
'1': random.randint(1,10000),
'2': random.randint(1,10000),
'3': random.randint(1,10000),
'4': random.randint(1,10000)
}

print(timeit.timeit('test()', number=10000))
print(timeit.timeit('test1()', setup="from main import test1", number=10000))```

coarse hearthBOT
#

@elder wraith :white_check_mark: Your eval job has completed with return code 0.

001 | 0.10694441688247025
002 | 0.08654747693799436
charred creek
#

!e

#

!e

import timeit
import random

def test():
    test_dict = {'1':random.randint(1,10000)}
    test_dict['2'] = random.randint(1,10000)
    test_dict['3'] = random.randint(1,10000)
    test_dict['4'] = random.randint(1,10000)

def test1():
    test_dict = {
        '1': random.randint(1,10000),
        '2': random.randint(1,10000),
        '3': random.randint(1,10000),
        '4': random.randint(1,10000)
    }

print(timeit.timeit(test, number=10000))
print(timeit.timeit(test1, number=10000))
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

001 | 0.1393449001479894
002 | 0.13347962382249534
hearty heath
#

I think it also has a globals argument.

#

Oh right.

charred creek
#

!e

import timeit
import random

def test():
    test_dict = {'1':random.randint(1,10000)}
    test_dict['2'] = random.randint(1,10000)
    test_dict['3'] = random.randint(1,10000)
    test_dict['4'] = random.randint(1,10000)

def test1():
    test_dict = {
        '1': random.randint(1,10000),
        '2': random.randint(1,10000),
        '3': random.randint(1,10000),
        '4': random.randint(1,10000)
    }

print(timeit.timeit('test()', setup="from __main__ import test", number=10000))
print(timeit.timeit('test1()', setup="from __main__ import test1", number=10000))
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

001 | 0.13832992501556873
002 | 0.13585326285101473
elder wraith
#
discordmessage = {'type': 'reactionadd',
        'channel_id': payload.channel_id,
        'guild_id': payload.guild_id,
        'message_id': payload.message_id,
        'emojiid': payload.emoji.id,
        'emojiname': payload.emoji.name
        }```
hearty heath
#

id?

#

Yeah, just realised 😄

golden marsh
#

!e ```py
def f(): pass
f.id = 5
print(f.id)

coarse hearthBOT
#

@golden marsh :white_check_mark: Your eval job has completed with return code 0.

5
hearty heath
#

I was thinking of is

#

Yeah, the argument defaults are created when the function is defined.

#
def foo(myarg=None):
    if myarg is None:
        myarg = []
    ...
charred creek
#
from typing import Optional

def int_array(arr: Optional[list] = None) -> list:
  if arr is None: # or just "if not arr" 
    arr = []
  
  return list(map(int, arr))
hearty heath
#

Well, I prefer it be consistent than they add another edge-case.

mild flume
#

!e

def mah_test(thing=[]):
  thing.append(1)
  print(thing)

for _ in range(5):
  mah_test()
coarse hearthBOT
#

@mild flume :white_check_mark: Your eval job has completed with return code 0.

001 | [1]
002 | [1, 1]
003 | [1, 1, 1]
004 | [1, 1, 1, 1]
005 | [1, 1, 1, 1, 1]
hearty heath
#

Does anyone else line their dictionary values up like this? 😄 ```py
discordmessage = {
'type': 'reactionadd',
'channel_id': payload.channel_id,
'guild_id': payload.guild_id,
'message_id': payload.message_id,
'emojiid': payload.emoji.id,
'emojiname': payload.emoji.name,
}

#

Alright ;-;

merry mica
#

!e ```
thing=[]
def mah_test(thing):
thing.append(1)
print(thing)

for _ in range(5):
mah_test()```

coarse hearthBOT
#

@merry mica :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 7, in <module>
003 | TypeError: mah_test() missing 1 required positional argument: 'thing'
hearty heath
#

Wait, I have a relevant image...

merry mica
#

!e ```
thing=[]
def mah_test():
thing.append(1)
print(thing)

for _ in range(5):
mah_test()```

coarse hearthBOT
#

@merry mica :white_check_mark: Your eval job has completed with return code 0.

001 | [1]
002 | [1, 1]
003 | [1, 1, 1]
004 | [1, 1, 1, 1]
005 | [1, 1, 1, 1, 1]
hearty heath
#

This is my fridge 😄

#

I think the two may be related...

#

Possibly have OCD

elder wraith
#

Let's talk about your beer choice

raven orbit
raven orbit
hearty heath
#

I actually like Budweiser though lemon_pensive

elder wraith
#

Your not in US are you?

hearty heath
#

Nah UK

charred creek
#

!e

class sOmetIng:
    def __init__(this, that):
        this.that = that
        if not this is not that:
            this.that = this.__class__(this)

print(sOmetIng(5).that)
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

5
elder wraith
#

ok, I'm not shipping beer internationally

#

!pep8 lemon

coarse hearthBOT
#

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:
PEP 8 document
Our PEP 8 song! :notes:

charred creek
#

!e

class Test:
  def __init__(*joe):
    joe[0].momma= f"is {' '.join(joe[1::])}"
    

test = Test("Cool")
print(test.momma)
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

is Cool
hearty heath
#

You'll be receiving a letter Griff

charred creek
#

!e

class MoJomma:
    def __init__(*moe):
        moe[0].jomma = f"Moe jomma is {' '.join(moe[1::])}"


print(locals()[next(j for j in locals().keys() if str(j).isalpha())]("Cool").jomma)
coarse hearthBOT
#

@charred creek :white_check_mark: Your eval job has completed with return code 0.

Moe jomma is Cool
hearty heath
#

On that note, does anyone want to do some BinarySearch? 😄

charred creek
#

ye

#

let me get drank so I can think

#

drink*

hearty heath
#

Yeah me too brb 😄

charred creek
#

Cherry lemonade is tasty

#
def function_with_pep484_type_annotations(param1: int, param2: str) -> bool:
    """Example function with PEP 484 type annotations.

    Args:
        param1: The first parameter.
        param2: The second parameter.

    Returns:
        The return value. True for success, False otherwise.

    """
def example_generator(n):
    """Generators have a ``Yields`` section instead of a ``Returns`` section.

    Args:
        n (int): The upper limit of the range to generate, from 0 to `n` - 1.

    Yields:
        int: The next number in the range of 0 to `n` - 1.

    Examples:
        Examples should be written in doctest format, and should illustrate how
        to use the function.

        >>> print([i for i in example_generator(4)])
        [0, 1, 2, 3]

    """
    for i in range(n):
        yield i
hearty heath
#

Alright 😄

#

Easy or medium?

charred creek
#

gg

hearty heath
#

gl 😄

#

Anyone else want to join?

#

Laundmo, do you know anything about OpenCV?

misty sinew
#

I'm here

#

ok

hearty heath
#

Erm, should I add some medium problems to the next one?

golden marsh
#

!projects

coarse hearthBOT
#

Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

hearty heath
#

Nah, it's fine for me

#

🤔

#

Ah right

#

Cya Laundmo 👋

charred creek
#
nums = [1, 0]
hearty heath
#

Yeah, it's weird.

#

The medium ones are usually dynamic programming on these sites

#

And the hard are usually greedy search 😄

#

You can use math.comb lemon_pika

#

Good luck sleeping 😄

charred creek
#

!docs math.comb

coarse hearthBOT
#
math.comb(n, k)```
Return the number of ways to choose *k* items from *n* items without repetition and without order.

Evaluates to `n! / (k! * (n - k)!)` when `k <= n` and evaluates to zero when `k > n`.

Also called the binomial coefficient because it is equivalent to the coefficient of k-th term in polynomial expansion of the expression `(1 + x) ** n`.

Raises [`TypeError`](exceptions.html#TypeError "TypeError") if either of the arguments are not integers. Raises [`ValueError`](exceptions.html#ValueError "ValueError") if either of the arguments are negative.

New in version 3.8.
hearty heath
#

Erm, it just tells you the number of combinations

#

Rather than generating all of the combinations.

#

So, count up how many times each value occurs.

#

Then how many ways are there to choose two of those occurences?

hearty heath
#

Cya 👋

#

Yeah, Griff you can give up if you like 😄

#

I have a terminal window I can pop up with a shortcut, and I have python open in that pretty much all the time

#

And use that as a calculator.

#

Alright, night

#

👋

wild void
#

@frigid isle I'm muted

frigid isle
#

Yes

#

Link? @dream

latent moon
#

y is this channel called voice-chat if its not voice-chat?

#

btw how do i find out how many messages iv sent? python bot tells me iv sent under 50

#

nvm iv got 50 now

misty sinew
#

hello I should do an answerrr

#

can anyone call me ?

fair sierra
#

because we cant moderate it

hollow halo
#

ok. I am going to watch all of Mortal Kombat movies this weekend.

fair sierra
#

you only have to watch the first one

#

and skip the other

hollow halo
#

how many are there

tiny pumice
#

Eh, screw it, I'm not sleeping tonight; will hop on over later, will make coffee

fair sierra
mild flume
#

Guys

#

We have a problem

#

I'm running out of beef jerky

fair sierra
#

that is a problem

#

does uber eats deliver jerky?

mild flume
#

God I hope so

elder wraith
#

Quick, to the gas station

mild flume
#

Otherwise I won't survive the day

fair sierra
#

should i order some for you? have it delivered ? 😄

mild flume
#

NO, and only because I know you would

elder wraith
fair sierra
#

😄

mild flume
elder wraith
#

No no, if you don’t survive, we need to post for your replacement

mild flume
#

It'd be interesting to see if they could replace me. That's not me being full of myself, I just fill a very strange niche

peak frigate
#

@autumn raft fishre

#

sounds french

autumn raft
#

el tigre fishre

autumn raft
stoic bluff
#

with great power, comes great responsibility

autumn raft
#

Interview time, byeieeeeeee

stoic bluff
#

cya DC_wave

unique raptor
#

pay

peak frigate
#

@autumn raft good luck good luck tell us abt it later!

stoic bluff
unique raptor
#

not you

stoic bluff
#

okay

#

btw are you a coder?

#

Kemal

raven orbit
#

it is thursday my dudes

peak frigate
#

^ friday eve!

raven orbit
#

saturday eve eve

#

sunday eve eve eve

peak frigate
#

no don't go to the next day

raven orbit
#

thursday eve eve eve eve eve eve eve

peak frigate
#

ok that's fine

#

as long as m*nday is never mentioned

raven orbit
#

thanks

peak frigate
unique raptor
peak frigate
#

lmaooo

unique raptor
#

damm

#

you are going to dox

stoic bluff
#

no

unique raptor
#

going to make a docx file

stoic bluff
#

aaaah

junior nacelle
#

Wait why is everybody in voice chat 1?

#

and not 0

bitter fulcrum
#

hello

unique raptor
#

helo

misty sinew
#

Yo

unique raptor
#

no

peak frigate
#

@junior nacelle unspoken rule where we switch every few hours

unique raptor
#

because

#

when they seee hemlock they cant resist

#

to join the chat

mild flume
#

I'm a person magnet for some reason

unique raptor
#

yes

mild flume
#

But mainly because someone is streaming right now

unique raptor
#

and you are popular

#

and because of the orange tag

#

not again

#

flash back to 2016 windows 10

misty sinew
upbeat sentinel
#

@floral current you could probably also use something like Redis for a discord bot also right? I feel like that might be a good tool to use.

stoic bluff
#

what is bobux?

mellow kelp
#

im hearing thishttps://open.spotify.com/show/5PrXI00Z7y7V755LL2Eah8?si=Wq97qx4mS9Cec8SDbMWzfQ

junior nacelle
#

@raw wren What's stixel?

#

I see you always working on this

raw wren
#

stat bot!

weary prairie
#

Just use AWS, azure or gcp free tier

#

That way you don't need to pay anything

#

I think digitalocean has $100 signup credit as well so you could run a VPS for a while for free

floral current
mellow kelp
misty sinew
floral current
#

Option<Ref<'a, K, V, S>>

#
<Q: ?Sized>(&'a self, key: &Q) -> Option<Ref<'a, K, V, S>> where
    K: Borrow<Q>,
    Q: Hash + Eq, ```
raven orbit
#

cd .. && pip install . && cd docs && sphinx-apidoc -f -o source ../ && make html

misty sinew
#

Hi

mild flume
#

@vocal ivy Open a cmd prompt as Administrator, then run this command:
DISM.exe /Online /Cleanup-image /Restorehealth && sfc /scannow

cunning pivot
#

@mild flume

#

MY TRASH CAN IS MISSING

mild flume
#

Are you able to delete things still?

cunning pivot
#

nope

mild flume
#

dafuq

cunning pivot
#

cant select anything on desktop

mild flume
#

Have you restarted your rig?

cunning pivot
#

yeah, lemme retry again

#

it work reboot

mild flume
#

Reboot fixes damn near everything

cunning pivot
#

i meant to say it wont reboot

charred creek
#

i've been in the wrong chat

#

oops

stuck bluff
#

I am a man. I fix things and am useful. Admire my worthiness as a mate.

cunning pivot
#

@mild flume

#

Weather in our country

mild flume
cunning pivot
#

@mild flume @vocal ivy

#

DISM /Online /Enable-Feature /FeatureName:NetFx3 /All

radiant mountain
#

Troubleshooting?

stuck bluff
#

Everyone is always shooting trouble. Maybe if we took it gently by the hand and made friends with it, we could all get along.

cunning pivot
#

!p uh oh stinky

coarse hearthBOT
#
Bad argument

Converting to "int" failed for parameter "pep_number".

#
Command Help

!pep <pep_number>
Can also use: get_pep, p

Fetches information about a PEP and sends it to the channel.

cunning pivot
#

!e uh oh stinky

coarse hearthBOT
#

@cunning pivot :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     uh oh stinky
003 |        ^
004 | SyntaxError: invalid syntax
radiant mountain
#

Rule 4 guys

upbeat sentinel
#

Hammer

#

making a dashboard for work.

#

one day i will be able to speak.

#

🙂 patience is a virtue

#

like a subsidy

#

@stuck bluff is that in the US?

stuck bluff
#

Australia

upbeat sentinel
#

im gonna have to start using that

viscid furnace
#

hello

upbeat sentinel
#

facemasks are very deceiving. who knew eyes can be very misleading in trying to determine how they look.

vocal ivy
mild flume
#

Again, I'd suggest running the update when you think it won't interfere with what you're doing. Those are important updates, though

wraith kite
#

How do I speak in voice chat?

random minnow
#

!voice

coarse hearthBOT
#

Voice verification

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

warm parcel
#

ok

#

yes

#

I see

#

I tried

#

I think I need to do a loop or something

#

to read all the excel files

#

It works for one excel file

#

but cannot have it work for multiple

#

not sure

#

the program is created

#

those excel files are pre-existing

#

no

#

I want to insert it into multiple excel files

#

same data

#

filename = r'C:/Users/Dave/Desktop/python_test/output/test1.xlsx'
df=pd.read_excel('C:/Users/Dave/Desktop/python_test/main_doc.xlsx', engine='openpyxl')

#

so that main_doc.xlsx file

#

yes

#

has a tab that goes into multiple workbooks

#

the code from that link works for only one

#

filename = os.listdir('C:/Users/Dave/Desktop/python_test/output/')

#

what was that

#

it gives me all the excel files

#

yes

#

but when I do the function it does not write to it

#

only works for when

#

filename = r'C:/Users/Dave/Desktop/python_test/output/test1.xlsx'

#

yes it can get the list of files, but cannt write to it

#

filename = os.listdir('C:/Users/Dave/Desktop/python_test/output/') works

#

its lists all the file, but when I put it in the function, it does not work

#

are you able to click the link?

#

yes

#

into multiple existing excel files

#

so i ahve master_file, and insert it to file1, file2, file3

#

I tried shutil

#

unless I missed something

#

so just copy and paste that?

#

that replaces the sheet

#

in the files

#

with masterfile

#

so if masterfile is 123, and test1 is 456

#

when I run that, test1 becomes 123

#

instead of having two tabs

#

no i want test1 to have two tabs, 123 and 456

#

yes

#

trying to get it for a work job

#

Since I have 100 excel files

#

yes

#

that will merge all the excel files

#

I think I am not advanced enough for it

#

I believe you are german

#

He is asking your accent

#

this guy is a clown lol

#

I am not advanced enough to change that

#

yes

#

shows the top items

#

like first 10

#

I have to goto work meeting. for one hour. I will still be in discord, but have to leave voice

#

preferably first

#

first

#

file 2 = 123 || 456

#

two different tabs

#

it reads all the excel files

#

so for example a file 3 = 789

#

then file 3 = 123||789

#

Ok I have to goto meeting. I will be back in an hour

#

append uses same tab

#

brb

#

one hour

#

ok

#

master_list is not there though

#

that is file1

#

so only looking for master_list + 2

#

master_list + 3

#

that does not work

#

😦

#

darn

#

I just reposted in help channel

#

I thiink I need a for loop and a list

#

to read the files and feed it into the filename

#

but I dont know how to do those

random minnow
#

@mental grove here

mint isle
#

i have data structures exam in a couple of hours

#

have you guys heard this song

#

hi mr hemlock

#

awwww

#

has he ever pawed you in face

#

?

#

haha

mild flume
#

!voice @sturdy walrus

coarse hearthBOT
#

Voice verification

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

mint isle
#

is manjaro faster than ubuntu/zorin etc

#

kkay

#

unix and multics

#

bootable usb tool

autumn raft
#

what my name

fluid edge
#

my name is what. my name is who. my name is

mild flume
#

Tell me whatcha doin' nooooow

fluid edge
#

still werkin'

#

LMAO

#

y is that even a question. just yeet

#

lol

#

fisher the type to ghost someone instead of just tellin' 'em straight.

#

xD

woven wagon
#

i needa vpn for omegle

autumn raft
fluid edge
#

now i have rollin' stuck in my head

#

lmao

#

😐

warm tendon
#

😔

fluid edge
#

oh he's the 1 thot 2 thot guy

#

LOL

mild flume
fluid edge
#

what's wrong with big boobs

#

lol

#

i'm living life wrong

warm tendon
#

😔

woven wagon
#

put me on yall i need a vpn

#

my omegle

fluid edge
#

-claps-

woven wagon
#

i got banned some how

#

who got a vpn that works on omegle

fluid edge
#

lmfao

stark saddle
#

"They call me hell
They call me Stacey
They call me Her
They call me Jane
That's not my name
That's not my name
That's not my name
That's not my name"

fluid edge
#

lolololol

warm tendon
#

lol i didn't actually

fluid edge
#

no u need prancercise

#

just have him do spoken word in his jennifer voice

stark saddle
#

!mute @autumn raft you deserve this

coarse hearthBOT
#

:incoming_envelope: :ok_hand: applied mute to @autumn raft until 2021-03-13 00:24 (59 minutes and 59 seconds).

fluid edge
#

lMAO

#

AHAHAHAHA

#

that was perfect

warm tendon
#

😔

woven wagon
#

so no one gone adress me

#

fuck yall

warm tendon
#

?

woven wagon
#

i need a vpn

peak frigate
#

orange sus

woven wagon
#

who here got a vpn i can use

warm tendon
#

you decided to ask here, over google

mild flume
#

No one here. Why are you begging for one?

fluid edge
#

-addresses you-

#

time for dinner :B enjoy the weekend~

woven wagon
#

yea issa ip discord

#

i think i would ask here

warm tendon
#

🤔

#

a what discord

woven wagon
#

python...