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.
1 messages ยท Page 91 of 1
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.
rooter
root-er
english is broken
input = cat
print ("I im learning how to code on python", cat)
Alright guys, let's not spam images please.
^
You should learn Esperanto @ancient whale
Nah, not a problem Lua ๐
^
Erm, no @misty sinew, you would need to ask Hemlock.
he is not online
thanks for sharing with us
i just wana stream my coding
guess you could review that pr :P ยฏ_(ใ)_/ยฏ
he is going to recover you know guys? hehe
(โฏยฐโกยฐ๏ผโฏ๏ธต โปโโป
@ancient whale do you have anyone you could chat with about it? Family member or RL friend?
those are good odds
fuck you
Ey, let's not.
wow @misty sinew calm dow ๐ฆ
Until recently, there was no streaming allowed on the server at all.
why would i need to chat with a family member about hemlock not being online?
Erm, I wasn't talking to you.
CT scanners are pretty cool. It's basically a giant spinning x-ray machine.
oooooooh yeaaah
Not at all terrifying.
i'm told it's very loud
look at that doughnut go
I understand why it has a cover usually ๐
"Here. Stick your head into this giant washing machine."
why could that get so hot? does it capture on 4k or something?
so everything's just on it...spinning...
wow
๐
!e ```py
if False:
print("asdf"asdf)
@spring finch :x: Your eval job has completed with return code 1.
001 | File "<string>", line 2
002 | print("asdf"asdf)
003 | ^
004 | SyntaxError: invalid syntax
!eval print("a""b")
@hidden cliff :white_check_mark: Your eval job has completed with return code 0.
ab
!e
t = ("hey yo"
"yo"
)
print(t)
@warm tendon :white_check_mark: Your eval job has completed with return code 0.
hey yoyo
!e a="21" print("12"a)
@hidden cliff :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | a="21" print("12"a)
003 | ^
004 | SyntaxError: invalid syntax
!e a="21"; print("12"a)
@hidden cliff :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | a="21"; print("12"a)
003 | ^
004 | SyntaxError: invalid syntax
@ancient whale https://www.nand2tetris.org/
And course is on the https://www.coursera.org/learn/build-a-computer
!e
print((()==())+(()==()))
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
2
(()==()) ((()==())+(()==()))
!e
print((()==())*(()==()))
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
1
!e
print((()==())+(()==())*(()==()))
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
2
!e
print(((()==())+(()==())*(()==()))+(()==()))
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
3
!e
print(((()==())+(()==())*(()==()))*((()==())+(()==())*(()==())))
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
4
look here
!e
import discord.py
@misty sinew :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'discord'
!e
print(9999999999999999999999999999999999999999999999999999999)
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
295147905179352825856
!e
print(9999999999999999999999999999999999999999999999999999999)
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
9999999999989999998999990000001000010000000999999999999
!e
print(9999999999999999999999999999999999999999999999999999999*(9999999999999*888888888888888))
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
88888888888791022213333253431120897875635563545768791101325333342223120888888888888
!e
print(9999999999999999999999999999999999999999999999999999999*(9999999999999888888888888888)9999999999999999999999999999999999999999999999999999999*(9999999999999888888888888888)9999999999999999999999999999999999999999999999999999999*(9999999999999888888888888888)9999999999999999999999999999999999999999999999999999999*(9999999999999888888888888888))
@misty sinew :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | print(999999999999*9999999999999999999*999999999999999999999999*(9999999999999*888888888888888)*999999999999*9999999999999999999*999999999999999999999999*(9999999999999*888888888888888)*999999999999*9999999999999999999*999999999999999999999999*(9999999999999*888888888888888)*999999999999*9999999999999999999*999999999999999999999999*(9999999999999*888888888888888)*)
003 | ^
004 | SyntaxError: invalid syntax
!e print(6**6**6)
@hearty heath :white_check_mark: Your eval job has completed with return code 0.
2659119772153226779682489404387918594905342200269924300660432789497073559873882909121342292906175583032440682826506723425601635775590279389642612611093020398930347774460613894425379600874662147884229022133853819192905427915750759274952935109319020362271989830578539328807633196834507090639946131138999460277671978289412532212329252032960511820487913640083895490443657920956267126291922289224609441034849578266461219690879675039920051391388174525259443193865041630348000323295729231692725808120388628956451330203199414186213654593812478970390749485268614971964248428562782648720818548493937299025693132719165544060431069136029010640558959534212123746079660766983306735060532482925553082121188696097199078085563246046013216102655431476452400396602364732664246252767374593256582134654265209220042370143240456646479703878634028476799516301302320589620637994623895999962376530625874148998609130106933187937209476887496871311072138713943694894357288061061557708461902289692063089736008186036231141171109877
... (truncated - too long)
Full output: too long to upload
oh
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
E
Erm @misty sinew, can you stop spamming, or move over to #bot-commands
were you guys trying esoteric stuff?
thats perfect silence
How do i get video role ๐ญ
@stoic bluff the video role. Does it stay on you once they give it orr do you have to get it every time
theres a bully among us
ask @mild flume about it
Did u just ping an admin omg
ouch
!e print(10**10**10)
#bot-commands
?
!e
print(666)
@misty sinew :white_check_mark: Your eval job has completed with return code 0.
2659119772153226779682489404387918594905342200269924300660432789497073559873882909121342292906175583032440682826506723425601635775590279389642612611093020398930347774460613894425379600874662147884229022133853819192905427915750759274952935109319020362271989830578539328807633196834507090639946131138999460277671978289412532212329252032960511820487913640083895490443657920956267126291922289224609441034849578266461219690879675039920051391388174525259443193865041630348000323295729231692725808120388628956451330203199414186213654593812478970390749485268614971964248428562782648720818548493937299025693132719165544060431069136029010640558959534212123746079660766983306735060532482925553082121188696097199078085563246046013216102655431476452400396602364732664246252767374593256582134654265209220042370143240456646479703878634028476799516301302320589620637994623895999962376530625874148998609130106933187937209476887496871311072138713943694894357288061061557708461902289692063089736008186036231141171109877
... (truncated - too long)
Full output: too long to upload
Victor Borge. Inflationary language.
for i in range(99999999999):
try:
print(chr(i))
except:
try:
print(chr(i))
except:
```
!e
print(chr(-1))
!e
for _ in range(100):
print(chr(_))
@wild musk :white_check_mark: Your eval job has completed with return code 0.
001 | ๏ฟฝ
002 |
003 |
004 |
005 |
006 |
007 |
008 |
009 |
010 |
011 |
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/uyemekohec.txt?noredirect
@charred creek :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ValueError: chr() arg not in range(0x110000)
!e
x = 'hello'
try:
print(int(x))
except ValueError as e:
print(f'{x} is not an int ({e})')
@random minnow :white_check_mark: Your eval job has completed with return code 0.
hello is not an int (invalid literal for int() with base 10: 'hello')
C:\Users\jjsav\Desktop>unicode.py >>unicode.txt
Traceback (most recent call last):
File "C:\Users\jjsav\Desktop\unicode.py", line 2, in <module>
print(chr(i))
File "C:\Users\jjsav\AppData\Local\Programs\Python\Python36-32\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\x80' in position 0: character maps to <undefined>
try:
print(chr(i))
except:
!e
for i in range(99999999999):
try:
print(chr(i))
except:
@misty sinew :x: Your eval job has completed with return code 1.
001 | File "<string>", line 4
002 | except:
003 | ^
004 | IndentationError: expected an indented block
!e
for i in range(99999999999):
try:
print(chr(i))
except:
@misty sinew :x: Your eval job has completed with return code 1.
001 | File "<string>", line 4
002 | except:
003 | ^
004 | IndentationError: expected an indented block
!e
for i in range(99999999999):
try:
print(chr(i))
except:
@misty sinew :x: Your eval job has completed with return code 1.
001 | File "<string>", line 4
002 | except:
003 | ^
004 | IndentationError: expected an indented block
!e
for i in range(99999999999):
try:
print(chr(i))
except:
@misty sinew :x: Your eval job has completed with return code 1.
001 | File "<string>", line 4
002 | except:
003 | ^
004 | SyntaxError: invalid syntax
!e
for i in range(99999999999):
try:
print(chr(i))
except:
pass
Sorry, an unexpected error occurred. Please let us know!
ClientResponseError: 500, message='Internal Server Error', url=URL('http://snekbox.default.svc.cluster.local/eval')
!e
for i in range(99999999999):
try:
print(chr(i))
except:
pass
Sorry, an unexpected error occurred. Please let us know!
ClientResponseError: 500, message='Internal Server Error', url=URL('http://snekbox.default.svc.cluster.local/eval')
!e
for i in range(99999999999):
try:
print(chr(i))
except:
pass
@misty sinew :x: Your eval job has completed with return code 1.
001 | File "<string>", line 4
002 | except:
003 | ^
004 | SyntaxError: invalid syntax
!e
for i in range(99999999999):
try:
print(chr(i))
except:
pass
Sorry, an unexpected error occurred. Please let us know!
ClientResponseError: 500, message='Internal Server Error', url=URL('http://snekbox.default.svc.cluster.local/eval')
!e
for i in range(300):
try:
print(chr(i), end = " ")
except:
pass
@proven shale :white_check_mark: Your eval job has completed with return code 0.
001 | ๏ฟฝ
002 |
003 | ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ ย ย ย ย ย ย
ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ยก ยข ยฃ ยค ยฅ ยฆ ยง ยจ ยฉ ยช ยซ ยฌ ยญ ยฎ ยฏ ยฐ ยฑ ยฒ ยณ ยด ยต ยถ ยท ยธ ยน ยบ ยป ยผ ยฝ ยพ ยฟ ร ร ร ร ร ร
ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร ร รก รข รฃ รค รฅ รฆ รง รจ รฉ รช รซ รฌ รญ รฎ รฏ รฐ รฑ รฒ รณ รด รต รถ รท รธ รน รบ รป รผ รฝ รพ รฟ ฤ ฤ ฤ ฤ ฤ ฤ
ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤ ฤก ฤข ฤฃ ฤค ฤฅ ฤฆ ฤง ฤจ ฤฉ ฤช ฤซ
with open('test.txt', 'w', encoding='utf32') as file:
a = 0
while True:
try:
file.write(f'{a} {chr(a)}\n')
except UnicodeError:
pass
except ValueError:
break
a += 1``` Dirty dirty *dirty*.
@sleek parrot so you from Russia
no
where
And you?
cant tell ya exactly ๐
i think i may have figured it out
what?
@misty sinew damnnnn
how hot are you btw?
hot enough to be ur gf
The emotes makes the behavior/tone of the speaker changes @stuck bluff
jokes on you, never had and will not have a gf
โ File โ Settings โ Upload โ Download โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ โ
โ โ
โ โ
โ โ
how come you be so good with batch?
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โ
โ โโโโโโBG Menuโโโโโ
โ โโ โ
โ โโ โ
โ โโ โโโโFG Menuโโโโโฃ
โ โโ โ
โ โโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโBG Colourโโโโ
โA B C D E F G H I J K L Mโโ ! " # $ % & ' ( ) * + ,โโ โ
โN O P Q R S T U V W X Y Zโโ- . / : ; < = > ? @ [ \ ]โโ โ
โa b c d e f g h i j k l mโโ^ _ ` { | } ~ โ โ โ โ โค โฃโโ โโโFG Colourโโโโฃ
โn o p q r s t u v w x y zโโโ โ โ โ โ โด โฌ โ โ โผ โ โ โฉโโ โ
โ0 1 2 3 4 5 6 7 8 9 โโโฆ โ โ โฌ โ โ โ โ โ โง โง ยซ ยปโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ```
QBasic is an integrated development environment (IDE) and interpreter for a variety of dialects of BASIC which are based on QuickBASIC. Code entered into the IDE is compiled to an intermediate representation (IR), and this IR is immediately interpreted on demand within the IDE.Like QuickBASIC, but unlike earlier versions of Microsoft BASIC, QBas...
@sturdy cosmos Are you able to give an indication of how we might be of assistance?
I do what I need to do in my homework, but it doesn't happen
I don't know English very well, that's why I speak translate
What is your mother tongue?
Azerbaijani
Do you have any errors or code to show?
yes but i can't tell if i just share the screen
in the end that should be
I do, but it doesn't happen
I have to do it as they say, so that I can be instructed
that's what they say it should be in the end
what doesn't happen?
okay, so are there any specific instructions given to you?
like use a function etc?
This is a program to calculate the growth of the rabbit population.
Complete the program:
My friend wrote it and I copied it, but it didn't work again
how are you supposed to calculate rabbit population?
some particular pattern/formula they follow?
My friend did it and I copied it and checked it, but it didn't work
but then it happened
๐ซ
There will be no good hajj, thank you for trying to help me
i just spent like 20 minutes arguing with a idiot that my program does not interfire with discord
he knows batch and has the source code and read it and there is NOTHING THAT DOES ANYTHING TO DISOCRD
helo
yes?
what
is it you want?
fine thank you
and you?
what xD
dont know him
are you arab @hot patrol ?
im not arab but we speak arabic sometimes
wont tell ya
secret
sbecel segret
lol

๐

๐๐พ
Alright Iโm gonna head out Iโll catch you guys later. Hope you all have a good night.
3d sound
!d math.dist
math.dist(p, q)```
Return the Euclidean distance between two points *p* and *q*, each given as a sequence (or iterable) of coordinates. The two points must have the same dimension.
Roughly equivalent to:
```py
sqrt(sum((px - qx) ** 2.0 for px, qx in zip(p, q)))
``` New in version 3.8.
if an entire country used the same time which would span multiple tims zones , people would think of time as different between sun rise and susn sets and otherr wierd things
hi
mmhm
i was going to ask at the beginning if someone was going to set up a pipenv
but didn't, i forget why :/
it's actually a pretty fun game ๐
eh i bet we'll still win :)
mashed together some garageband loops that didn't sound completely horrible together ๐
ยฏ_(ใ)_/ยฏ
@warm tendon aren't you done coding ๐
Every person here is voice verified ๐
3 people aren't ๐
ah
Hey wispers ๐
imagine being alive
Are you implying that youโre not alive ๐ฅด?
i-
Iโm just messing w you
If a tree falls in a forest and no one is around to hear it, does it make a sound?
๐
i'd do binarysearch ๐
Good one ๐ฅด
trees are cool :P
I'm downloading some of the games now.
Do you think it would be wise to screen for malicious code? ๐
Fisher, have you played our game? ๐
Your scroll-wheel finger must be built.
Is binarysearch easier than leetcode
yikes
should I be starting w binary search instead?
they're the same type of problems
Oh
binarysearch is nice because you can do it with other people
Right
I use arch btw
easy is boring
i assume you want to do medium trees?
lol i did all the tree problems
I'll join while I wait for python to build
Erm for some reason 3.9.2 requires building
ยฏ_(ใ)_/ยฏ
When installing with pyenv.
@final folio join us ๐
^
@hearty heath on my iPad in bed canโt ๐ฅด
get on your laptop then ยฏ_(ใ)_/ยฏ
I refuse to leave the comfiness of my bed
too bad
Name the time and space complexity rn
i-
Ah
lol
I said that bc I was unsure what the time or space complexity was
Iโm between O(1) time or O(N) time
O(n) time i think
a string i think
Oh it looks like he does string comprehension
the difference between string/list shouldn't matter for the time complexity though
well, it's a list comp
they're making a list
Out of the range of the length of the string
mark looks to be a list of uppercase letter indices
looks at clock ๐
๐
@hearty heath hahaha
5 am headass
what
How do you stay awake during the day
If you go to bed at 5 in the morning
arenโt you like 17 ๐ฅด youโre encouraged to sleep bc youโre still growing or what not
Yeah, I'll probably be sleeping in ๐
if they want to fuck up their development, that's their decision
Erm, I'm at the latter end of my 20s ๐
Oh right sorry.
all good
psvm takes 4-hour-long naps most days ๐
4 hour naps sound nice
Actually, England is sinking ๐
not anymore lol
i no longer nap i just stop thinking at my desk for a few minutes
that's good enough
Because Scotland is rebounding from the ice-age.
When it was weighed down by a load of ice.
Oh right. Sorry. I'm only half-listening.
You switch off half your brain at a time, like a dolphin.
I love reversing Linked Lists
Patreon - https://www.patreon.com/nick_white
PayPal - https://paypal.me/nickwwhite?locale.x...โ
Become A Member - https://www.youtube.com/channel/UC1fLEeYICmo3O9cUsqIi7HA/join
Twitch - https://...
Is this going to be me eventually
๐ฅด
It already is ๐ฅด
๐
linked lists are so bad
they're literally worse than HAMTs
oh I donโt do cold cuts
they are nice, fr
lol
what's wrong with tuna
https://en.wikipedia.org/wiki/Hash_array_mapped_trie check this out, ham and tea meal
hi guys! i found this video on the internet. it is a dutch train derailing. why not play with it??
What happens when I combine Initial D and Densha De D with some unsuspecting N scale rolling stock...
Yeah linked lists arenโt used much
I donโt know why interviewers love them so much
linked lists are literally useless
no idea
they're easy?
you can make stacks and queues with them?
you can make stacks and queues with arrays too ๐
Yeah thatโs all I can think of
if you need a data structure to add a lot of things to
Linked lists are indeed good
compared to dynamic arrays, they are merely ok
I thought python lists are special case of linked list
hm
no, python lists are like cpp vectors or java's arraylist
Well that was the only actual use case of a linked list that I could think of
which only further proves your point ๐ฅด
linked lists are used for when you need to merge lots of data, lots of insertions, lots of removing
yeah
I think so?
depends if you like it or not
hm ok
Idk what clojure is
it's like a jvm lisp
Many people have experienced their groceries being exploded by an improvised explosive. In this video, we will show you how to safely shop at a Tesco's by mounting the appropriate modifications on your trolley such as the M2 Browning heavy machine gun and Trophy active protection system. These will effectively protect your shopping trolley from ...
Video highlighting my research on PowerPoint Turing Machines for CMU's SIGBOVIK 2017
Read the paper:
http://tomwildenhain.com/PowerPointTM/Paper.pdf
Download the TM:
http://tomwildenhain.com/PowerPointTM/PowerPointTM.pptx
Original video (without live background noise):
https://youtu.be/sdkxWqsk17c
Please check out my other videos for (slight...
Dumb question but do any of you know where to start if your a beginner for Phyton?
Lol true.
is your best friend
oh
๐ hi
cmon
man was wrong with ya?
yes
i can hear
who are you?
@round ledge
but who
@round ledge how old are you?
do you read a lot of books?
nope
do you read none fiction books?
e.g. self improvement books
okkk
your voice is breaking, really bad
do you play video games? @round ledge
Runescape e.g.
Ok do you play Roblox then?
ok
okke
hello
osu's still better
o/
@leaden flare osu
I have a small question
so in dpy, we even await non async functions
I wonder how is it possible or is there something I am missing?
Do we really await non-async functions?
Like print
thats what the examples show
see the wait_for
its says it is coro in the docs
but no async in function signature
Maybe they overwrite it somewhere? Not sure
Wanna ping me when you figure it out? I'm kind of curious
Seems like a good candidate for an explanation haha
Maybe the return value is being called, which is the coro in this case, instead of the actual function being called
need to open asyncio docs, no idea what create_future() means in asyncio
right
Yeah, me neither
thats an old you should check mat parker turring videos with power point ๐
๐ข

@misty sinew I cant hear you
@warm tendon @peak frigate can one of you help me? (help cheese)
if you need help, try help channels
Iโve tried but no one helps just like you assholes
I am way up because no one answered my question
how about you don't call anyone assholes here, to start
At 6pm. And I understand you guys have a system but itโs not working which is why Iโve come to a more personal channel for a more personal experience
Sorry but @warm tendon came off as an asshole. I call it how I see it
I don't appreciate you calling my friends assholes
I donโt appreciate asking someone for help and having them dismiss me like Iโm nothing
also your issue may be bc you're on a phone
I'm not sure bc I never used Python on a phone
Thatโs what I figured
I use pc. But Iโd like to mess around on my phone when Iโm out and about
what's the app you're using called again
Python3ide
I thought turtle was a library native to python so I donโt see why Iโd need anything else
yeah I don't really know unfortunately
Ok
I googled python3ide phone turtle
Same lol. Nothing
nothing really relevant seemed to pop up
yeah
maybe they just decided to not include any support for that specific library
Trust me, if the answer was on google I wouldnโt be bothering you guys
in the mean time I'm unsure if you should be using python 3 ide
seems kind of sucky imo
sorry, I don't owe you anything
All good. I found someone who is helpful and kind
idk if you can code on repl.it on the phone
maybe repl.it handles turtle better idk
I also never used turtle ๐ฅด bc I didn't see the point
Iโll look into it. Thanks for helping me out and not being passive aggressive for no reason. I donโt understand why people arenโt just open to help each other out
randomly chose presumably
I wanna just mess around with making some cool patterns
Look, Iโm sorry if it offended you. I was genuinely just asking for help and you and the other person were in the voice room that I was chatting on. I donโt see why you are so against helping people or whatever it is, but I didnโt come here to make anyone upset. I hope we can move forward on good terms and I hope you can learn to treat people you donโt know@with more kindness if you want
If you donโt believe me reread these messages from the start with an open heart and you will see I came peacefully from the beginning
I don't like getting random pings, that's it. I had indeed talked in this vc, but it was about 2 hours ago
I'm all for helping people, but I just don't like getting pinged
!mute 213212907540971520 3d, dont insult our users, let alone our staff. Re-read our rules before posting here again.
:incoming_envelope: :ok_hand: applied mute to @noble stone until 2021-04-05 04:53 (59 minutes and 58 seconds).
@noble stone For clarity, you shouldn't ping specific people for help. You can ping the moderators role when a situation requires urgent attention from the mod team, and the admins ping for when something in the server malfunctions. Otherwise everyone, even staff, are volunteers, and will look over help channels when they want and are available.
not minner :(
JUST NOW? lol
snack lol
minimum 100 kcal requirement
time to go home baii
any idea why one works in 3.7 but not the other?
'cuz it is in 3.7
actually nvm
I'm being stupid
!e
import json
t = {
"key": "[1,2,3]",
"key2": "[3,2,1]",
}
x = {k: json.dumps(v) for k, v in t.items()}
print(x)
@charred creek :white_check_mark: Your eval job has completed with return code 0.
{'key': '"[1,2,3]"', 'key2': '"[3,2,1]"'}
!docs map
map(function, iterable, ...)```
Return an iterator that applies *function* to every item of *iterable*, yielding the results. If additional *iterable* arguments are passed, *function* must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see [`itertools.starmap()`](itertools.html#itertools.starmap "itertools.starmap").
!docs itertools.starmap
itertools.starmap(function, iterable)```
Make an iterator that computes the function using arguments obtained from the iterable. Used instead of [`map()`](functions.html#map "map") when argument parameters are already grouped in tuples from a single iterable (the data has been โpre-zippedโ). The difference between [`map()`](functions.html#map "map") and [`starmap()`](#itertools.starmap "itertools.starmap") parallels the distinction between `function(a,b)` and `function(*c)`. Roughly equivalent to:
```py
def starmap(function, iterable):
# starmap(pow, [(2,5), (3,2), (10,3)]) --> 32 9 1000
for args in iterable:
yield function(*args)
!e
from itertools import starmap
print(list(starmap(lambda x, y: x ** y, [(3, 2), (6, 2), (4, 2)])))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
[9, 36, 16]
!e
from itertools import starmap
print(list(starmap(lambda x, y: x * y, [(3, 2), (6, 2), (4, 2)])))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
[6, 12, 8]
!e
!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!*
!eval [def split(numb):
return list(numb)
def listToString(s):
str1 = ""
for ele in s:
str1 += ele
return str1
def fake_bin(x):
x_array = split(x)
r = range(len(x_array))
for i in range(len(x_array)):
if int(x_array[i]) < 5:
x_array[i] = "0"
if int(x_array[i]) >= 5:
x_array[i] = "1"
return listToString(x_array)
print(fake_bin("29394827")) ]
@north steeple :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | [def split(numb):
003 | ^
004 | SyntaxError: invalid syntax
HI
!e
hi
@random minnow hi
How are you
can we speak in private just for a moment
I don't have the permision to turn on the mic
how can i create a interface for python
plz
like tkhinder
soory i didn't hear you good
didn't like what?
i use pyqt5
gtk3 like this
@whole mulch oh nice
@whole mulch can you give some advice about pyqt5
there are other gui libraries like kivy but are more for mobile apps and stuff
Thanks both of you
welcome
welcome
Traceback (most recent call last):
File "C:\Users\username\PycharmProjects\QtBinaryConverter\main.py", line 194, in btd
binary = [int(i) for i in num]
File "C:\Users\use\PycharmProjects\QtBinaryConverter\main.py", line 194, in <listcomp>
binary = [int(i) for i in num]
ValueError: invalid literal for int() with base 10: 'A'```
@misty sinew bro can i ask you some question
just ask
Do you know how to create sms authorization with python
You need an external provider for this stuff
Then you can use their API in Python
Why are you named after an IDE
@misty sinew because i like Pycharm
Then I'm gonna name myself hoes
Got it
HAHAAH
๐น
how the fuck should I know
can you give an exmple
sorry I cant
because I have no clue what provider have you found
Use httpx https://www.python-httpx.org/
A next-generation HTTP client for Python.
Thanks
np
r u a girl or a man
@misty sinew man
or nonbinary paleogender alexangender
print("I'm The GrandFather here")
printf("%s", "C I'm the grandfather");
this could be any systems lang
print(f"Penis {vagina}")
#!/bin/bash
btw no bash zsh for terminal
gays what i need to learn to haking
computer stuff
enough to know how to break stuff
it wont work i have zsh
man how can i learn russin
don't
why
woah
rem
blue wren
yay anime!
they're the same
One I took.
!e py class MyInt(int): def __mul__(self,v): return 42 a = MyInt(1) print(a*7)
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
42
yep -> i think there are a bunch of overrides -> __str__, __add__
Bye @ OpalMist!
accident @ Voice Chat 1
i meant to leave but then i accidentally clicked on the vc again
lmao
yo Gabi
AYO WASSUP BRO
ah, just online class BRO
Hi guys, Im kinda new in this server
A website dedicated to the fascinating world of mathematics and programming
@misty sinew ill speak here
hi
how you doing today
same
how do you feel
school
science
right know i doing an assigmnet in biology
true
what do you think, in which year will the first person fly to mars?
if people fly now, they will most likely die
what is point of that
we dont have the rockets to do a 2 way from earth to mars then mars to earth
well at least elon made a rocket that can go to space, then come back
yea first moon, then others planets and places
how many years do you learn python
yup
people need to rain
train
same story with f1, normal person cannot drive f1
because of too much g
OOPS
we need new battersy
yup
python pandas right?
yea it's good stuff
jupyter notebook
yup
i love python, because you can do many things with python
you can make websites, apps, data science, ai
yea
big amounts of data
it lags
on excel
or crashes
and you can make lots of cool charts
@true valley hello
how u doing
good you
Good (x
you can predict some tdata
which is soo cool
stock prices
stocks that are stable
there are some
#Python #Trading #Programming
I Coded A Trading Bot And Gave It $1000 To Trade!
Download kite by clicking this link: https://kite.com/download/?utm_medium=referral&utm_source=youtube&utm_campaign=kallehallden&utm_content=stock-trading-program
"Clean Code Friday"
If you want to receive one short email from me every week, where I go through a fe...
^^ example
so many cool stuff can be done with python
ikr
and some of them r dangerouse
like stock prices not stable
||also, anyone using kite?||
ye, ever heard of TabNine?
im gonna try it out
i can talk, but i dont want to
what is your wpm
cuz i have a bad mic
tbh, wpm doesn't mean anything for me cuz i use autocomplete most of the time
bye, guys t was fun time to spend with you guys, i need to go to my class
try 1 letter, and the autocomplete would fill the statement
tabnine is suited for that tho
it cannoot read your brain
in near future something like that will be
ok bye guys
i need to go to my classes
whaaa
:\
same feelling
true @true valley
i sended a friend request
also, im building this economic (discord) bot
which only uses requests to do the transactions
bye
byee
nothing complex
ever heard of danker memer?
no lol
i mean dank* memer
its this bot: https://top.gg/bot/270904126974590976
(im not trying to advertise btw)
omw, that a discord bot
made like 2 yrs ago
and im gonna try replicate that
Nope
hmm
u from the US?
x))
i mean
its in this many server
5.8 million servers
Pepe the Frog () is an Internet meme consisting of a green anthropomorphic frog with a humanoid body. Pepe originated in a 2005 comic by Matt Furie called Boy's Club. It became an Internet meme when its popularity steadily grew across Myspace, Gaia Online and 4chan in 2008. By 2015, it had become one of the most popular memes used on 4chan and T...
btw, i have made a bot which is in 82 servers ;)
9/11 flash backs
some terrorist stuff
which part of the US r u in?
Currently, Im in South Africa
but i was born in India ||ofc||
u r 6 hours behind me btw
^^ where i live
That's the place im living in rn
cape town is one of the capital
Johannesburg is one of the capital too
and other is Pretoria ig
one of my friends just moved to Canada lol
but sometimes, u do see some racism here and there in the city
also, do u play chess?
alr i gtg
byeee
hi guys!
Im super struggling with code in a beginner python course
if someone is free to help, that would mean a lot to me
im pretty sure that my problem will look like a joke to you guys loll (im a very beignner coder)
aaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaa
i took a diarhhea
DiArHhEa
i made a robot speak for me
i dont talk
Can I join?
bruh
i can' t speak
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Netpbm (formerly Pbmplus) is an open-source package of graphics programs and a programming library. It is used mainly in the Unix world, where one can find it included in all major open-source operating system distributions, but also works on Microsoft Windows, macOS, and other operating systems.
Hold on im almost done
well
:)))))
we are all loners together
jake is a mega chad though
look at that pfp
plus griff must have friends - he can make people laugh easily
from typing import Optional
class UserData:
...
cache: dict[str, tuple[UserData, datetime]] = {}
def get_user(username: str) -> Optional[UserData]:
"""
Attempt to get the user from the cache
"""
...
async def fetch_user(username: str) -> Optional[UserData]:
"""
Attempt to get the user from the mojang Api
"""
...
def cleanup_cache():
"""
Clean cache of old requests
"""
...
async def get_user_id(username: str) -> UserData:
user_data = get_user(username)
cleanup_cache()
if user_data:
return user_data
elif user_data := await fetch_user(username):
return user_data
else:
print("Couldn't get user?")
@raw wren
did you just write that entire mockup implementation in the discord "editor"?
props ๐ ๐
Hey @raw wren that font looks cool. Which one is it?
Its just the default pycharm theme!
!!
@pearl torrent
alright im gonna head out now! It was nice talking to y'all :)
bbye
@torn smelt this chat
is it true that i can instal dreams only on the playstation store?
r process - ccsn for lowe atomic masses
ns massus fn higher add n faster than
ฮฒ decay
lmao

client = pymongo.MongoClient("****")
db = client.discordUsers
collection = db.user_data```
hey yall, need help with dictionaries
any of you guys is good in C language ?
You might have an easier time getting help for C in a server specific for it. I've got a list of a couple good ones linked on here https://github.com/mhxion/awesome-discord-communities/#c-and-c
ooh whats up in vc-1
?
i just wanted to know what was being discussed/what was going on
but now im here :)
CREATE TABLE [database_name.][schema_name.]table_name (
pk_column data_type PRIMARY KEY,
column_1 data_type NOT NULL,
column_2 data_type,
...,
table_constraints
);
@kindred rapids ^
This tutorial shows you how to use the SQL Server CREATE TABLE statement to create a new table in a specific schema of a database.
CREATE TABLE sales.visits (
visit_id INT PRIMARY KEY IDENTITY (1, 1),
first_name VARCHAR (50) NOT NULL,
last_name VARCHAR (50) NOT NULL,
visited_at DATETIME,
phone VARCHAR(20),
store_id INT NOT NULL,
FOREIGN KEY (store_id) REFERENCES sales.stores (store_id)
);
@peak frigate I found my wallet!!!!!
Sowwy ๐ฆ
lol where was it
@pearl torrent
:)
right next to my desk
LMAO
lol ๐
<quote> SQL is case-insensitive. Many databases fold names to lowercase when creating tables, so capitalisation is lost.
The only portable way to preserve "words" within names is to use snake case. </quote>
CREATE TABLE dbo.PurchaseOrderDetail
(
PurchaseOrderID int NOT NULL
,LineNumber smallint NOT NULL
,ProductID int NULL
,UnitPrice money NULL
,OrderQty smallint NULL
,ReceivedQty float NULL
,RejectedQty float NULL
,DueDate datetime NULL
);
these commas tho
YIKES
yikes lmao
favorite python orm so far
jake learning regex!
๐ค
what is the name of the program you use@raw wren
i'll bb maybe
bye!(maybe ๐)
CREATE TABLE Students (
FirstName VARCHAR(255),
LastName VARCHAR(255),
StudentID VARCHAR(255),
Balance DECIMAL(65, 2),
);
pascal case kinda
...
but your choice(i think snake_case is preferred)
What is GraphQL? Learn how it compares to REST and why developers love this query language for reading and mutating data in APIs https://fireship.io/tags/graphql
GraphQL API Docs https://graphql.org/
SpaceX GraphQL API https://api.spacex.land/graphql/
#dev#graphql #100SecondsOfCode
Install the quiz app ๐ค
man why does fireship always have me covered
๐
oh hi again mina
jake may i please have the permission to call you jakie?
its jakie
WHAT
jakie chan
nice
jakie monkey
ctrl + /
man suits ost is so good
???
@raw wren @charred creek you both were kids lol
exactly
everyone was a kid
hmm?
:incoming_envelope: :ok_hand: applied mute to @misty sinew until 2021-04-09 19:48 (9 minutes and 59 seconds) (reason: mentions rule: sent 9 mentions in 10s).
??
he mentioned us all
Thank you @coarse hearth bot ๐
wholesome!
rip i thought i was exaggerating but it was actually 22 years ago
@scarlet cedar
#include <stdio.h>
void main(){
float num1,num2,sum;
char operator;
printf("Please enter the first number:");
scanf("%f",&num1);
printf("Please enter the second number:");
scanf("%f",&num2);
printf("Please enter an operator either (+)(-)(/)(*)");
scanf("%c",&operator);
if (operator == '+'){
sum = num1 + num2;
}
else if (operator == '-'){
sum = num1 - num2;
}
else if (operator == '/'){
sum = num1/num2;
}
else if (operator == '*'){
sum = num1 * num2;
}
else{
printf("wrong operator");
}
printf("The answer is: %f",sum);
}
That is just powershell error?
you just put +
in the cmdline
what was you expecting?
soooo
i got muted before
as i said sd card is the best i just bought an sdcard with adapter and it has 128gb
@merry mica @leaden flare
wiggle
1
4
yes i know
i was just asking
so you have a extreame advantage