#voice-chat-text-0

1 messages · Page 738 of 1

shut goblet
#

u got a place where i could find all of the list of things i could put there?

honest pier
#

@shut goblet they're just linter errors. generally excepting every error is a bad practice, and vscode is just letting you know

#

it's why the code runs, but there are still squiggles

uncut meteor
#

wait, doing just except catches all?

shut goblet
#

hmmm

honest pier
#

yeah

uncut meteor
shut goblet
#

lmao

honest pier
#

!e

try:
  x
except:
  print("lol")
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

lol
uncut meteor
#

i've always thought you had to do except Exception

#

and catch the base obj

honest pier
#

¯_(ツ)_/¯

rugged root
#

I mean you shouldn't do either

honest pier
#

yeah

uncut meteor
#

do all of them

honest pier
#

you want your except to be as specific as possible

#

for example

uncut meteor
#

!e

try:
  x
except:
  try:
    y
  except Exception:
    print("YIKES")
honest pier
#
try:
  t = float(input())
  print(x)
except:
  print("you didn't input a float!")
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

YIKES
honest pier
#

yeah, discord died for me too

uncut meteor
#

F

honest pier
#

so in my example, @shut goblet , i except all errors, which is not good

#

instead, i should only except a ValueError, so i can let other errors through

rugged root
honest pier
#

oh

shut goblet
#

how is that wrong?

#

how didd the input get 3 arguments?

gentle flint
#

input takes one string as argument

#

you are passing three arguments, separated by commas

shut goblet
#

ooo

gentle flint
#

try concatenating your strings with + instead

shut goblet
#

ok

gentle flint
#

or, better yet, using an f-string

#

(disclaimer: I love f-strings)

shut goblet
#

gotchu

dire folio
#
def find_solution(step):
    for num in range(step, 9999999999, step):
        if all(num % n == 0 for n in check_list):
            return num
    return None


check_list = [11, 13, 16, 17, 19]
print(find_solution(2520))
#

why do i need 16 here?

#

project Euler problem 5

honest pier
#

i assume with your supercomputer that takes less than 10 seconds

#

but for us mere mortals, we had to use a prime sieve

dire folio
#

46ms

honest pier
#

oh nvm, i see how it is done, that is extremely clever

rugged root
#

Actually I wonder

gentle flint
#

Preta (Sanskrit: प्रेत, Standard Tibetan: ཡི་དྭགས་ yi dags), also known as hungry ghost, is the Sanskrit name for a type of supernatural being described in Hinduism, Buddhism, Taoism, and Chinese and Vietnamese folk religion as undergoing suffering greater than that of humans, particularly an extreme level of hunger and thirst. They have their o...

rugged root
#

I wonder if @cache would help

honest pier
#

functools.cache?

rugged root
#

Yeah

honest pier
#

what would you cache?

dire folio
#

i tried to just using the primes, but i guess the 4^4 would need to be accounted for

rugged root
#

The previously checked values

#

...

honest pier
#

that wouldn't work because 16 is divisible by 4 but 17 is not

dire folio
#

since I already only have 2^2 in the 2520

rugged root
#

He said not actually thinking

#

Yeah sorry, I derped

dire folio
#

yeah.. and the assignment already said that 1-10 is devisiable by 2520

#

so i just have to step by that amount

honest pier
#

right

#

let me dig out my sol

gentle flint
rugged root
#

Same thing

#

❤️

honest pier
#
from functools import reduce
from math import log
from operator import mul


def sieve(n):
    sieve = [True] * (n // 2)
    for i in range(3, int(n ** 0.5) + 1, 2):
        if sieve[i // 2]:
            sieve[i * i // 2::i] = [False] * ((n - i * i - 1) // (2 * i) + 1)
    return [2] + [2 * i + 1 for i in range(1, n // 2) if sieve[i]]


if __name__ == "__main__":
    n = 20
    primes = sieve(n)
    print(reduce(mul, (p ** int(log(n) / log(p)) for p in primes), 1))

lol, this was so long ago i was using tabs

gentle flint
whole bear
gentle flint
#

stop

cyan quartz
dire folio
honest pier
#

i don't think i'd be able to explain the math

whole bear
honest pier
#

:O

cyan quartz
#
 return [2] + [2 * i + 1 for i in range(1, n // 2) if sieve[i]]``` is the only thing im iffy on
plush willow
#

skribllllllll?

gentle flint
cyan quartz
#

i usually have something like

return [2]+[i for i in range(3, n//2, 2) if sieve[i]``` i think
dire folio
#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

gentle flint
whole bear
#

who is that sexy person

gentle flint
#

me of course

#

can't you see

whole bear
elfin jacinth
#

im surprised you had that so readily available REJ

whole bear
#

what the card?

elfin jacinth
#

ye

whole bear
#

You never know when it can come in handy

elfin jacinth
#

its just a level of preparedness i hadn't expected well done

gentle flint
#

nicely cropped

elfin jacinth
#

just means you didn't clean up the port before closing the program

#

kernel is still listening

shut goblet
#

list = ['hello yo', 'goodbye', 'heyo', 'yo']

i want to know all of the words that contain "yo"

so after the code, output =
hello yo
heyo
yo

restive geyser
marble shadow
#

Can some one chat with me

#

I want to unlock my voice

faint ermine
#

!e ```py
print("yo" in "heyo")

shut goblet
#

for word in list:

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

True
marble shadow
#

?

rugged root
#

I mean you can still hop on VC to listen and talk to us that way

marble shadow
#

I need 48 more messages

whole bear
#

47 now

dire folio
#
for word in words:
    if 'yo' in word:
        print(word)
elfin jacinth
#

@faint ermine netstat doesn't list the port as listening? i'm not familiar with powershell

marble shadow
whole bear
#

46

marble shadow
#

lol

whole bear
#

45

#

nearly there

rugged root
#

We typically watch the chat while we talk in here

marble shadow
#

so let's finish this dirty game

#

..

rugged root
#

Sorry what?

#

REJ please don't spam the count

marble shadow
#

Can I send 47 msgs rapidly to unlock my voice?

restive geyser
#

no, that's spamming

marble shadow
#

and then delete them?

rugged root
#

No

#

First it'd be spam

restive geyser
#

also, hi friends

rugged root
#

And second it needs 50 undeleted messages

marble shadow
rugged root
#

Hey gil

inland idol
#
for word in words:
  for letter in word:
shut goblet
#

list_ = ['hello yo', 'goodbye', 'heyo', 'yo']

marble shadow
#

Okay

shut goblet
#
for word in words:
    if 'yo' in word:
        print(word)
rugged root
#

Just talk to us like any other conversation

whole bear
#

you mean to tell me that my words have been seen by the wise mr hemlock?

marble shadow
rugged root
cyan quartz
#

@honest pier we should play with prime numbers sometime

whole bear
#

🥰 🥰 🥰

honest pier
#

we?

cyan quartz
#

i used to be obsessed with various implementations of sieves and spigots and etc.

inland idol
#

string.split(' ')

dire folio
#

"yo" in "hello yo"

gentle flint
#

I'm very pleased with GIMP rn
managed to edit away the white background in mr hemlock's pfp
to the point of making the glasses transparent

dire folio
#

"hello yo".split()

cyan quartz
# honest pier we?

GWcmeisterPeepoShrug your approach is pretty dfiferent than what ive used in the past in interviews etc.

#

well i mean the approach is basically the same but implementation details

inland idol
#

@honest pier what does [True] mean

honest pier
#

it makes a list with a single element (namely, True)

inland idol
#

oh ok thanks

#

but

#

what does it mean when you multiply a list with a number

honest pier
#

it makes a bunch of references to that element

#

!E

L = [True] * 10
print(L)
wise cargoBOT
#

@honest pier :white_check_mark: Your eval job has completed with return code 0.

[True, True, True, True, True, True, True, True, True, True]
elfin jacinth
#

is this server always this active ? so many channels in use

rugged root
#

We have some slower times, but usually it's pretty active

elfin jacinth
#

so many topics bit of information overload

#

yah for sure

#

so i get that the channels appear to cycle from available -> active -> dormant. people get assigned or hang out in specific ones ?

marble shadow
honest pier
#

not in python

marble shadow
honest pier
#

python

marble shadow
#

you will get this error in python
TypeError: unsupported operand type(s) for /: 'list' and 'int'

honest pier
#

unfortunately, that's not multiplication

marble shadow
#

Ah my bad

gentle flint
honest pier
#

MT

rugged root
#

Delivery run, back later

cyan quartz
#
select
  count(1) filter (where dt = 1) as dt_1_cnt, -- count dt 1
  avg(1) filter (where dt = 2) as dt_2_avg -- average of dt 2
from table```
cyan quartz
#

actually average wont work

#

now that i think about it

marble shadow
#

if it's sql why count(1) and avg(1)?

cyan quartz
#

there was a question on how to cound average values of a column by filtering on another columns datatypes

cyan quartz
marble shadow
#

😀

cyan quartz
#

count works fine but avg wont work at all

marble shadow
#

maybe you are writing the fucntion name wrong

#

are u sure it's avg?

#

😂

cyan quartz
marble shadow
#

ye it's correct I checked it too

cyan quartz
#

was curious if you could do it without a subquery or join but i dont think so

#

count works because you dont actually care about the value

marble shadow
cyan quartz
#

i dont actually know what the data looks like so i tried to psuedo code it but failed

#

😂

cyan quartz
marble shadow
#

then I can answer you and send my 50 messages to unlock my voice

marble shadow
cyan quartz
#

also you have to wait a number of days before you can talk, so i wouldnt worry about trying to meet a message # too quickly

marble shadow
shut goblet
#
def search_task(task_list):
    if task_list == []:
        print("Your task list is empty. Nothing to search!.")
    else:
        search_key = input("what do you want to search for? : ")
        for word in task_list:
            if search_key in word:
                print(word)
            else:
                while True:
                    answer = input(f"nothing matched {search_key}. Enter \"Yes\" if you would like to try again or \"No\" to quit this operation. : ")
                    if answer.lower() == yes:
                        

                    elif answer.lower() == no:
                        break

                    else: 
                        print(f'{answer} is not a valid option. Please try again.')
marble shadow
faint ermine
#

!e ```py
def a():
a()
a()

wise cargoBOT
#

@faint ermine :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 |   File "<string>", line 2, in a
004 |   File "<string>", line 2, in a
005 |   File "<string>", line 2, in a
006 |   [Previous line repeated 996 more times]
007 | RecursionError: maximum recursion depth exceeded
marble shadow
#

wtf guys Why still I can't speak???

#

I sent more thank 50 message

#

and still I'm muted

cyan quartz
#

@shut goblet

def search_task(task_list):
    if not task_list:
        print("Your task list is empty. Nothing to search!")
    else:
        escape_keys = ["quit", "exit"]
        search_key = ""
        while search_key.lower() not in escape_keys:
            search_key = input("Search term: ('quit' or 'exit' to quit): ")
            
            matched_terms = [task for task in task_list if search_key in task]

            if matched_terms:
                print("\nMatched terms:")
                print("\n".join(matched_terms)+"\n") # same as looping and printing individually
                
            else:
                print(f"Nothing matched {search_key}.\n")

task_list = ["sweep", "mop", "laundry", "homework", "yardwork"]

search_task(task_list)```
gentle flint
#

progress is being made

faint ermine
#

!e print(" or ".join(["exit", "quit"]))

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

exit or quit
faint ermine
#

!e ```py
for e in ["", [], None, "a", 0, 5]:
print(str(e)+":", bool(e))

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

001 | : False
002 | []: False
003 | None: False
004 | a: True
005 | 0: False
006 | 5: True
faint ermine
#

!e print(bool(-1))

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

True
shut goblet
#

found a lil problem @cyan quartz

#

what if the escape key is also in the list

#

and the person wants to check that

cyan quartz
#

exit() | quit()

#

<exit>

whole bear
#

@shut goblet them tell him to hit Ctrl-Z 😛

shut goblet
#

lmao

faint ermine
#
AVG(if(idDataType = 11, value, NULL))/COUNT(if(idDataType = 11, value, NULL)) * 0.0036 
shut goblet
#

i fixed the indentation in line 39

#

would that fix the problem we had earlier?

#

@faint ermine

elfin jacinth
#
if answer == "The clock struck midnight"
  Clock = True
  print(answer)
faint ermine
#

!e ```py
def find(query):
found = False
for word in ["hey", "hello"]:
if query in word:
print("found:", word)
found = True
if found:
return
print("nothing found")

find("hey")
find("asdasdasd")

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

001 | found: hey
002 | nothing found
elfin jacinth
#

how did you do that laundmo for it to run it? just the !e ?

faint ermine
#

ye

gentle flint
#

!e print('hi')

wise cargoBOT
#

@gentle flint :white_check_mark: Your eval job has completed with return code 0.

hi
elfin jacinth
#

fancy.. is that a public bot ?

gentle flint
#

it's the server bot

faint ermine
#

not public, but open source

#

!source

wise cargoBOT
gentle flint
#

if you wanna do extensive stuff with it, best head to #bot-commands

faint ermine
#

!source snekbox

wise cargoBOT
#
Bad argument

Unable to convert 'snekbox' to valid command, tag, or Cog.

elfin jacinth
#

interesting thanks will have to take a gander

whole bear
#

Why you don't want to make a website using python?

#

It's fun

faint ermine
whole bear
#

It's great talking

#

alright see u

elfin jacinth
#

im with you laundmo

whole bear
#

😄

#

oh no don't quit

elfin jacinth
#

i've been in this server forever but it was so daunting i rarely spoke. but have been taking the python more seriously lately and working on projects

#

my first message?

whole bear
#

@elfin jacinth great, keep working hard until the dream come true

elfin jacinth
gentle flint
#

he is a priest

#

he writes in fire

elfin jacinth
#

eh no worries

#

discord has its quirks

gentle flint
#

I'm reading of donors and acceptors

#

in the context of silicon atoms

elfin jacinth
#

jealous of py?

whole bear
#

@gentle flint you anEE or what?

gentle flint
#

studying for one

whole bear
#

Yeye

whole bear
elfin jacinth
#

how so?

whole bear
#

So many things you can do with PY that you can't with JS

gentle flint
#

sony cybershot dsc-w810

elfin jacinth
#

thats fair @whole bear funnily enough i've mostly used c# for network things

whole bear
#

Might even switch one of these days

amber raptor
#

?

elfin jacinth
#

but python definitely makes it easier/faster

whole bear
#

Asp?

elfin jacinth
#

i automated router provisioning for my team of ~12 guys

whole bear
#

.net?

#

O

elfin jacinth
#

.net

#

not too bad, they are configurations so usually between 2~4k lines of text

#

it used to be that our guys would take our templates depending on whether its a PE or LER etc

whole bear
#

I mean I've only ever written some Unity 😛

elfin jacinth
#

and they would have to change between 100~400 lines of config and update it based on whats available in our IPAM solution

whole bear
#

O

elfin jacinth
#

that makes it really easy to miss a line or two and completely fuck it up somehow

whole bear
#

Bloated systems oof

cyan quartz
#
select
  max(t.dt_1_cnt) as dt_1_cnt, -- select non null value from groupby
  max(t.dt_2_avg) as dt_2_avg -- select non null value from groupby
from (
  select
    count(1) filter (where dt =1) as dt_1_cnt, -- counts for data type 1
    avg(data) filter (where dt = 2) as dt_2_avg -- average of data type 2
  from
    weather
  group by
    dt
) as t;```
elfin jacinth
#

so now i build that tool and they put in maybe a dozen parameters, it pulls everything else and spits out a config for the router

faint ermine
#
    AVG(if(idDataType = 11, value, NULL))/COUNT(if(idDataType = 11, value, NULL)) * 0.0036 AS R_t
elfin jacinth
#

and they just run application i'm not worried about visual studio on their laptops

#

Yeah System - i had to used a bunch of libraries but it was smooth, i was mostly learning c# at the time and it was straight forward

whole bear
#

O ok

amber raptor
#

you don't need 6GB to run .Net Core apps

#

.Net Core runtime is like 200MB I believe

elfin jacinth
#

yeah its a 2meg application on their desktop(s)

faint ermine
#
def etp(temp, radiation):
    etp = 0.0133 * (((radiation / 6.0) * 0.086) + 50.0) * (temp / (temp + 15.0))
    return etp if etp > 0 else 0
amber raptor
#

Sure for development

#

but meh? Developer machines tend to be beefy

elfin jacinth
#

i've been meaning to go re-do it but eh

#

for the twice a year we alter standards

amber raptor
#

!e ```python
def num(a:int):
return a if a > 0 else 0

print(num(5))
print(num(-1))```

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

001 | 5
002 | 0
amber raptor
#

No? Unless you want to?

#

If you want?

whole bear
#

Idk what I wany

amber raptor
#

if you want to find a job, C# or C++

faint ermine
amber raptor
#

Why would they?

gentle flint
amber raptor
#

JS doesn't have direct C calls and JS being JIT doesn't make it as good for heavy math

#

take that back, JS could do C++/C but it's meh

#

no, I'm talking NodeJS

#

but again, Python is great for stuff that numpy supports

#

JS has uses as well, it's best for web based stuff which is ton of uses

#

WASM isn't 100% there and it's performance gains are not useful in all situations, it's also ton more complex

#

And what?

#

It's still compiled and that makes stuff harder for sure

#

still have to compile thus making it harder then just writing some JS

whole bear
#
result = '\n'.join(''.join(mylist[x:x+90]) for x in range(0, len(mylist), 90))```
#

boys ive typed so many messages , but i just cant use my mic why????

#

what do you use the grid fo

#

for?\

cyan quartz
#

you might have to wait a few days

whole bear
elfin jacinth
#

that looks awesome

whole bear
#

why do you rewrite the lines , cant you just append on the list?

cyan quartz
#
(0, 90)
(90, 180)
(180, 270)
(270, 360)
(360, 450)
(450, 540)
(540, 630)
(630, 720)
(720, 810)
(810, 900)
(900, 990)
(990, 1080)
(1080, 1170)
(1170, 1260)
(1260, 1350)
(1350, 1440)
(1440, 1530)
(1530, 1620)
(1620, 1710)
(1710, 1800)
(1800, 1890)
(1890, 1980)
(1980, 2070)
(2070, 2160)
(2160, 2250)
(2250, 2340)
(2340, 2430)
(2430, 2520)
(2520, 2610)
(2610, 2700)
(2700, 2790)
(2790, 2880)
(2880, 2970)
(2970, 3060)
(3060, 3150)
(3150, 3240)
(3240, 3330)
(3330, 3420)
(3420, 3510)
(3510, 3600)```
#

the output of x:x+90 as a tuple

#

''.join(mylist[x:x+90]) for x in range(0, len(mylist), 90)

#

one line of 90 characters

whole bear
cyan quartz
#
result = '\n'.join(mylist[x:x+90] for x in range(0, len(mylist), 90))```
whole bear
#

verbose oof south africa?

gentle flint
#

Dutch

#

I'm from the Netherlands

whole bear
#

oh

#

ok

#

thought mabe , the accent was kinda similar

#

yes

#

im from south africa and that is basically the base english accent

#

like posh

gentle flint
#

lol

whole bear
#

accent tho xD

gentle flint
#

I'm not so posh

whole bear
#

bruh I can't speak

gentle flint
#

read channel description here

faint ermine
#

(the best kind of clickbait, the type thats true)

gentle flint
whole bear
#

@faint ermine sorry for ping i cant talk but do you know anything about js ? i cant find no one any where that does not even in other discord

#

aaaa dang

gentle flint
#

he's only ever written one program in JS

#

iirc

#

pro rata

#

In an n-type extrinsic semiconductor the foreign atoms introduce almost pro rata additional electrons.

faint ermine
gentle flint
#

The turboencabulator (in later incarnations the retroencabulator or Micro Encabulator) is a fictional machine whose technobabble description is an in-joke among engineers.
The following quote is from the original 1944 Students' Quarterly Journal article by "J. H. Quick".
The original machine had a base plate of prefabulated amulite, surmounted b...

gentle flint
#

Maxima () is a computer algebra system (CAS) based on a 1982 version of Macsyma. It is written in Common Lisp and runs on all POSIX platforms such as macOS, Unix, BSD, and Linux, as well as under Microsoft Windows and Android. It is free software released under the terms of the GNU General Public License (GPL).

whole bear
#

@lyric heart

somber heath
#
Open–closed
Liskov substitution
Interface segregation
Dependency inversion```
#

Drives me a little batty, sometimes.

tidal salmon
#

@whole bear

public void printNum(int n) {
    if (n > 5) {
        System.out.println("Number is greater than five.");
    } else {
        System.out.println("Number is less than or equal to five.");
    }
}
tidal salmon
#
def print_num(n):
    if n > 5:
        print("Number is greater than five.")
    else:
        print("Number is less than or equal to five.")
subtle patrol
#

im so lost rn lmao

#

Output the following figure with asterisks. Do not add spaces after the last character in each line.




Note: Whitespace (blank spaces / blank lines) matters; make sure your whitespace exactly matches the expected output.



#

im doing this for my cse 1010 class

somber heath
#

You might want to backtick that.

#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

subtle patrol
#

im kinda lost lmao

#

Testing whether 8 is displayed.
Your output
Your program produced no output
Expected output




somber heath
#

Discord uses asterisks in its "markdown" formatting. Asterisks are used to do things like make text bold or italicised.

subtle patrol
#

OH I see

#

Sorry Im new to programming

somber heath
#

Surround your text with backticks, ` to stop this from happening. Use three at either end of your text to do multiline markdown cancellation.

#
print('Hello,')
print('world!')```
subtle patrol
#

so I have 3 lines they gave me

#

1 2 3 and on the second one it says ''' Your solution goes here '''

somber heath
#

The backtick is typically located on the same key as tilde, ~

subtle patrol
#

` this one right

somber heath
#

Mhm.

shut goblet
#

how do i quickly turn everything highlited into coments?

#

i use vscode

somber heath
#

In what context?

#

Ah.

shut goblet
#

so i have a block of code

#

i hightlight it

somber heath
#

I don't work with VS Code. 🙂

shut goblet
#

😭

#

what u use?\

somber heath
#

@whole bear o/

#

I'm IDLE scum.

severe pulsar
#

@shut goblet

shut goblet
#

ok thx

subtle patrol
#

so for the code basically get the range

shut goblet
#

it replaces the text with k

#

im on mac

subtle patrol
#

range(5):
for j in range(5):
if i==0 or j==0 or i==4 or j==4 or i==2:
print("*",end="")
else:
print(" ", end="")
print()

severe pulsar
#

oh then command k + c

shut goblet
#

thx ❤️

#

how i un-comment?

somber heath
#

@subtle patrol That's a very complicated approach to a problem with a very simple solution.

#

But I suppose it's instructive....though I would argue there are better ways to instruct on the use of for loops, ifs, elses and so on.

subtle patrol
#

cause we use zybooks

#

for python

#

and we literally jumped from learning how to print to this

somber heath
#

I'll type some code. You can follow along if you like.

subtle patrol
#

ok

somber heath
#
print('''Hello,


world.''')```
#

' being equivalent to " when used paired, just fyi

subtle patrol
#

I see I ran it in the command

#

It's showing Hello world as my output

#

and then the ** as my expected?

somber heath
#
apple = 0
if apple in (4,5,6):
    print('apple is in (4,5,6)')
else:
    print('apple is not in (4,5,6)')```
subtle patrol
#

I got it

somber heath
#
for i in range(10):
    print(i)```
subtle patrol
#

Any tips on continuing python? I am learning through my cse 1010 course

somber heath
#

I often suggest to people that they read through the python documentation on python.org.

#

The more you know about what's in the language, the more ideas you might be able to come up with.

subtle patrol
#

I also had a question kinda when I was doing one of the commands

somber heath
#

The more you think, "Ooh, I know about something in Python that I could use to tackle something like this"

subtle patrol
#

Write the simplest statement that prints the following:
3 2 1 Go!
Note: Whitespace (blank spaces / blank lines) matters; make sure your whitespace exactly matches the expected output. so I did that and I got the problem right

#

print("3 2 1 Go!")

#

So why does the whitespace matter?

#

I got the problem right its just im confused on the whitespace part

somber heath
#

Think about text on a computer not merely as a series of visual elements, but of logical characters. I'll explain.

#

What if we looked at text like this:

#

Hi, there

subtle patrol
#

we will look like nothing

somber heath
#

Where each dot holds its own meaning.

#

Now I'll substitute one character

#

Now another

subtle patrol
#

o i see where ur going with this

somber heath
#

RIght? So computers see what we see as visual data as just points of information

#

Which may or may not be an actual visual character

#

Some of it it formating

#

Some of it has no spatial dimension

subtle patrol
#

I see

#

Alright tyy I am gonna figure some more code out

#

I always like write whatever I get wrong

somber heath
#

Some of it might say, "Hey, this is a newline, go to the next line"

subtle patrol
#

O so then after u would start your code on the next line

somber heath
#

You see text on the next line, but you don't actually see the character, itself

#

But that instruction is a character

subtle patrol
#

so its basically its own thing

#

it basically is like the main character of it all

somber heath
#

So when it's asking you for an exact string, all it's saying is it wants that string and nothing but. Nothing that's different or similar but looks the same....the same.

subtle patrol
#

Ok tyy for the help!

whole bear
#

result = '\n'.join(''.join(mylist[x:x+90]) for x in range(0, len(mylist), 90))

faint ermine
#
def sort_key(element):
    return element["x"], element["y"]

data = sorted(data, key=sort_key)

map_2d = [[]] * data[-1]["y"] # make a list of lists with the length of the larges y

prev_x = -1
for d in data:
    if d["x"] > prev_x:
        map_2d[d["y"] - 1].append(d["gfc"])
        prev_x = d["x"]

print("\n".join(map(str, map_2d)))
#
data = [{'x': 1, 'y': 1, 'gfc': '.'}, {'x': 2, 'y': 1, 'gfc': '.'}, 
#

map_2d[y][x]

#

!e ```py
print(["a"]* 5)

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

['a', 'a', 'a', 'a', 'a']
atomic basin
#

How do I use that bot? :o

faint ermine
#

!help eval

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!*

atomic basin
#

ty

amber raptor
#

!e python i = 0 i += 1 print(i) i += 2 print(i)

wise cargoBOT
#

@amber raptor :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 3
faint ermine
#

!e ```py
class A():
def init(self):
class B(type(self)):
pass
self.b = B

print(A().b.bases)

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

(<class '__main__.A'>,)
faint ermine
#

A().b().b().b().b.__bases__

severe pulsar
#

what does the python bot use for remote code execution?

amber raptor
#

!e ```python
class A:
class B:
def init(self):
self.parent = super().init

def hello(self):
  print(f"Hello {self.parent.name}")

def init(self):
self.name = "Hello Rabbit"

A.B().hello()```

severe pulsar
#

you need to create an object of B i think

faint ermine
wise cargoBOT
#

@amber raptor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 12, in <module>
003 | TypeError: hello() missing 1 required positional argument: 'self'
severe pulsar
faint ermine
#

A.B().hello()

amber raptor
#

!e ```class A:
class B:
def init(self):
self.parent = super().init

def hello(self):
  print(f"Hello {self.parent.name}")

def init(self):
self.name = "Hello Rabbit"

A().B().hello()```

wise cargoBOT
#

@amber raptor :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 12, in <module>
003 |   File "<string>", line 7, in hello
004 | AttributeError: 'method-wrapper' object has no attribute 'name'
faint ermine
#

!e ```py
class A:
class B():
def init(self):
self.parent = super().init()

def hello(self):
  print(f"Hello {self.parent.name}")

def init(self):
self.name = "Hello Rabbit"

A().B().hello()

severe pulsar
#
# create a Color class 
class Color: 
    
  # constructor method 
  def __init__(self): 
    # object attributes 
    self.name = 'Green'
    self.lg = self.Lightgreen() 
    
  def show(self): 
    print("Name:", self.name) 
    
  # create Lightgreen class 
  class Lightgreen: 
     def __init__(self): 
        self.name = 'Light Green'
        self.code = '024avc'
    
     def display(self): 
        print("Name:", self.name) 
        print("Code:", self.code) 
  
# create Color class object 
outer = Color() 
  
# method calling 
outer.show() 
  
# create a Lightgreen  
# inner class object 
g = outer.lg 
  
# inner class method calling 
g.display() 
#

is this something akin to what you're looking for

amber raptor
#
class A:
  pass

class B(A):
  pass```
severe pulsar
#

whats so bad about having the subclass dangling out

#

NO STOP

#

HADEEZ DONT DO THIS TO ME

faint ermine
#

the second i leave stelercus comes back

severe pulsar
#

yup!

#

:)

faint ermine
#

stelercus y u h8 me?

severe pulsar
#

yeah stelercus

amber raptor
#
class A:

    def __init__(self):
        self.name = "Rabbit"

    def hello(self):
        print(f"Hello {self.name}")

    def set_name(self, name:str):
        self.name = name

    class B:
        def __init__(self):
            self.parent = super().__init__

        def goodbye(self):
            print(f"Goodbye {self.parent.__name__}")

print("Hello")
greeting = A()
greeting.hello()
greeting.B.goodbye()
greeting.set_name("Laundmo")
greeting.hello()
greeting.B.goodbye()```
tidal salmon
#

!e

class A:

    def __init__(self):
        self.name = "Rabbit"

    def hello(self):
        print(f"Hello {self.name}")

    def set_name(self, name:str):
        self.name = name

    class B:
        def __init__(self):
            self.parent = super()

        def goodbye(self):
            print(f"Goodbye {self.parent.__name__}")

b = B().goodbye()
wise cargoBOT
#

@tidal salmon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 19, in <module>
003 | NameError: name 'B' is not defined
glass kettle
tidal salmon
#

!e

class A:

    def __init__(self):
        self.name = "Rabbit"

    def hello(self):
        print(f"Hello {self.name}")

    def set_name(self, name:str):
        self.name = name

    class B:
        def __init__(self):
            self.parent = super()

        def goodbye(self):
            print(f"Goodbye {self.parent.__name__}")

b = A.B().goodbye()
wise cargoBOT
#

@tidal salmon :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 19, in <module>
003 |   File "<string>", line 17, in goodbye
004 | AttributeError: 'super' object has no attribute '__name__'
tidal salmon
#

!e

class A:

    def __init__(self):
        self.name = "Rabbit"

    def hello(self):
        print(f"Hello {self.name}")

    def set_name(self, name:str):
        self.name = name

    class B:
        def __init__(self):
            self.parent = self.__class__.__mro__
            print(self.parent)

        def goodbye(self):
            print(f"Goodbye {self.parent.__name__}")

b = A.B().goodbye()
wise cargoBOT
#

@tidal salmon :x: Your eval job has completed with return code 1.

001 | (<class '__main__.A.B'>, <class 'object'>)
002 | Traceback (most recent call last):
003 |   File "<string>", line 20, in <module>
004 |   File "<string>", line 18, in goodbye
005 | AttributeError: 'tuple' object has no attribute '__name__'
tidal salmon
#

!e

class A:

    def __init__(self):
        self.name = "Rabbit"

    def hello(self):
        print(f"Hello {self.name}")

    def set_name(self, name:str):
        self.name = name

    class B:
        def __init__(self):
            self.parent = A
            print(self.parent)

        def goodbye(self):
            print(f"Goodbye {self.parent.__name__}")

b = A.B().goodbye()
wise cargoBOT
#

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

001 | <class '__main__.A'>
002 | Goodbye A
glass kettle
#

yep

tidal salmon
severe pulsar
#

yeah this is a cool solution

severe pulsar
swift breach
#

Hello everyone

whole bear
#

hi

somber heath
#

Worley

whole bear
#

oh

severe pulsar
#

hadeez teach me angular please

past elk
somber heath
#

@past elk Oh yes.

severe pulsar
#

what was it lol

past elk
#

memory leak

#

that was a while ago tho

severe pulsar
#

aah ok

somber heath
whole bear
plush willow
whole bear
plush willow
#

join a vc

digital jackal
#

im in code help 0

plush willow
digital jackal
#

okay @plush willow ty

cursive holly
#

damm i forgot to do an entire five hour project for my class finished in a hour somehow i feel dead inside

plush willow
digital jackal
plush willow
twin iron
#

hey guys '

#

i'm new here and i need python courses

#

where can i get them??

#

and what do yo recommend?

#

you***

#

i'll start with python

#

then will continue the rest

#

And I prefer the courses on the books

#

is it necessary to read books @versed island

#

??

#

@versed island thx ❤️

#

when?

#

oh

#

thanks broo ❤️

digital jackal
plush willow
# digital jackal please
num = 407

# To take input from the user
#num = int(input("Enter a number: "))

# prime numbers are greater than 1
if num > 1:
   # check for factors
   for i in range(2,num):
       if (num % i) == 0:
           print(num,"is not a prime number")
           print(i,"times",num//i,"is",num)
           break
   else:
       print(num,"is a prime number")
       
# if input number is less than
# or equal to 1, it is not prime
else:
   print(num,"is not a prime number")
digital jackal
#

ty

plush willow
dense notch
#

hi

#

we shouldnt close the file if used while loop ryt?

#

i had a doudt

radiant igloo
#

Hi guys, Does anyone know whether django rest_framework and rest_framework.authtoken can be used to create a password reset for custom users?

somber heath
#

@whole bear Your mic looks stuck open and we can't hear you.

rugged root
#

I'll be there soonish. Already had to do a delivery run and I'm still not fully at my desk just yet

whole bear
#

Just want to spread awareness. Dolphins are suffering from fresh water skin disease. Salinity in the ocean water is decreasing which is causing this. 70% of their skin is covered in abrasions and some even die. Please do a simple google search to see for yourself.

rugged root
#

And we're supposed to specifically do....

#

What?

#

A call to action requires an action

#

It's informative, yes

whole bear
#

I cannot be precise as I am not a scientist reasearcher however I do know that awareness contributes to reaching a solution.

faint ermine
#

clearly we need to dump a salt lake into the ocean?

#

(im kidding, i know its a global warming issue)

somber heath
#

I find that, outside the management of invasive species, the less people are involved in a given environment, the better the environment becomes for the species that live there.

plush willow
rugged root
#

Especially in a programming server

faint ermine
somber heath
rugged root
#

@faint ermine That's my setup

whole bear
#

🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬 🐬

rugged root
faint ermine
#

i mean i looked it up, its a genuine issue, but yea thats kinda wierd

#

also, doesnt the bot have a emoji limit?

gentle flint
rugged root
fierce summit
#

Acer Predator Helios 300

gentle flint
#

sned = smoke nugs every day

stray niche
gentle flint
#

of course

whole bear
#

@gentle flint so someone had a problem installing something so i did this to help

gentle flint
#

circles and arrows

#

kudos to you

whole bear
#

we made a vid as well

#

i will dm it to you

swift valley
#

G'evening

whole bear
#

idk i joined half way

swift valley
#

Mic audio on Discord for my laptop is broken

fierce summit
swift valley
#

PulseAudio thing I think, but if it wasn't broken I'd be speaking a lot more lemon_eyes

gentle flint
#

if it's pulseaudio it should be fixable

#

do you see the input in Pulseaudio Volume Control?

#

(assuming you have that installed)

fierce summit
swift valley
gentle flint
#

does it show the input under the Input Devices tab?

whole bear
#

it could be a broken cable?

rugged root
#

Doubtful, but possible...

whole bear
#

ahve you had a look in device manager when it is pluged in

#

"Eszközkezelő"

swift valley
whole bear
#

can you see both of the devices

gentle flint
#

ohhh

swift valley
#

Although recording through Audacity works fine

gentle flint
#

does the audio break up or something like that

#

Hey Nix

swift valley
#

Just static

#

and yeah, it does sound like garbage in some apps

gentle flint
#

does it only work properly in audacity?

#

or does it work properly in most apps?

amber raptor
#

Why splitter?

swift valley
#

Audacity works w/o distortions as well as on the browser

gentle flint
#

very strange

amber raptor
#

What does that USB do?

severe pulsar
#

damn i was lucky to get into the vc lol

jovial tendon
#

did you check audio devices carefully?

orchid bolt
#

can some help me with python

slim nacelle
#

hi

stray niche
#

yes

#

we can hear

#

u

faint ermine
#

we can hear you

stray niche
#

okay

gentle flint
#

that makes more sense

#

but then it still works I'm assuming

whole bear
gentle flint
#

btw
it should conduct better with rising temp
not worse

#

at least that's what I learned today

#

not sure

#

apparently the electron and hole populations are heavily dependent on temperature

whole bear
#

@somber heath can you link it for me i can not find the live link

stray niche
#

can you hear us

jovial tendon
#

@fierce summit can you hear us

gentle flint
#

yes

whole bear
#

the joy

jovial tendon
#

👏

whole bear
#

🎊 🎊 🎊 🎊 🎊

somber heath
# whole bear <@!317279909112446976> can you link it for me i can not find the live link

Watch live coverage as President-elect Joe Biden and Vice President-elect Kamala Harris are sworn into office on Wednesday, January 20 at the U.S. Capitol.
» Subscribe to NBC News: http://nbcnews.to/SubscribeToNBC
» Watch more NBC video: http://bit.ly/MoreNBCNews

NBC News is a leading source of global news and information. Here you will find cl...

▶ Play video
whole bear
#

thank you opal

gentle flint
#

Lady Gaga's skirt looks like a lampshade

somber heath
#

@gentle flint I'm really digging Michelle Obama's suit thing. The colour and fabric is gorgeous.

honest pier
hallow warren
#

I am?

gentle flint
#

you were when I said it

#

lol

#

now you aren't

#

you're 3 days late

hallow warren
#

That's odd because I haven't been on in a week

gentle flint
#

well, you were in the VC when I said it
or I couldn't possibly have seen it

stuck furnace
#

Don't you need twice the maximum frequency to recover the original signal?

gentle flint
#

yes

honest pier
#

something like that

whole bear
#

yea

gentle flint
#

that's Shannon's theorem

whole bear
#

It's called the Nyquist rate

#

20hz to 20khz

#

yea

warped saffron
#

Yais

whole bear
#

ngl I can hear 7hz

#

but I have to turn it up soo much my ears hurt

honest pier
#
Text("Min temperature celsius \(day.mintemp_c, specifier: "0.1f")")
honest pier
#

i love how there has to be a specifier argument, instead of just being in the string

rugged root
#

Huh

#

@whole bear That's wild

stuck furnace
#

Yeah, the worst thing is being made to do a job badly 😄

rugged root
#

Although it makes me wonder if it's more that you're feeling the parts of your head moving

whole bear
#

or I'm a superhuman

stuck furnace
#

That's meta:

#

"It makes sense that it doesn't make sense" 😄

#

brb

warped saffron
#

birb

stuck furnace
#

blue cheese

faint ermine
#

gorgonzola

stuck furnace
#

At a fancy Italian restaurant maybe

#

Sounds like too much work 😄

#

I want my pizza now

#

"terroir"

#

or something

warped saffron
#

Could you eat extremophiles?

river stratus
#

I need to send 50 message or the server will kill me

faint ermine
#

it wont tho?

warped saffron
#

#spam

sterile raft
#

what religion?

river stratus
#

i need 50 message

#

help

#

help

honest pier
#

hm

stuck furnace
#

Yeah don't 😄

river stratus
#

ok

warped saffron
#

Sarcasm

stuck furnace
#

Just chat here for now

river stratus
#

ok

#

hello

warped saffron
#

Hello @river stratus

river stratus
#

chat with me

warped saffron
#

Ok

river stratus
#

I'm good

warped saffron
#

walk with me

river stratus
warped saffron
#

How's your day been?

sterile raft
#

idk

river stratus
#

because I run

sterile raft
#

just been learning

warped saffron
#

Same

honest pier
#

whatcha been learning

warped saffron
#

Biology

sterile raft
#

school

warped saffron
#

Math

honest pier
#

bio 👎

warped saffron
#

You have been learning school

sterile raft
#

MATHS

#

SS

warped saffron
#

Math(s).exe

sterile raft
#

lol

river stratus
warped saffron
#

Ignore study, adopt monkey

river stratus
#

but i came here

#

because i don't want to

river stratus
warped saffron
#

How are you now?

stuck furnace
#

We're pros at bikeshedding

warped saffron
#

Bikeshedding?

honest pier
stuck furnace
river stratus
#

you lied to me

warped saffron
#

I can do both

#

I am...inevitable

stuck furnace
#

With the example being that you spend the whole meeting talking about what colour to paint the bike shed.

river stratus
warped saffron
#

What colour is your shed?

honest pier
warped saffron
amber raptor
stuck furnace
#

It's cursed

warped saffron
#

yais

jovial tendon
amber raptor
river stratus
warped saffron
#

It's beautiful

#

georgeous

#

astronomical

#

BREATHTAKING

stuck furnace
#

I'm trying to understand the anatomy...

stuck furnace
#

Is it a bike with a papier mache duck on top.

#

Or an actual duck with wheels.

warped saffron
#

keep talking M

#

Why are you?

#

Why am I?

#

Why is he/she?

stuck furnace
#

Same Hemlock tbh

river stratus
#

finally

#

i can talk

amber raptor
river stratus
amber raptor
river stratus
stuck furnace
river stratus
#

now i don't want to talk

fluid hornet
river stratus
honest pier
#

lemon_hyperpleasedlemon_sentimentalducky_lemonlemon_fingerguns_shadeshyperlemonlemon_exploding_headlemon_pinglemon_enragedlemon_smuglemon_happylemon_happylemon_grumpylemon_grimacelemon_glasslemon_glasslemon_fingergunslemon_eyeslemon_cyclopslemon_blushlemon_blushlemon_blush🍋🍋lemon_hearteyeslemon_hearteyeslemon_hearteyeslemon_infantlemon_pikalemon_pleasedlemon_pleasedlemon_raised_eyebrowlemon_s_autumnlemon_s_winterlemon_s_winterlemon_scaredlemon_scaredlemon_scaredlemon_scaredlemonpeeklemonpeeklemonpeeklemon_zippedlemon_zippedlemon_warpaintlemon_warpaintlemon_unamusedlemon_tonguelemon_thinkinglemon_thinkinglemon_sweatlemon_swaglemon_swaglemon_surprisedlemonsauruslemonsauruslemonsauruslemonsauruslemonsauruslemonsaurus

river stratus
#

i just wanted to have the access

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @warped saffron until 2021-01-20 17:33 (9 minutes and 59 seconds) (reason: discord_emojis rule: sent 21 emojis in 10s).

honest pier
#

oops

tidal salmon
#

!unmute 724298063514173481

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @warped saffron.

warped saffron
#

Danke Schon

honest pier
#

!source discord_emoji

wise cargoBOT
#
Bad argument

Unable to convert 'discord_emoji' to valid command, tag, or Cog.

#
Command Help

!source [source_item]
Can also use: src

Display information and a GitHub link to the source code of a command, tag, or cog.

jovial tendon
#

Any pc wallpaper suggestions?

amber raptor
#

Stel hoping in like last minute President with pardons

stuck furnace
#

Like 'thanks' and 'thank you'?

river stratus
#

i'm learning german with duolingo

honest pier
#
        discord_emojis:
            interval: 10
            max: 20
warped saffron
#

You haven't truly learned with Duolingo until the Duo bird threatens your life when you miss lesson

warped saffron
#

yes

amber raptor
#

After doing kubes training, I’m not a fan of YAML. It’s like someone look at JSON and said you know what will make this better, Python syntax

warped saffron
#

Tasche = bag

honest pier
#

wasn't yaml before json?

amber raptor
#

They were wrong IMO

honest pier
#

yaml is much more readable though

amber raptor
#

Sure, if you don’t JSON capable editor

rugged root
#

So you prefer JSON specifically?

#

Or is there another you like more

honest pier
#

yamson

#

jsoml

amber raptor
#

JSON seems more usable despite being more {} and ,

faint ermine
#

Tüte

honest pier
#

zuck

rugged root
#

That's fair

faint ermine
#

sack

rugged root
#

I need to look at TOML again

honest pier
#

toml is nice

#

cargo uses it

rugged root
#

Isn't that specifically Rust though/

#

Oh derp

amber raptor
#

DERP

warped saffron
#

Listen to english media

rugged root
#

Derprication

amber raptor
#

But my opinion is also wrong since there are days I miss {}

rugged root
#

I do as well

warped saffron
#

#cryforcode

rugged root
#

There's something nice about the absolute nature of them

wise glade
#

hey gyus, does git prevent overriding files when there are uncommited changes?
I'm trying to copy the exact files but their older version in the current git repo state.
Don't ask why I'm copying files instead of reverting changes

amber raptor
#

However, I’m so glad Powershell has explicit line continuation character

rugged root
#

Which?

amber raptor
#

Backtick

honest pier
warped saffron
#

Zu sprechen Deutsche, musst du deutsche Media horen. 👍

amber raptor
#

Don’t worry, you won’t need it once I teach you splatting

rugged root
#

Well now you have my attention.

warped saffron
#

Hey Hem, how's your life been?

rugged root
#

Eh, been doin' good

tiny socket
rugged root
#

Nothing really big or exciting

warped saffron
#

neither for me

honest pier
#

oh

wise glade
#

I mean, i have a repo called folder 1, I made a copy-paste version of this folder1 somewhere else,
then I made some changes in code files of folder 1 (but didn't create new files), now there are uncommited changes.
now I am trying to revert the changes to original by not git revert (thing), but copying the other copy of folder 1 over the original uncommited folder 1, but it says permission denied (also shows me a git checksum in the end with this message)

#

also if someone want to explain this to me via talking to me, I can un-deafen myself

#

mom's sleeping in other room, and I lost my earphones somewhere in this house

warped saffron
#

Use paragraphs please

#

next time

wise glade
#

me?

warped saffron
#

yes

#

and everyone eles

#

else

wise glade
#

what's a paragraph? collection of words and sentenses

warped saffron
#

Mental pain

#

yes

#

but

#

split them into chunks

#

instead of one large paragraph

stuck furnace
#

I think that reference is before our time... 😄

warped saffron
#

or chunk

stuck furnace
#

I don't think anyone here knows who Shatner is

rugged root
#

I mean I try to do that, but I do often have follow up thoughts that mess me up

wise glade
warped saffron
#

yes

severe pulsar
#

hey

wise glade
#

read a book or something

severe pulsar
#

reading code is awesome though

wise glade
#

but also, anything done for too long, not good for brain and health
mixing things up is also good

warped saffron
#

tag = day
nacht = night
abend = afternoon
Morgen = morning

wise glade
#

found the earphones

#

ok, here's a question

warped saffron
wise glade
#

what do I do, if shutil.copytree() gives me permission errors?

stuck furnace
#

brb

wise glade
#

i tried making a batch file of the script, and then running the batch file in admin cmd

#

but still permission errors

warped saffron
#

Word of today = Crunch

wise glade
#

yeah, for me that day is gonna end in 40 minutes

warped saffron
#

noice

severe pulsar
#

ayy rabbit is back...?

warped saffron
#

Make sure you get enough sleep tho

wise glade
#

@rugged root @somber heath @amber raptor @severe pulsar @faint ermine any help on this if possible, please #voice-chat-text-0 message

severe pulsar
#

LETS GO I GOT PINGED NEXT TO RABBIT

#

and hemlock

#

and opal

stuck furnace
#

@wise glade it might be best to open a help channel with this

severe pulsar
#

that means i might be viewed in a similar light

#

BOIS LETS GO

craggy zephyr
wise glade
#

today I'm coding with complete dark lights out in my room
not getting tired, but missing keys on keyboard

severe pulsar
wise glade
#

is it a good thing, complete dark in room to code?

warped saffron
#

"Music make you lose control"

craggy zephyr
severe pulsar
#

DOUBLE PING

wise glade
#

yeah, you showed a pic of your room

severe pulsar
#

HOW CAN YOU DO

wise glade
#

yeah, laundmo showed his dark room once

craggy zephyr
severe pulsar
#

cool

stuck furnace
#

Actually, let's not go down this route...

severe pulsar
#

WAIT THATS A HELPER

#

shoot

stuck furnace
#

That's a war that no one wins 😄

severe pulsar
#

gotta show respect

#

my bad

wise glade
#

I use it to cheat in exams, telegram

stuck furnace
severe pulsar
#

🙏

warped saffron
#

Ok see ya

wise glade
severe pulsar
#

lol

#

but i respect the python helpers

#

(except laundmo) 😃

craggy zephyr
stuck furnace
#

Wow, controversial 😄

#

I respect laundmo's hair

severe pulsar
#

i respect laundmo's enthusiasm in esoteric python

amber raptor
#

I would have voted no but I’m rabbit. I also deliberately don’t get a vote.

severe pulsar
#

yeah there's a reason for that...
im JOKING PLEASE

wise glade
#

i don't know why Opal's not a helper?
but then I think, maybe he just doesn't wanna do this

#

u use pyperclip for clipboard, right?

rugged root
#

That's the one that Automate the Boring Stuff mentions

#

I'm not sure if there's another one or if that one is still maintained

#

Yeah seems to be

#

Oh huh, made by Al himself

stuck furnace
#

I played pokemon blue 😄

wise glade
stuck furnace
#

Erm, what lemon_grimace

wise glade
#

pyperclip

stuck furnace
#

brb

wise glade
#

ok, bye people, tomorrow's my off day, so I'm going to sleep 8 hours at least tonight

#

congrats on the new president, btw

rugged root
#

Should I just rename it voice-chat-0?

rugged root
#

Just to make it easier to say?

#

Sorry, afk

#

Just had the thought

willow light
#

nah, go for broke. we need more consonants. lots of x's and z's. </sarcasm>

somber heath
severe pulsar
#

yeah i like voice-chat-0 better as well

willow light
#

wait, if we're doing voice-chat-0 and voice-chat-1, shouldn't we use python and make it voice-chat-False and voice-chat-True?

severe pulsar
#

we're using list indexing ;)

#

and in python it always starts from 0

willow light
#

but in python,
!e

assert False == 0, "nope"
severe pulsar
#

does 0 resolve to false in python

#

lol

#

aah ok, thanks

rugged root
#

!e print(0 == False)

wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

True
tiny socket
willow light
#

Opal, you don't do the classic quick turn to cause your hair to whip across someone's face trick?

stuck furnace
#

I literally have no idea what Opal looks like 😄

#

I picture a generic Australian man

severe pulsar
#

lol, didnt he used to have a picture of himself as his pfp

#

or was that someone else

somber heath
#

Top hat. Yes.

severe pulsar
#

YES

#

ok then i know how opal looks

somber heath
#

In a "M'lady" kind of pose.

severe pulsar
#

yeah

#

tipping the hat

#

coolz

#

i remember those days

#

shift + esc is so useful in discord

stuck furnace
#

Cya laundmo

severe pulsar
#

it marks every channel in a server as read

#

bye laundmo

stuck furnace
#

Similar situation @vivid gull

willow light
#

Wow, that's so useful. I didn't know about that!

BRB, shift+esc on several dozen servers

stuck furnace
#

London?

#

I say move out sooner rather than later

young tundra
#

Sorry did you say hanging from a bridge?

stuck furnace
#

Erm, the Irish sea?

willow light
#

Rolo, don't feel bad, the only date I've had in the past year was the two of us meeting up at the local taco truck and chatting from inside our cars in order to maintain social distancing.

#

This is not a good time for dating, unfortunately.

Although I bet there will be a lot of romance novels about the "distant admiration" trope because of this.

vivid gull
#

god, don't get me started

tiny socket
vivid gull
#

my ex uses artifical distance as a way to prevent her from having to cope with her issues with coping with being emotionally vulnerable

willow light
#

there's.....a lot to unpack there

vivid gull
#

I know for a fact she's doing the same thing to this other poor bastard she cheated on (with me...)

#

It's your standard anxios/avoidant trap relationship

willow light
#

Stories like that make me glad to be single.

vivid gull
#

*anxious

#

yeah

#

I should have taken note of the red flag when she refused to hold my hand in public, or mention to her friends that we were dating