#voice-chat-text-0

1 messages · Page 1044 of 1

hardy belfry
teal flower
#

What is it for mar

#

Mars

somber heath
#

!e py try: ""[0] except IndexError: print("Hello!")

wise cargoBOT
#

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

Hello!
frozen owl
#

was jojo here today

hardy belfry
#

aList = []

for num in range(2,10001) :
aList.append(num)

for multiNum in range(2,101) :
for aNum in range(2,10001) :
if aNum in aList :
if aNum % multiNum == 0 and aNum > 100 :
aList.remove(aNum)

print(aList)

frozen owl
#

like hailjojo(na) did he go on to the voice chat today?

somber heath
#

!d set

wise cargoBOT
#
set

class set([iterable])``````py

class frozenset([iterable])```
Return a new set or frozenset object whose elements are taken from *iterable*. The elements of a set must be [hashable](https://docs.python.org/3/glossary.html#term-hashable). To represent sets of sets, the inner sets must be [`frozenset`](https://docs.python.org/3/library/stdtypes.html#frozenset "frozenset") objects. If *iterable* is not specified, a new empty set is returned.

Sets can be created by several means:

• Use a comma-separated list of elements within braces: `{'jack', 'sjoerd'}`

• Use a set comprehension: `{c for c in 'abracadabra' if c not in 'abc'}`

• Use the type constructor: `set()`, `set('foobar')`, `set(['a', 'b', 'foo'])`...
fiery bone
#

why I'm getting this error

somber heath
#

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

frozen owl
#

easter egg python

#

import this

somber heath
#

"There should be one, and preferably only one, obvious way to do it."

frozen owl
somber heath
#
import antigravity```
dapper peak
#

hi guys

frozen owl
#

hey

dapper peak
#

i will try

rugged root
#

I'm back, what'd I miss

frozen owl
rugged root
#

I just started my day

frozen owl
#

oh

rugged root
#

It's 08:10 here

frozen owl
#

slightly sad since jojo isn't here

#

i need to talk to him lol

dapper peak
#

@rugged root we are importing antigravity

teal flower
#

In put gravity

rugged root
#

!e

from __future__ import braces
wise cargoBOT
#

@rugged root :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 | SyntaxError: not a chance
dapper peak
#

guys how can i connect 2 languages with each other

#

like if someone build something in go and i build something in python

rugged root
round cedar
#

i am doing the cs50x course by harvard. is it good>

#

they seem to be going deep in some of the parts of computer fundamental

sage bramble
#

i am new

round cedar
#

its give u a general idea of what u might get interested in i guess

#

also

#

is this gonna be of any use?

#

Mr. hemlock

rugged root
#

Not sure

round cedar
#

hmm i will search it up to see if i can find out anything

rugged root
round cedar
#

oh ok i will ask there

#

also another question. i thought even tho Advanced Math isn't of any use most of the time in coding but i heard that there is some situations that will differentiate between great programmer and a good programmer just by math

fickle crater
#

<@&267630620367257601> how to have two buttons in a form in html*?

round cedar
#

it's kind of a habbit now to put ";" on lines after coding in java for long time

rugged root
#

Same

daring orbit
#

Hi everyone

rugged root
#

How've you been?

round cedar
#

doesn't 3 days seem awfully long for voice verify :v

eager fulcrum
#

Hello
I m new here

round cedar
#

hi

rugged root
#

It's with good reason. We had what I call hit and run trolls, who would join the server, join voice chat, scream, and then leave. It used to happen like... 5 or 6 times a day.

round cedar
#

breh people actually have time for that? damn

rugged root
#

It's happened I think twice since we've had this system in place, and that's been for a year and half or so

fickle crater
#

``py<a href="{{url_for('templates', filename='login.html')}}">Alreaady have an account? </a>

rugged root
#

So it seems extreme, but it's been super helpful

round cedar
#

oh i c

#

hmm ye it is

#

also how do u compile c code in vs code

round cedar
#

oh ok. idk but week 1 of cs50 tell me to use visual studio code

#

for c

#

then i try compiling using bash but it doesn't work

#

just says command not found

#

i am missing the compiler i think

#

yep

#

ok

rugged root
round cedar
#

oh ok

#

i do already have visual studio xd

#

ye i got both

rugged root
#

Actually you can use the same installer you used for VS

#

Same program

rugged root
#

You'd just have to go to the Available tab and snag the build tools there

fickle crater
#

Mr hemlock scan you answer my question

#

``py<a href="{{url_for('templates', filename='login.html')}}">Alreaady have an account? </a>

#

If it is possible

#

Yeah I have been suffering because of this

rugged root
frozen owl
#

dapps

#

decentralised apps?

#

blockchain app with rust?

rugged root
terse needle
sweet lodge
rugged root
#

More or less

sweet lodge
#

I want to try a new language in production, but.... which one ⁉️

#

I swear languages pop up more often than JS frameworks

rugged root
#

Stick with the basics

sweet lodge
#

But... the whole point is I want to try something new and fancy

rugged root
#

Java, C#, JavaScript

#

Fair

#

Could do Rust

sweet lodge
#

I'm already using Rust in production

rugged root
#

No idea then

sweet lodge
#

dotnet looks nice

#

But it's not exactly new and shiny

grim fable
#

What idea for this project

#

What Kj doing

amber raptor
sweet lodge
#

I have seen a few of the NDC talks lately on what's new in C#, and it does look interesting
I'm still hating on the "projects" but I'm starting to get my head around them

round cedar
#

ye u choke on water if u try to drink any

#

and the muscles spasm near ur mouth creating foam for rabies

sweet lodge
#

I actually have a C# thing to work on
Every year for ARRL's Field Day I take the dog to meet all the people and the cool technology, and this year I ended up forking a C# report generator that some guy made that one of the people was learning C# to get updated.
I went to learn about their toys, ended up teaching them about mine

dapper peak
#

good nigh guys have a good one

faint ermine
somber heath
#

I like that blue.

#

Very TARDIS.

round cedar
#

bro wot kinda windows are those

#

looks like skin cover of eyes

somber heath
#

Eyelids?

round cedar
#

ye i forgot the word

#

:c

#

eye shutters?

#

:v

faint ermine
sweet lodge
#

Hi guys
I can hear now
Apparently Android doesn't tell you in the interface when you're deafened
You have to check inside of the persistent notification

#

Only when I pull down to see the notifcation

#

I had no idea I was deafened

rugged root
#

!user

wise cargoBOT
#
Mr. Hemlock#2740

hypesquad_balance early_supporter

User information

Created: <t:1443481946:R>
Profile: @rugged root
ID: 98195144192331776

Member information

Joined: <t:1525291749:R>
Roles: <@&267628507062992896>, <@&807415650778742785>, <@&267629731250176001>, <@&831776746206265384>, <@&587606783669829632>, <@&797891034906099752>, <@&267630620367257601>, <@&295488872404484098>, <@&764245844798079016>, <@&764802720779337729>, <@&463658397560995840>, <@&542431903886606399>

Activity

Messages: 63,838
Activity blocks: 13,314

Infractions

Total: 30
Active: 0

faint ermine
#

!e ```py
import re

pattern = re.compile(r"(\w+) .? (.) ")
serviceline = "main_postgres_1 docker-entrypoint.sh postgres Up 0.0.0.0:5432->5432/tcp,:::5432->5432/tcp"
match = pattern.search(serviceline)
print(match.groups())

wise cargoBOT
#

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

('main_postgres_1', 'Up          ')
rugged root
sweet lodge
ebon sandal
somber heath
#

Wurrd!

frozen owl
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

tidal shard
#

This visualization shows monthly global temperature anomalies (changes from an average) between the years 1880 and 2021. Whites and blues indicate cooler temperatures, while oranges and reds show warmer temperatures. As you can see, global temperatures have warmed from mainly human activities as time has progressed.

These temperatures are based...

▶ Play video
amber raptor
#

RIP us.

terse needle
#

we're all fucked

rugged root
#

Usually

#

Plants also need oxygen

#

For the same reason we do

sage bramble
#

its like...... a single bug in a complex code can bring down the whole application
excess CO2 is that single bug in the nature's app.

honest pier
terse needle
#

I think ultimately climate change is a natural change (after all we are "natural"), the world never remains constant and life will always find a way

rugged root
autumn forge
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

faint ermine
honest pier
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

autumn forge
#

i have problem when start my docker. could everyone help me? 😄

#

let me share my screen 😄

#

OMG. i dont have permision for sharing 😄

rugged root
#

@autumn forge Can you move closer to your mic?

#

It's very difficult to hear you

#

You also have a looooooot of static

faint ermine
#

Theres a lot of noise and you're very quiet. @autumn forge

rugged root
#

@autumn forge I need you to check your mic settings in Discord.

#

You have a lot of background noise, and it's incredibly hard to hear you because you sound very far away from your mic

#

I muted your temporarily until you tell me it's fixed

autumn forge
#

I just turn on noise filter:D

faint ermine
#

you might want to check whether discord has selected the wrong microphone

sage bramble
#

I think he needs to adjust mic sensitivity

faint ermine
#

Are you hearing us? can you understand us?

sage bramble
#

or push to talk

autumn forge
#

sorry about that, fuxxk my mic 😄 i will record the video for preproduce my error 😄

faint ermine
#

@autumn forge did you hear what we were saying? you have not really responded to what we said in voicechat or what i recommended over voice

autumn forge
#

sr. because i can hear clearly 😄

forest zodiac
#

so this bitcoin and crypto hype is not worth it?

#

@rugged root

rugged root
#

In my eyes, it won't become a currency

#

Certainly not in it's current popular forms

#

There are reasons for centralized money management

faint ermine
#

p2p consensus blockchain is a interesting concept for a few very specific fields but currency is not one of them imo

honest pier
#

imo it's a field looking for a problem to solve

rugged root
#

Q'doba

willow light
#

taco time? taco time!

sage bramble
#

if we were able to magically produce enough non carbon energy... then thoughts on bitcoin ?

#

i mean, like..... not magically literally.... but if we are able to have technological advancement to meet energy demands with solar and stuff..... ( there would still be cost of energy, just no carbon footprint )

amber raptor
sage bramble
#

even if there is unlimited energy, there will still be greedy people who would want to have more than others

#

or just have new govt laws..... and police makes sure that money is paid back ? ?

#

I think consumer protection is more about Trust.

honest pier
#

if you have unlimited energy, then bitcoin is worthless. the reason bitcoin is secure is because it is computationally hard to get bitcoin; with infinite energy, it's not computationally hard to do anything

sage bramble
honest pier
#

if you had unlimited energy, no one would really have more than other people, since the people who had less would just get more

#

assuming it was freely available

sage bramble
honest pier
#

why?

sage bramble
#

because thats how poeple are ? since history people have tried to rule over others

honest pier
#

because there were scarce resources

willow light
#

That's the point

rugged root
#

There will always be scarce resources

honest pier
#

well, not with infinite energy

sage bramble
#

but unlimited energy will not give us unlimited food

rugged root
#

Food, minerals, etc.

honest pier
willow light
#

infinite energy is impossible though, so it is a moot point

sage bramble
#

because time will always be limited

willow light
#

because entropy is not reversible

sage bramble
#

and it takes time to convert energy to food

honest pier
sage bramble
#

that would burn food

honest pier
rugged root
sage bramble
#

just like you cannot cook something faster, you cannot make natural processes go faster ?

willow light
#

there is a limited amount of water available for irrigation

honest pier
#

why not? just use some of your infinite energy to make more water lmao

sage bramble
#

lol

willow light
#

if you have infinite energy you also have infinite matter

honest pier
#

you could literally just create matter, fuse it together to get what you want

willow light
#

you also have infinite gravity, and thus a black hole is the inevitable result

sage bramble
#

we are not technologically / biologically advanced enough to create human babies without a woman's womb

honest pier
#

well, not yet lol. we don't have infinite energy

fierce summit
sage bramble
#

so we cant do everything with unlimited energy

honest pier
#

yes you can

willow light
#

yes you can, you said it yourself. it is infinite

sage bramble
#

we would need more knowledge

#

and that takes time ?

honest pier
#

which you could acquire with guess what? energy!

willow light
#

with infinite energy you can produce infinite knowledge. after all, knowledge is powered by energy

#

this is also assuming entropy doesn't instantly go to infinity as well

#

with infinite energy, all matter is perpetually at 10^32 Kelvins. that's pretty warm.

honest pier
#

my assumption was that it wasn't infinite, per se, rather very very very cheap

willow light
#

you'd have to assume that the powers that be won't artificially increase the price to maintain the status quo

honest pier
#

perhaps

prime kestrel
#

wow

rugged root
#

@fierce summit Let's do the old standard first

prime kestrel
#

i cant talk on english

#

i will hear

#

u

#

me russian

#

me cool

rugged root
#

Open PowerShell as Admin

willow light
#

cheeki breeki

prime kestrel
#

can i talk with google translate??

fierce summit
prime kestrel
#

i talk with google translate

rugged root
#
sfc /scannow; dism /online /cleanup-image /restorehealth; sfc /scannow
prime kestrel
#

WHy

rugged root
#

I'm about to explain why

prime kestrel
#

i didnt done anything

fierce summit
rugged root
#

Your typing was coming through, and there was some weird text to speech voice in the background

#

It was disruptive

willow light
#

let me guess, you weren't using your real voice

prime kestrel
#

i will try to type not loud

#

my keyboard suck

honest pier
#

@rugged root Default tried to explain himself earlier

frozen owl
#

hey sorry i was too loud when i joined, but just now i just wanted to say hi to jojo

rugged root
#

I understand

magic kiln
#

u wanna join private and talk @frozen owl

#

we can talk there if need be

willow light
rugged root
#

Just please mute when you're not talking to us, Default

frozen owl
rugged root
#

Or use push to talk or something

prime kestrel
#

i can write only

fierce summit
magic kiln
#

okay call me @frozen owl

prime kestrel
#

i want to communicate

rugged root
#

@prime kestrel Then mute

willow light
#

you can do so without micspamming

rugged root
#

You can still talk to us here

frozen owl
prime kestrel
rugged root
#

Just mute your mic

prime kestrel
#

th

rugged root
#

Thank you

prime kestrel
#

i can mean nothing

#

what he say

#

translate to english

#

text

prime kestrel
#

u so old

#

and me so young

#

for u

honest pier
rugged root
#

This looks similar

prime kestrel
#

ok

tidal shard
fierce summit
rugged root
#

Sorry, I'll be back on shortly

#

Having to do something here at work

tidal shard
rugged root
#

Not this time

#

Outlook isn't opening properly

tidal shard
rugged root
#

Already told him to, funnily enough

rugged root
#

@fierce summit Did that fix it?

fierce summit
#

no

rugged root
#

And Restore Default did nothing as well?

#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

fierce summit
amber raptor
#

Let me know when people have been fed.

thorny hinge
#

Increased Earning Potential: On average, employees with a graduate degree earn 28 percent more than bachelor’s degree holders over their lifetime. Data from PayScale shows that computer science professionals with a master’s degree, specifically, see an average salary of $101,000, compared to $86,000 for those with a bachelor’s degree.

quasi condor
#

yes

rugged root
#

@fierce summit I haven't forgotten, just double checking some things before I tell you to start poking in your registry

fierce summit
#

okay

#

I'm gonna go and get some food. I'll be back in 5-10 minutes

honest pier
#

dude lacroix tastes like sunscreen

fierce summit
#

I'm back

rugged root
#

Method 2 is probably your best

amber raptor
#

@quasi condor did heat wave finally break?

quasi condor
#

not yet

#

storms tomorrow

terse needle
#

31 still

quasi condor
#

broke 40c today

terse needle
quasi condor
#

32c here

#

I think it got to 39 in London, but I know it broke 40 somewhere

terse needle
#

big difference between 39 and 40

rugged root
#

Do you guys ever do it in like

#

decimals?

quasi condor
#

the guardian is reporting 40.2*

#

so apparently so

terse needle
rugged root
#

!tempvoicemute 660505628803858434 1w The entire time you've been on call, you've been combative, disruptive, trolling, and continuing to lean in extremely close to the mic making your voice blow out the mic. None of this is appropriate behavior. Nor is leaving the voice chat with "Molester, out." If your behavior does not improve when you return after the voice mute, you will have your speaking privileges removed permanently.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied voice mute to @lethal thunder until <t:1658861249:f> (6 days and 23 hours).

quasi condor
#

@rugged root mr it man

graceful grail
quasi condor
#

you know on Windows 10 you can pin the weather to the taskbar

#

how do I do it on Windows 11

terse needle
rugged root
#

!stream 494575788377636874

wise cargoBOT
#

✅ @fierce summit can now stream until <t:1658256996:f>.

peak copper
quasi condor
quasi condor
amber raptor
thorny hinge
honest pier
#
d = dict(
  DV1="Development",
  QA1="Quality Assurance",
  ...
)

d.get(stage_name.upper(), "Unknown")
``` @amber raptor
quasi condor
#

!e
This is fairly common to see in real code bases (with the lambdas swapped out for real functions)

d = dict(key=lambda x: "func 1", key2=lambda x: "func 2")
print(d.get('key what we dont have', lambda x : 'fuck')("test"))
wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

fuck
quasi condor
#

what are these stupid buttons?

#
lambda x : print(f"you passed in: {x}")
# That is the same as above ^

def equivalent(x):
    print(f"you passed in: {x}")
terse needle
#

!e

my_dicts = [
{
  "first": "foo",
  "second": "bar",
},
{
  "first": "spam",
  "second": "baz",
},
{
  "first": "spam",
  "second": "eggs",
}]

for my_dict in my_dicts:
    match my_dict:
        case {"first": first, "second": "bar"}:
            print(f"Second is bar and first is {first}")
        case {"first": first, "second": "baz"}:
            print(f"Second is baz and first is {first}")
        case _:
            print("Can not match this dict")
wise cargoBOT
#

@terse needle :white_check_mark: Your eval job has completed with return code 0.

001 | Second is bar and first is foo
002 | Second is baz and first is spam
003 | Can not match this dict
terse needle
#

there we go

#

an example of pattern match statements

quasi condor
#

!e

# We want to sort numbers by their last digit
l = [1,2,3,10, 100, 122, 123]
print(sorted(l, key = lambda n : str(n)[-1]))
```#
honest pier
#

% 10 😔

wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

[10, 100, 1, 2, 122, 3, 123]
quasi condor
terse needle
thorny hinge
#

Both payscale and BLS agree there is a significant pay increase for a masters in STEM/CS

honest pier
#

the question wasn't if there was an increase, though, it was whether or not it was worth it

thorny hinge
#

You dont get to change the question

honest pier
#

huh?

thorny hinge
#

The question is whether or not there is a significant pay increase for a masters degree

honest pier
#

sure lol

thorny hinge
#

I asked the question

#

I dont care if you misunderstood

honest pier
#

sure lol

thorny hinge
#

Regardless lets say you incur 100k of debt

#

your lifetime earnings with a masters degree is 1,000,000 dollars higher

#

Your strategy of yelling insults is a great one

#

keep it up

honest pier
#

sure lol

thorny hinge
#

I accept your concession

quasi condor
#

you might be right, looking through the old notebooks, there's information about postdoc salaries, and information with it cut by degree for the UK but not the US

thorny hinge
#

I appreciate the constructive dialogue we had

#

for sure the BLS data is a higher quality

quasi condor
# thorny hinge The question is whether or not there is a significant pay increase for a masters...

To be clear: I never even gave an opinion on whether or not a MSc is worth it, just said that using shit biased data isn't better than using no data.

My actual opinion, on the original and specific question of a masters degree worth it is: I think the data would imply that it is, but that doesn't incorporate the fact that people doing an MSc are on average more intelligent and on average more motivated than someone who gave up after a bachelors - whether or not someone who would be likely to complete a masters would earn more from having completed the masters is something that probably can't be answered with any data available to anyone

thorny hinge
#

sure I agree there is correlation with master degree holders and general cognition, I know many studies have been done for general cognition and bachelors but the data from payscale is self reported salaries of n=3000. Data with measurement bias is better than using no data however in supporting claims, every scientific instrument has some kind of bias in measurement, imprecision or inaccuracy. Counter claims which attempt to dismiss data supported claims via bias without meaningful measurements of that bias (aka sourced data) are dismissible.

quasi condor
#

level of education correlates with IQ, phd on average smarter than msc on average smarter than bachelors - but clearly that doesn't tell you anything about any specific individual

#

and you'd expect that to hold true, because the higher the degree of education the harder it is and the more your base aptitude matters

thorny hinge
#

for sure G is the most predictive psychometric ever! However the interplay between G, education, and salary seems to be an answer to a different question. The market value for a msc is higher

peak copper
terse dove
quaint oyster
buoyant oar
#

vc

tepid lodge
#

need some help with data processing

#

csv data normalization

#

specifically doing stock prices

#

the issue is that in order to normalize, i determined that i should use percent change

#

the issue isn't the normalziation technique

#

its that after i normalize

#

when i drop NaNs

#

it drops waay too much data

#

say theres like 9000 days for apple

#

ill change the values to percent change to normalize

#

and then dropna

#

and by the end there will be like 300 data points left

#

there arent NaNs in the raw file

#

they are being generated somehow by the normalization process

#

i use the pandas pct_change funcction

#

wish i could talk hold on

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

tepid lodge
#

ah

#

well the weird part about it is that

#

i did minute by minute data and it worked perfectly

#

the csv aspect isnt really the problem i don think

#

what i notice is that when i run the pct_change function on 90k datapoints (a lot more data points when ur doing minute by minute rather than daily) it works fine, however i notice that it still drops about 10k data points due to pct_change gnerating nans, however when u have 90k datapoints dropping 10k is acceptable, when u only have 8k data points e.g. for daily data dropping a similar amount doesnt work cause ur left with pretty much nothing

#

well i know that some nans are guaranteed to generate from the first item

#

because when the pct change function runs, it compares the prev element to the next one

#

well i think the issue is that

#

it looks at the first val, says ok whats the percent change from the previous value

#

and then its like oh well there is no prev value so the %change is NaN

#

then my code says the drop the NaNs

#

true

#

thats y itd be nice to talk and stream lol

#

its aight tho thanks for the good attitude

somber heath
tepid lodge
#

i sleep now tho thx for help

lavish rover
#

I'm on a train

#

Much noise to cancel

somber heath
#

Righty.

lavish rover
#

Family visiting a town ~5 hours away to visit some relatives on my aunt's side

#

Not particularly much to do in the town for 3 days, so I opted to stay back at home in my nice bed

#

They'll be back 23rd-26th, and then they're off back home

somber heath
#

As opposed to your nasty bed?

lavish rover
#

As opposed to a shared bed with sister/uncle in some hotel somewhere sharing the washroom with 5 people.

#

But yes, I got the joke and I chuckled

somber heath
#

I think it sounds like you made a good call.

lavish rover
#

It's a nice town, but they're visiting an elderly relative that's immunocompromised so they're going to have to be extra careful and stay at home anyway, plus there's not much to actually do there and I've visited before

#

Nope, back in Toronto!

#

Will be at my computer in 40 minutes or so. Can talk properly then if you're still around

#

Very much

#

I'm so ready to code something up next 3 days I have free

#

Fam back in Toronto for 3 days then

#

Will be fully free again from 26th

wind raptor
#

Gotcha

lavish rover
#

I wish people had polar bear problems instead

hearty knot
#

🙂

lavish rover
#

Getting on the subway, gotta jump, see y'all later tonight

hearty knot
#

tank for this 418 I'm a teapot

south bone
#

I keep having troubles with this import statement that makes little to no sense. I have tried both relative and absolute imports.

round cedar
#

oh god wat is tat theme

hearty knot
#

dithering is and art by itself

somber heath
#

Provided you can stop dithering long enough.

hearty knot
#

🙂

lavish rover
#
if some_test_condition:
  db = TestConnection()
else:
  db = RealConnection()

# whatever you want t do
db.execute(...)
#
if some_test_condition:
  db = TestConnection()
else:
  db = RealConnection()

# whatever you want t do
run_all_tests(db)
errant brook
#

This one?

#

Am I able to ask for help here?

#

I'm sure it's super basic but I need to iterate through two arrays

#

A = ["1", "2", "3","4","5" ] B = ["a", "b","c"]

#

I want to run a loop that goes like this,

1a, 2b, 3c, 4a, 5b

somber heath
#

!d zip

wise cargoBOT
#
zip

zip(*iterables, strict=False)```
Iterate over several iterables in parallel, producing tuples with an item from each one.

Example:

```py
>>> for item in zip([1, 2, 3], ['sugar', 'spice', 'everything nice']):
...     print(item)
...
(1, 'sugar')
(2, 'spice')
(3, 'everything nice')
```...
errant brook
#

will this loop until array B is finished?

#

I want the array to repeat

#

all good

hearty knot
#

zip( a, cycle(b))

somber heath
#

!d itertools.cycle

wise cargoBOT
#

itertools.cycle(iterable)```
Make an iterator returning elements from the iterable and saving a copy of each. When the iterable is exhausted, return elements from the saved copy. Repeats indefinitely. Roughly equivalent to:

```py
def cycle(iterable):
    # cycle('ABCD') --> A B C D A B C D A B C D ...
    saved = []
    for element in iterable:
        yield element
        saved.append(element)
    while saved:
        for element in saved:
              yield element
```...
errant brook
#

brb googling this

#

thanks for the advice

somber heath
#

Corey Schafer

#

Youtuber

errant brook
#

maybe there's another method you would suggest

#

arrr yes

#

unpacking

#

I was over thinking it

#

hmm how do you return the array in the zip

#

A = ["1", "2", "3","4","5" ]
B = ["a", "b","c"]

def cycle(iterable):
# cycle('ABCD') --> A B C D A B C D A B C D ...
saved = []
for element in iterable:
yield element
saved.append(element)
while saved:
for element in saved:
yield element

x = zip(A,cycle(B))
print(x)

#

for k in x:
print(k).

#

got iot

#

it*

somber heath
#

!e py alpha = "abc" beta = "123" for a, b in zip(alpha, beta): print(a + b)

wise cargoBOT
#

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

001 | a1
002 | b2
003 | c3
errant brook
#

should be fine

hearty knot
errant brook
#

thanks for the help guys

#

I'ma head out, thanks for the help guys

hearty knot
south bone
hearty knot
#

🙂

#

see u later

grizzled zenith
#

@somber heath didn't here that, could you say that again?

#

oh are you talking to someone else

#

@somber heath that's weird... I only see the two of us

spiral goblet
#

Hey mate!

#

You australian?

#

Haha great, Im from melbourne 🙂

#

Just getting into python =] =]

somber heath
#

!voice

wise cargoBOT
#

Voice verification

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

spiral goblet
#

I am attempting to re purpose a fishing script for educational purposes

#

trying to learn python

#

Have you ever dabbled in home automation?

#
  1. Fishing as in for a game
#

Yeah dont worry im not some weirdo hacker hahaha

#

Well see the game im doing it on is similar to new world fishing but the variables are a bit differentr

#

Thats good!

#

Opal, would you be willing to donate a little bit of your valuable time for my fishing bot project

#

What i think I need to do: 1. change screenshots 2. change focus 3. add a few button presses

#

Yes sir, ill link it here

#

In game python script that does automatic fishing

#

here is whats happening look

#

this is the code:

wise cargoBOT
#

Hey @spiral goblet!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

#

:incoming_envelope: :ok_hand: applied mute to @spiral goblet until <t:1658301998:f> (9 minutes and 59 seconds) (reason: newlines rule: sent 120 newlines in 10s).

somber heath
#

@spiral goblet Someone may be along shortly to remedy the situation. Or not. In either case, you can just sit and twiddle your thumbs.

spiral goblet
#

okay im back

#

thats what im looking at!

#

Question: castingBaseTime this variable

#

where is this being defined / pulled from?

#

Nah this isnt my code

#

Im trying to learn it lol

#

Brand new =] =]

#

a bit of LUA

somber heath
#

Corey Schafer, Youtuber. Playlist for Python beginners.

spiral goblet
#

cool! thanks

#

Thanks Opal youre a legend

warm skiff
#

please can you advise me where to start with python

gentle flint
#

!resources

wise cargoBOT
#
Resources

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

gentle flint
#

has some courses listed

warm skiff
#

many thanks

gentle flint
#

np

errant brook
gentle flint
#

what error does it give

somber heath
#

Specifically, the a inside the zip

#

Avoid overlapping your variable names if you're working in the same scope.

#

for x in *a*, zip(*a*, ...

#

It's probably fine, but can be confusing.

lethal thunder
#

Hello @rugged root...

#

Tom Hanks does woody

#

im muted...

somber heath
#

!voice

errant brook
wise cargoBOT
#

Voice verification

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

somber heath
lethal thunder
#

no i got muted

errant brook
#

can I post a screenshot here?

somber heath
#

If you so choose.

lethal thunder
#

by an admin

#

for 7 days!

#

for saying the words: "Moe Lester"

#

i sent a message to modmail

#

i appealed my mute

#

me and the admin had a disagreement

errant brook
#

@somber heath

#

the nested for loop seems to not run properly

#

it runs the for k in xa: only once when I want it to look 20 times

#

super odd

#

for kkk in range(1,20):
for k in xa:
print(k)

#

should that do the entire range of k in xa 20 times?

#

instead it breaks out after doing one k in xa then loops on the kkk = var

lethal thunder
#

@errant brook join the vc

errant brook
#

yea look at the console

lethal thunder
#

opal has been speaking the whole time

errant brook
#

it does the for k in xa loop once and then breaks out

#

I think the nested for loop is bugged

#

yea fair

#

for loop is bugged

#

yea it only does it once

#

doesn't even do it 2 times

#

this works

#

this loops the full amount

#

however in the snip above, that doesn't for some reason, peep the console

#

that's correct in this one

#

peep blue part

#

that's what I mean, it's breaking out of the for loop for some reason

#

only thing that changes is the xa table

#

see the confusion haha

#

@somber heath weird the array still exists however it wont loop again. it skips the for k in xa the second time

#

@frozen owl any chance you can help? or know anyone who can?

rugged root
lethal thunder
#

when did i blow into my mic?

#

disruptive?

#

what did i disrupt exactly?

#

combative...?

#

you muted me after i left the vc

peak copper
lethal thunder
#

you werent muting me cause i was harrasing someone or argueing, you muted me after i left

#

what rules did I break to reveive my mute?

#

besides saying "Moe Lester" Once while i was leaving vc (which was immature but didnt require a mute for 7 days!)

#

@whole bear just used the f word but i dont see him being muted for it

#

i was leaving when i said it

#

i just said "Moe Lester"

#

i didnt even get a warning

#

i just got a week long mute

#

@rugged root unmute me

rugged root
#

It'll be addressed in the ModMail

lethal thunder
rugged root
#

Then be patient

#

Other mods+ are reviewing it

lethal thunder
#

you only muted me cause you were having a bad day

#

had little to nothing to do with me

tidal salmon
peak copper
rugged root
#

@terse needle Does KJ know he's deafened?

sturdy panther
#

Boni also read it as "defeated" the first time round.

rugged root
#

Hemlock needs to phrase things better

sweet lodge
#

Texas?

#

Yeah, we have disavowed the ticks

#

Earl

whole bear
#
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

Press any key to continue...
sturdy panther
#

"+y

rugged root
#

@whole bear Restart your machine and start tapping F2 as it's powering back up. That'll take you to the bios

#

(don't do it yet)

somber heath
#

V V V 👋 👋 👋

sweet lodge
rugged root
#

@whole bear
Open a PowerShell or CMD and enter the following:

wsl --set-default-version 1
faint ermine
rugged root
#

Oh huh

#

That's cool

whole bear
#
Installing, this may take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username:

faint ermine
terse needle
somber heath
#

We had some kangaroos up the hill, today. Haven't seem them around for a while, so it was nice.

amber raptor
#

Fight club video role.

#

If you ask for it, you don’t get it.

rugged root
terse needle
amber raptor
terse needle
#

so true

rugged root
#

passwd right?

terse needle
#

yes

faint ermine
terse needle
faint ermine
#

hu wut?

#

ohhhhhh

terse needle
#

just when I see a conch in the context of shells and linux it reminds me of xonsh

faint ermine
#

the actual shell as in the physical object not "the shell" as a terminal

terse needle
#

I know

rugged root
#

!stream 845850546333679647

wise cargoBOT
#

✅ @whole bear can now stream until <t:1658327963:f>.

whole bear
#
Enter the new value, or press ENTER for the default
        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n]
#

@rugged root

#

did you know this was a thing lol

faint ermine
#

default ubuntu new user things

#

can leave it empty

whole bear
#

ok bet

gentle flint
#

found an asyncio alternative for requests and it's kinda nice

#

!pypi httpx

wise cargoBOT
faint ermine
#

httpx

#

oh yea

gentle flint
#

yeah

sturdy panther
#

£1 per Big Issue

#

Yea, it is.

gentle flint
graceful grail
terse needle
graceful grail
terse needle
#

it was really good

#

A Street Cat Named Bob

whole bear
#

yo could someone help me in code/help real quick

sweet lodge
#

@rugged root
So.... You know how printer settings have a "ports" tab, where you can switch which port your printer is attached to?

terse needle
sweet lodge
whole bear
#

am i aloud to if it doesn't involve python

sweet lodge
amber raptor
sweet lodge
#

How does a printer just unassign itself?

rugged root
#

I don't think I've ever seen that as an issue

sturdy panther
#

Software estimations: double it and then double it again!

rugged root
#
Diablo Wiki

"Raaaakanishu!" — A Fallen War Matron(src) Rakanishu was a particularly brutal Fallen One, feared and perhaps even respected among his own kind. Driving his minions into a frenzy, Fallen could often be heard screaming his name as they rushed headlong to their deaths. Whether it be through fear or loyalty, Fallen in his presence refused to break ...

#

@gentle flint ❤️

amber raptor
#

“Anyone who is capable of getting themselves made President should on no account be allowed to do the job.” <-- Applies to just about any big lead

steady saddle
#

yo

#

can somone help me rq?

#
Img = []
for item in skinsavailable:
    Images = imagesdictionary[item]
    Img.append(Images)

Imgdisplay = []
for item in Img:
  if item:
    r = requests.get(item)
    img = Image.open(BytesIO(r.content))
    img2 = Imgdisplay.append(img)

with tempfile.TemporaryDirectory() as skinsfolder:
    print("file created", skinsfolder)


skinsfolder2 = tempfile.TemporaryFile()
for item in Imgdisplay:
    Image.SAVE(skinsfolder, 'JPEG')
    skinsfolder2.seek(0)
    skinsfolder2.read()
  File "c:\Users\getre\OneDrive\Desktop\CanvasMessengerbot\valshop.py", line 110, in <module>
    Image.SAVE(skinsfolder, 'JPEG')
TypeError: 'dict' object is not callable```
warped raft
#

hello @wind raptor

#

hello @lavish rover

#

hello everyone

#

chris i want to make a project

frosty star
#

That’s great tip :0

warped raft
#

so when a person says my name i get undeafen

wind raptor
warped raft
#

i know what to do

#

but idon't kno how to do it

#

know

lavish rover
#

@zenith radish your email being line-broken onto 2 lines takes it down 2 points for me LOL

wind raptor
#

Sounds like you'll learn a bunch doing it

warped raft
#

yes

#

so what ishould search it

#

on internet

#

some library

wind raptor
#

¯_(ツ)_/¯

#

You didn't say what it was

warped raft
#

so when a person says my name i get undeafen

wind raptor
#

Ohh, that's the project

#

I see

#

That would be a form of self-botting, so I unfortunately cannot help you there.

warped raft
#

ok

#

let me ask another person

wind raptor
#

It's not really a good question for this server due to the rules

warped raft
#

no

#

i will try it on other server

wind raptor
#

👍

warped raft
#

and i want it for only myself

wind raptor
warped raft
#

yes

wind raptor
#

Gotcha

warped raft
#

i want to this for fun

#

everthing i do

#

has no use

#

for anything

#

i am learner

#

and i do anything to learn

wind raptor
#

Not a bad goal! A lot of stuff I do is the same haha

warped raft
#

nice

sturdy panther
#

It is probably just the undeafen that is self botting. You can still ask about name detection.

wind raptor
#

Yeah

warped raft
#

yeah

#

like something i get a notification like something

wind raptor
#

For sure

#

A notification on a name mention would not involve self botting

warped raft
#

ok

#

so i will go fot that

#

now if you can tell me about some library for that

#

@lavish rover where are you from

lavish rover
#

Gujarati

zenith radish
#

gujarati

wind raptor
lavish rover
sturdy panther
#

There's Fastmail.

amber raptor
peak copper
#

l.

vivid palm
amber raptor
warped raft
#

hello @lavish rover where are you from

lavish rover
#
gh auth login
zenith radish
terse needle
lavish rover
#

gin, ginger, giraffe, gist

terse needle
#

@lavish rover le mur

gentle flint
lethal thunder
#

How can i become an admin? @rugged root

#

@rugged root you sound like my teacher

#

"Behaving"

#

But actully how can i become as developed in this discord server as you @rugged root?

terse needle
#

@lethal thunder why do you keep changing your name a profile picture?

terse needle
#

ok?

rustic mantle
#

It is so helpful, thank you so much.

lethal thunder
#

how can i become an admin/mod/helper/owner

willow gate
#

hi

sweet lodge
willow gate
#

buddy you know how to get G++

#

in mac

terse needle
#

homebrew I would assume

sweet lodge
#

homebrew looks like

willow gate
#

how can i get

sweet lodge
#

I don't know
I don't use MacOS

willow gate
#

@strong arch

sweet lodge
willow gate
sweet lodge
#

.wa s define prophetizing

viscid lagoonBOT
sweet lodge
#

I guess we'll never know

peak copper
south bone
#

More hertz more fun

mild quartz
#

(obviously not secure so use w caution)

rugged root
#

Neat

sweet lodge
#

You're an admin @rugged root

gentle flint
#

@rugged root can we have this as a server emoji

rugged root
#

No

#

Don't do this to me

gentle flint
#

I'll even make an svg of it for the server

rugged root
gentle flint
#

please

rugged root
gentle flint
#

k

rugged root
mild quartz
peak copper
rugged root
#

!paste

wise cargoBOT
#

Pasting large amounts of code

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

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

heavy bridge
#
How I Met Your Mother Wiki

For the former employ at GNB, see Randy Wharmpess.Wharmpess is a very successful beer, created by Randy Wharmpess. In Canning Randy​​​, Randy was thrilled that he was fired, as he plans to use his severance to start up his own beer brewery. However, Marshall feels incredibly guilty and convinces Arthur to have Randy rehired and urges him to be m...

dry onyx
sweet lodge
#

sudo

lavish rover
rugged root
lavish rover
sweet lodge
rugged root
#

@leaden comet You around to view another duck creation?

sweet lodge
#

When they made me take art in school this

#

Can you tell what this is supposed to be?

vast fog
#

emoji is the best idea for low res sample data, i always forget

gentle flint
rugged root
#

vs ducky_regal

desert bronze
#

need help preventing ctype crash

gentle flint
desert bronze
#

fatal py error: cannot recover from stack overflow

rugged root
#

!traceback

wise cargoBOT
#

Please provide the full traceback for your exception in order to help us identify your issue.
While the last line of the error message tells us what kind of error you got,
the full traceback will tell us which line, and other critical information to solve your problem.
Please avoid screenshots so we can copy and paste parts of the message.

A full traceback could look like:

Traceback (most recent call last):
  File "my_file.py", line 5, in <module>
    add_three("6")
  File "my_file.py", line 2, in add_three
    a = num + 3
TypeError: can only concatenate str (not "int") to str

If the traceback is long, use our pastebin.

gentle flint
waxen aspen
modern timber
#

I think the angle of this one is better

#

it actually helps with the squash/stretch issue as well

rugged root
#

!stream 777116875972018186

wise cargoBOT
#

✅ @waxen aspen can now stream until <t:1658344682:f>.

modern timber
#

yeah 2nd movie I think

rugged root
#

I don't think we've ever had a ducky with legs

gentle flint
#

it's a good idea tho

#

brb

rugged root
gentle flint
wind raptor
#

!e

for x in range(0, 7):
    globals()[f"variable{x}"] = f"This is variable number {x}!"

print(variable0, variable3, variable6, sep="\n")
wise cargoBOT
#

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

001 | This is variable number 0!
002 | This is variable number 3!
003 | This is variable number 6!
wind raptor
#

This makes me like Python a little less

#

🤮

terse needle
#

!e

print(globals())
wise cargoBOT
#

@terse needle :white_check_mark: Your eval job has completed with return code 0.

{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': None, '__annotations__': {}, '__builtins__': <module 'builtins' (built-in)>}
terse needle
#

.wa s 20C in F

viscid lagoonBOT
terse needle
#

.wa s 103F in C

viscid lagoonBOT
wind raptor
gentle flint
wind raptor
#

This guy really hates Boris lemon_xd

terse needle
wind raptor
#

G2G to make some dinner. Cheers all!

quasi condor
#

@terse needle @zenith radish brawlhalla in 20m? (I feel like I can guess the answer)

quasi condor
#

1/2

terse needle
#

@gentle flint @sour imp want in @quasi condor

quasi condor
#

Sure

#

Works for me

#

I'll be on whenever I'm off the tube

#

920299

gentle flint
#

@zenith radish come to outside voices

somber heath
#

!e py a = set("abbccc") print(a)

wise cargoBOT
#

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

{'c', 'b', 'a'}
round cedar
#

:v oh thats something i just learned

hardy belfry
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

hardy belfry
#

!eval [3.0] <print('hello world'>

somber heath
#

!e py a = {'a', 'b', 'b', 'c', 'c', 'c'} print(a)

wise cargoBOT
#

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

{'c', 'b', 'a'}
#

@hardy belfry :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     [3.0] <print('hello world'>
003 |                 ^
004 | SyntaxError: '(' was never closed
somber heath
#

!e py print("Hello, world.")

wise cargoBOT
#

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

Hello, world.
hardy belfry
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

hardy belfry
#

!e
print('hello world')

wise cargoBOT
#

@hardy belfry :white_check_mark: Your eval job has completed with return code 0.

hello world
somber heath
#

!e py s = set() s.add("apple") print(s) s.add("pear") print(s) s.add("apple") print(s)

wise cargoBOT
#

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

001 | {'apple'}
002 | {'pear', 'apple'}
003 | {'pear', 'apple'}
#

Hey @hardy belfry!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

#

@hardy belfry :x: Your eval job has completed with return code 1.

001 | input a year number: Traceback (most recent call last):
002 |   File "<string>", line 21, in <module>
003 | EOFError: EOF when reading a line
hardy belfry
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

#

Hey @hardy belfry!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

#

Hey @hardy belfry!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

#
Missing required argument

code

#
Command Help

!eval [python_version] <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.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.

By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.

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

hardy belfry
#

!e
x = input("enter something")
print(x)

wise cargoBOT
#

@hardy belfry :x: Your eval job has completed with return code 1.

001 | enter somethingTraceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | EOFError: EOF when reading a line
somber heath
#

!e py a = set("abcde") b = set("defgh") c = a.intersection(b) print(c)

wise cargoBOT
#

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

{'e', 'd'}
somber heath
#

!e py a = set("abcde") b = set("defgh") c = a.difference(b) print(c)

wise cargoBOT
#

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

{'a', 'c', 'b'}
somber heath
somber heath
prime kestrel
#

lets talk

#

i try not to say anything bad

#

one condition

#

i will say swears

#

ok

#

no ban for me lplz

warped raft
#

hello @livid hill

#

how are you ding

#

doing

livid hill
#

Yo.

#

I'm fine.

warped raft
#

i don't have a mic

#

but i have a headphone

#

hi

#

hello

#

hello

#

Dmes

#

hello @somber heath

#

how are you doing opal

#

nice answer opal

#

hey opal

#

spotify

#

can we link spotify to discord

#

how old are you Opal

#

ok

vestal pulsar
#

Hello

warped raft
#

hello

#

hello

vestal pulsar
#

What is the point of this discord server?

warped raft
#

python

vestal pulsar
#

ohhh

#

okay

#

mm thx for the answer

#

Is Python going to be used in the future?

#

or is TypeScript taking over?

#

I am new to programming and I am trying to learn the best programming language

#

Thx for explaing it

warped raft
#

yeah

vestal pulsar
#

What jobs can I get by learning Python?

#

Are they all AI related?

subtle turtle
subtle turtle
#

They can be web-related

vestal pulsar
#

How exactly?

#

server side?

subtle turtle
#

Yes

#

For example, Flask and Django

vestal pulsar
#

Isn't Python to slow for it tho?

steel drift
#

@somber heath tnx

vestal pulsar
#

wow

#

thats cool

#

@somber heath thx for the answer

#

:D

#

Nice

#

My goal as I newbie is to build a AI

#

Oh

#

Okay.

#

mhm I understand but I learn the best by jumping stright into a complicated project