#voice-chat-text-1
1 messages Β· Page 95 of 1
laeto
walee
walee sounds somehow colonial
but I can't think of which colony
laojo sounds kinda Finnish
Duke læto Arteides
although laojoo would sound even more Finnish
lajos could be Hungarian
like Lajos Kossuth
Mangera
Tiaro
Ketoa
Eldahi
Dawal
Arama
I made the program, to genaret names for this and other (like this) dragons, because I ran out of ideas
we done
hurrah
from unittest import TestCase, main
from unittest.mock import patch, call
from flightplandb.submodules.tags import TagsAPI
from flightplandb.datatypes import Tag
class TagsTest(TestCase):
def test_tags_api(self):
with patch("flightplandb.flightplandb.FlightPlanDB",
autospec=True) as MockClass:
instance = MockClass.return_value
instance._get.return_value = [
{"name": "Decoded",
"description": "Flight plans decoded",
"planCount": 7430,
"popularity": 0.010143822356129395},
{"name": "Generated",
"description": "Computer generated plans",
"planCount": 35343,
"popularity": 0.009036140132228622}
]
sub_instance = TagsAPI(instance)
response = sub_instance.fetch()
correct_response = [
Tag(name='Decoded',
description='Flight plans decoded',
planCount=7430,
popularity=0.010143822356129395),
Tag(name='Generated',
description='Computer generated plans',
planCount=35343,
popularity=0.009036140132228622)]
# check that TagsAPI method made the correct request of FlightPlanDB
instance.assert_has_calls([call._get('/tags')])
# check TagsAPI method decoded the data correctly for given response
assert response == correct_response
if __name__ == "__main__":
main()
20 past 8 would be
10 voor half 9
which means
10 before half 9
half 9 is half an hour before 9
In the same way, 20 to 9 is 10 over half 9
10 after half 9
20 past 8 would be
10 perc mΓΊlva fΓ©l 9 vagy 5 perccel mΓΊlt negyed 9
which means 10 to half 9 or 5 past quarter 9
bye
bye!
:incoming_envelope: :ok_hand: applied mute to @misty sinew until 2021-04-24 22:39 (9 minutes and 59 seconds) (reason: newlines rule: sent 129 newlines in 10s).
!unmute 537553907363086343
:incoming_envelope: :ok_hand: pardoned infraction mute for @misty sinew.
thank god
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.pydis.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.
could i maybe have the infraction removed or is that not alowed?
that's a lot of ifs
That's not really possible easily, but I can just mark it as ignored
^
deleate
αΆα΅βΏ αΆ¦ α΅α΅α΅ α΅αΆ¦α΅α΅α΅ α΅α΅Κ³α΅αΆ¦Λ’Λ’αΆ¦α΅βΏΛ’?
α΅Λ‘Λ’
gaming
gaming
@misty sinew
β @sullen plaza can now stream.
yay
can i also π π π₯Ί
!stream 469961526149644310 1h
@unique raptor
β @unique raptor can now stream.
yaya
Guys, you know I'm listening right? π
No, please no.
Change subject please.
Guys...
I moved to vc0 lol
Hey @raven orbit, how are you?
I tried watching both streams at the same time and discord stopped working. Are you both using max settings? π
Erm, idk
Β―_(γ)_/Β―
Erm, I'm not currently watching.
Poly Bridge? π
I mostly play those sorts of games tbh.
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Hey π
@misty sinew
if y == 30:
if x <= 25:
z = (1+x)/2+64
else:
z = x/2+18
elif y == 31:
z = (x+1)/2+77
elif y == 32:
if x <= 25:
z = (x+1)/2+96
# this bit gets kinda ugly
elif x == 28:
z = 94
elif x == 30:
z = 96
elif x == 32:
z = 95
elif x >= 34:
z = x/2+106
elif y == 33:
if x <= 25:
z = (x+1)/2+109
elif x == 28:
z = 188
elif 30 <= x <= 42:
z = z/2+185
elif x == 44:
z = 219
elif x == 46:
z = 220
elif x == 48:
z = 223
elif x == 50:
z = 179
elif x == 52:
z = 180
elif y == 34:
if x <= 19:
z = (x+1)/2+47
elif 28 <= x <= 40:
z = x/2+177
elif x == 46:
z = 254
elif x == 48:
z = 240
elif x == 50:
z = 174
elif x == 52:
z = 175
@misty sinew
@hearty heath disappointed?
More just confused π€
he had a color map for every single x and y coordinate
with an rgb code for each
Right, well, you heard what he said
Alright π
Anyway, he was running through 128 statements each time
'cuz he had 128 values
so I told him that could be done more efficiently
this was the result
the maximum number of if statements to reach a value here is 12
vs 128 in the other
Going to do some benchmarks in python...
i am new so dont laugh at me but i have a html website and i want to make it a real website so ican share it some1 help
i can help check out my site
Can't wait to get here along my journey through AI and machine learning
@tough spoke this is just basic maths lol
yeah well that gives me problems too
Hi guys
Any one can help me with my code
I need to make code on python that solve Quadratic equation
can anyone tell me how to send code here
ok
np
!e
print(set("bella"))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
{'a', 'l', 'b', 'e'}
!e
from collections import Counter
print(Counter("Bella"))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
Counter({'l': 2, 'B': 1, 'e': 1, 'a': 1})
!e
from collections import Counter
print(Counter("Bella"))
print(Counter("Label"))
print(Counter("Roller"))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
001 | Counter({'l': 2, 'B': 1, 'e': 1, 'a': 1})
002 | Counter({'L': 1, 'a': 1, 'b': 1, 'e': 1, 'l': 1})
003 | Counter({'l': 2, 'R': 1, 'o': 1, 'e': 1, 'r': 1})
var
Have you figured this out? There's a neat way to do it π
Heyo Kemal
And everyone else π
Erm, good. I just got up tbh.
that is good
Erm...
Yes π
Ohh
Different problem to what I thought.
π³
Can you intersect Counters? 

You can!
class Solution:
def commonChars(self, A):
x=A[0]
j=0
i=1
list1=[]
for k in range(len(x)-1):
g=x[k]
for i in range(1,len(A)):
h=A[i]
for j in range(len(i)):
if g==h[j]:
list1.append(g)
j=j+1
else:
!code
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.
class Solution:
def commonChars(self, A):
x=A[0]
j=0
i=1
list1=[]
for k in range(len(x)-1):
g=x[k]
for i in range(1,len(A)):
h=A[i]
for j in range(len(i)):
if g==h[j]:
list1.append(g)
j=j+1
else:
ohno
Maybe this will work?```py
common_counts = functools.reduce(
operator.and_,
map(collections.Counter, A)
)
return [
letter
for letter, count in common_counts.items()
for _ in range(count)
]
sets, Opal
Ah right good π
Yeah, sets are cool tbh...
Yep π
print(", ".join(map(k, range(v))) for k, v in res.items())
!e
res = {"Test": 4, "Example": 3}
print(", ".join(', '.join((k,) * v) for k, v in res.items()))
@charred creek :white_check_mark: Your eval job has completed with return code 0.
Test, Test, Test, Test, Example, Example, Example
!code
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.
car = {
"brand": "Ford",
"model": "Mustang",
"year": 1964
}
Add the key/value pair "color" : "red" to the car dictionary.
do i need to add ""
ok thx
that is why they have " " in the code you shared
!e
print(''.join(sorted('Applesauce')))```
@stuck bluff :white_check_mark: Your eval job has completed with return code 0.
Aaceelppsu
!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 [ print('Hello world!') ]
@trim violet :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!e
class Fruit:
taste = "Null"
class Apple(Fruit):
taste = "Yum"
def get_taste(fruit: Fruit) -> str:
if not isinstance(fruit, Fruit):
raise TypeError(f"get_taste expected a Fruit type obj. Got {type(fruit)} type.")
return fruit.taste
apple = Apple()
taste = get_taste(apple)
print(f"Apple's taste is: {taste}")
number = 17
taste = get_taste(number)
print(f"Number's taste is: {taste}")
@charred creek :x: Your eval job has completed with return code 1.
001 | Apple's taste is: Yum
002 | Traceback (most recent call last):
003 | File "<string>", line 20, in <module>
004 | File "<string>", line 10, in get_taste
005 | TypeError: get_taste expected a Fruit type obj. Got <class 'int'> type.
@unique raptor see https://stackoverflow.com/a/3654936
which is a perfect answer to your question, and why it's not included
morning
"drinkable gravy" is a pretty accurate description...
gravy is drinkable
u mean βthank meβ
hence all gravy is bovril
Hey π
We know him as "Batch"
Erm, I think I've had it like once
I assumed it's a Northern thing.
I assumed instead of water you pipe Bovril into your houses π
It's like watered down bisto gravy π
It is kind of strange that it's a meat-based drink.
is it actually gravy-like? or more broth?
Just East London things...
Erm, it comes in a jar like Marmite, and you water it down to like soup consistency.
Oh hey Vester π
what is this
can you make me an M version 
!rule 5 
5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.
Wait, no, wrong rule
i cant speak
!rule 6 
6. No spamming or unapproved advertising, including requests for paid work. Open-source projects can be shared with others in #python-general and code reviews can be asked for in a help channel.
i alreay know
That's it
but mod the server
@peak frigate
Alright π
One second...
SketchBook actually π§
And then I literally screenshot it instead of saving.
Oh 
Pink?
Sorry, trying to find the eraser tool...
lmao
avast
its is so bad that its comes back to good
Wow these colours aren't quite right but whatever:
D:
Good π
im finally done
is the basic protection Windows Defender
Are you Turkish? π
why is the boss healing
The ender crystals
Griff, you shouldn't have said that π
what did I say? i wasn't listening
Not to make it a thing.

landskleuren
i know the ultimate way to make the pc faster
Uninstall System32
yes you can
are you proud of me
gega download more ram
Back in the day people thought this was a virus that microsoft manipulated to buy antivirus for earn money
@raven orbit join us
Back in the day people thought this was a virus that microsoft manipulated to buy antivirus for earn money
ent got no pfp to set, young fellah-me-lad
Thanks π
i don't have the sendmail directory in my xampp directory and i cant send emails with php (i dont know if this is the right server to ask on lol)
pypy
me: i want an organised server
mom: we have organised server at home
server at home:
Have any of you tried mypyc?
Hmm, you can sort by memory-usage in activity monitor.
You could use the terminal, but the gui is probably easier.
You don't have a python script still running in the background?
Can't open activity monitor either. No memory left
I concur with Griff.
didn't hear what he said
Oh, the PFP?
yah
Yeah, it's nice π
I prefer LX's
yeah
It's a masterpiece
Tbf, you can't really compare yours with that of a professional artist, so don't feel bad.
I am gonna remove the white background from LXs, though
my profile pic is better
sweet
batman knonckoff
He's posaman
oohh
Batman is a Posaman knockoff
LOL chi ride Γ¨ fuori - Il supereroe POSAMAN π
#lol #elio #katiafollesa #gianlucafru #michelagiroud #caterinaguzzanti #lillo #frankmatano #angelopintus #ciropriello #lucaravenna #thejackal
its an opposite you dummy
done
posaman is a batman ripoff
italian btw
of course. we could always resort to this one
posaman's better
no
dante alighieri is better
see you in a bit bbs π
brew install ncdu
ncdu
@steep fiber ^ better visualisation
du -a * | sort -r -n | head -10
who the fuck is even dante π€
he's the best poet that has ever lived
will read all disk contents -> sort by decreasing size -> show the top 10 results
he was an italian poet
Dante:
!stream @ornate birch 1M
@ornate birch
β @ornate birch can now stream.
Art in the making
That nose...π«
I only know about him from the 9 circles of hell
yeah but there is the paradise and the thing in the middle too
its a virus
And nreak ypur winstreak
download what?
middle one is purgatory, with the 7 terraces
thats a virus
RL stands for
R: I will
L: break your pc
paradise had spheres amirite
Yeah i didnt know how to say it in english lmao
Good joke @lusty dock
lol
I'm serious
yeah right xD
whats memzz
Nice try telling us to download rocket league
LESSGOOO
what is
you relly dont know or are you trolling?
dont know
rip
aight
Install Batman Arkham night
send screenshot
Try downloading it so you can know what we are talkin bout
No
π¦
im not dumb
Oh sorry didnt catch that
wait
wait you
wait you you
stream it in the Vc
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Please stop
Stopping process on the way
Yes, please don't spam to achieve the quota.
BRUH
Can you like stop
YOURE INSANE
@uneven mountain If you carry on, you will be muted.
β
you were at 50 messages ages ago
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
no i didn t
I literally looked...
Erm π
.griffify
Oh, @steep fiber, do you want one?
Needs to be a command
can you see the number of my messages
hell yeah
What colour? π
time for a pr?
Yes
Bloody clients not giving clear instructions
@lusty dock what colours?
I'll just be sitting waiting at the other end of the api.
blue abadiabadaiiiiiiii
Wait, so blue red and green?
im blue abadibabadaiiiiiiii
@raw wren I think you should do it 'cuz #voice-chat-text-1 message
They are hand crafted, Jake.
Wow and ported out of where?
"Blue that resembles yellow" wtf
like the mechanical turk
This is like "5 red perpendicular lines"
Maybe if I learn to use Pillow.
You're getting a letter D and that is.
Well. Looks like LX is in griff mode again
Itβs.. itβs.. itβs beautiful
Is there a cricket in the stream, or is my audio glitching?
It's like a high-pitched cricket noise.
Apollo missions is a fake
i too learn
i too losten ma mannn
i too listen some bubbles
You got a cricket in your headphones
and body like rabbit's body
yeah those are insane
The client is still waiting 
that's why i asked you
brb
how can i get cracked activaction keys for avast antivirus
@kindred halo @shell bolt
The literal meaning of decorators is this: py @my_decorator def my_function(): ... is equivalent to ```py
def my_function():
...
my_function = my_decorator(my_function)
@lusty dock
if the body is a rabbit's body then how does one see that it is a dog
they cant
!warn 715530438474727484 Please don't ask about getting 'cracked activation keys' again.
:incoming_envelope: :ok_hand: applied warning to @uneven mountain.
thats called art
have you heard of FOSS
sounds like the sorta thing you'd like
Free and open-source software (FOSS) is software that can be classified as both free software and open-source software. That is, anyone is freely licensed to use, copy, study, and change the software in any way, and the source code is openly shared so that people are encouraged to voluntarily improve the design of the software. This is in contra...
i will use my home door key π π π π
I have in the past found activaction keys that actually worked
Sorry for the delay π
thats awesome....
Hahah such a masterpiece!
You even got the gurkan colors
Yeah, I found the colour dropper eventually π
Sweet
π
Erm, the website.
I copied the logo from here: https://www.gurkult.com
Have fun at work @steep fiber π
@steep fiber hej dΓ₯
π
!voice pls read instructions here
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
oh okay :D, thanks
fine , just started coding 1 week ago
idk maybe pyautogui?
or somethin like that
in general
thanks xD
a dc bot
python is very nice ! and good for new coders!
13 almost 14
not yet
a friend is teaching me
14
idk
3 years!
i only code in python at the moment
do you know how to add activity to a discord bot using discord.py?
whats that?
yeah like "playing .help"
i know
i can send the code
please
@bot.event
async def on_ready():
await bot.change_presence(activity=discord.Game(name="/COMMANDS"))
thanks π
np
where do you put it?
almost where ever you want
well lemme try
it says "bot is not definied"
you might use
@client.event
async def on_ready():
await client.change_presence(activity=discord.Game(name="/COMMANDS"))
@tall monolith yes
wait a sec
ok
`
!python
do that mark but with sift
!py
print("Erfolgreich gestartet!")
async def on_message(self, message, ):
print( str(message.author) + " schrieb dir " + str(message.content))
if message.author == client.user:
return
@client.event
async def on_ready():
await client.change_presence(activity=discord.Game(name="/COMMANDS"))```
I'm reminded of Megumins Dad
!code
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.
before that piece
async def on_ready(self):
print("Erfolgreich gestartet!")
async def on_message(self, message, ):
print( str(message.author) + " schrieb dir " + str(message.content))
if message.author == client.user:
return
@client.event
async def on_ready():
await client.change_presence(activity=discord.Game(name="/COMMANDS"))
bot = commands.Bot(command_prefix='!', intents=intents)
client=commands.Bot(command_prefix='/')
Hey @unique raptor!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
β’ If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
β’ If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
before
async def
you must have
@client.event
#or
@client.command()
i must continue making my game
ty
im gonna publish it today
nice
@misty sinew Hiya π
yea
the feeling when you are not allowed to speak english when your parents are home lol
idk
finland
not much
Well we can't argue what someone parents says I guess
@verbal fjord Stop
phew
for me the bot takes only 25mt of ram
mb
i meant
i dont use google chrome bc it takes too much ram
@misty sinew Sweet
Sounded like when a smoke alarm runs out of battery π
yep
oof
Bit boring, this one is
has everyone ever been in Uganda?
no
mh no
Kampala
we were back in 2018
oh no nonnonono
what's with the audience in the back lol
hmmm
no idea, they are the hype ppl
or waiting their turn
π€·ββοΈ
gotta make my game
hi @hasty rapids
@hasty rapids helo
sorry
xD
wait
lemme break rules of my family, im gonna speak english in vc
whaa
who is 7 yrs old here
there was one
lol
@dusty apex hmm, pygame maybe
to detect clicks
rip
they wat?
hmm
args is a tuple
gg
thx
hmhmhmh
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
!e ```py
def test(*args, **kwargs):
return f"""
args: {args.class.name}
kwargs: {kwargs.__class__.__name__}
"""
print(test())
what is that supposted to do
typo
hello world program
sure
@whole finch :white_check_mark: Your eval job has completed with return code 0.
001 |
002 | args: tuple
003 |
004 | kwargs: dict
005 |
!e
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
@hasty rapids :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
003 | ^
004 | SyntaxError: invalid syntax
ik
f, gotta go to dinner
!e
def gg(hmm, **hmmm):
print(hmm)
print(hmmm)
gg("i wonder", hmmm="whether this would work")
@verbal fjord :white_check_mark: Your eval job has completed with return code 0.
001 | i wonder
002 | {'hmmm': 'whether this would work'}
!e
import minecraft
LOL
@hasty rapids :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 'minecraft'
!e ```py
@print
@lambda _: _.name
class Test: ...
@whole finch :white_check_mark: Your eval job has completed with return code 0.
Test
noobs creating minecraft in python be like
lol
imagine if that would work
!e ```py
@import
@lambda _: _.name
class hello: ...
i think theres a module
Python 3.8.9 (tags/v3.8.9:a743f81, Apr 6 2021, 14:02:34) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> @print
@lambda _: _.__name__
SyntaxError: invalid syntax
>>>
@print
@lambda _: _.__name__
SyntaxError: invalid syntax
>>>
```-_-
@whole finch :white_check_mark: Your eval job has completed with return code 0.
Hello world!
!e ```py
@print
@eval
class dir(import('os')): ...
rip
@whole finch :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 3, in <module>
003 | TypeError: module() takes at most 2 arguments (3 given)
@hasty rapids
Wait, is that modified client? I heard that on the discord subreddit
Or a new feature?
It's time for the game! Let's begin.
π½ π΄ π½
π΄ π½ 6οΈβ£
π½ 8οΈβ£ π΄
F
:tada: @verbal fjord won this game! :tada:
Just for tic tac toe? I donβt see other use cases
gg
Gg
you can put hyperlinks, enojis, text, etc on them. Im sure people will find some other use case
to make .ttt better ?
yea
Hmmm
Ok cool, so it is like check boxes?
.ttt @verbal fjord
Or just x and o?
i think i has also worked on ttt for a bit
It's time for the game! Let's begin.
π½ π΄ π½
π½ π΄ π΄
π΄ π½ π½
It's a DRAW!
gg lol
Gg
.ttt @hasty rapids
It's time for the game! Let's begin.
π΄ 2οΈβ£ π½
4οΈβ£ π½ π΄
π½ π΄ π½
Uhh
:tada: @verbal fjord won this game! :tada:
Gg
wanna play some chess?
i want
@verbal fjord which site
Join the challenge or watch the game here.
joinnn
i am joining
\π
a random guy sent me dm and said that i should teach him unity. i just sent him brackeys tutorial and then he stopped
.
chill
idk
@whole finch u asking for the helper role?
.ttt @verbal fjord
User declined
later
sad
It's time for the game! Let's begin.
π½ π½ π½
4οΈβ£ π΄ π΄
π΄ 8οΈβ£ π½
GG
:tada: @verbal fjord won this game! :tada:
didnt happen
\π
Screensharing in here be like
So it's gonna be forever
Or it's gonna go down in flames
You can tell me when it's over, mmh
If the high was worth the pain
Got a long list of ex-screenshares
They'll tell you I'm insane
'Cause you know I love the voice chat
And you're just the same
I got a blank warn name
and I will write your name
imagine if you would be able to do @ everyone
there would be ton of people spamming it
hey @stuck bluff can you recommend a module to detect key_presses, mouse_clicks and mouse scroll.
Probably PyAutoGui.
does it also detect scroll of mouse wheel?
oops π¦ I meant 1 minute
loll
IDEs, python code
I could show you incredible things
C++, even node,
you're the intern, I'm your dev
find out what you want
be that coder for a month
Wait, the worst is yet to come, oh, no
60 hurts. 70, not so much.
LOL, people talking about monitors. Me: using laptop
same
wbu 69?
the pyautogui presses them insstead of detecting them @stuck bluff
i checked the documentation
On that I have no comment I care to make.
Ah. Good to know.
well whats your thoughts on keyboard module Opal
You a poet now??
who knows
1 verbose poet
more like a taylor swift one
lmao
I think tkinter might have stuff. PyGame does it.
he said that pygame sucks
i am using pygame but it dosent detects
it only detects mouse click in my code
can you help me debug it by looking at my code Opal
It's not something I've done, before. I'm happy to help you go over any Exceptions your code might be raising.
ok
pastebins, spammy messages
I can make all the channels turn
files filled with viruses
keep you second guessing like
oh, my god, who is he?
get drunk on that fantasy
but I'll come back each time I leave
'cuz boys, I'm a nightmare, dressed like a nerd
So it's gonna be forever
Or it's gonna go down in flames
You can tell me when it's over, mmh
If the high was worth the pain
Got a long list of ex-screenshares
They'll tell you I'm insane
'Cause you know I love the voice chat
And you're just the same
light mode F
so it dosent detects a key press but it detects a mouse click
i used time.sleep because if i used asyncio it would just close instead of playing the sound and then closing it
He sended that to me too
and i also tried help channel but it got closed because of no activity
i found a module to serve the purpose pynput
Light mode in pycharm is good
no
Well brodevil is in the vc π€·ββοΈ
yes you are right, like you can work with pycharm in light mode but not discorcd
fair
!kindling
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
How I can convert this list in
[datetime.time(15, 59), 'Abhinav', datetime.time(2, 30), 'sibam']
The date time object to string?
to this:
[[datetime.time(15, 59), 'Abhinav'], [datetime.time(2, 30), 'sibam']]
No
In pairs?
@stuck bluff is typing...
its easy
@stuck bluff is typing.... (one dot is added, He is typing fast now ) lol
a = [datetime.time(15, 59), 'Abhinav', datetime.time(2, 30), 'sibam']β
b = [[a[0], a[1]], [a[2], a[3]]]``` There'll be a nicer way of doing this.
Who
Actually the above list can be change it might have more content in even number of lenght
Actually I m reading a Excel Sheet
its an easy code to write try doing it with for loop
Will but that wouldnβt work if you are doing it for multiple items
U can use zip for that
Yes.
But Can you give a example
i can give you the code if you show your attempt
Yeah, try using zip, if u fail let us know
# workbook object is created
wb_obj = openpyxl.load_workbook(path)
sheet_obj = wb_obj.active
max_col = sheet_obj.max_column
records = list()
# Loop will print all columns name
for j in range(1, sheet_obj.max_row +1):
for i in range(1, max_col + 1):
# row_obj = sheet_obj.cell(row =j , column = i)
a = sheet_obj.cell(row=j, column=i)
print(a.value)
records.append(a.value)
print(records)
i literally just farted
[[iterable[i], iterable[i+1]] for i in range(0, len(iterable), 2)]```
xD
Not needed, this a single line zip or
See itertools-more.grouper
Ok yeah even that would work
Just a sec.
you may have constipation
??
!e print(list(zip(*(iter(range(10)),) * 2)))
@blazing plank :white_check_mark: Your eval job has completed with return code 0.
[(0, 1), (2, 3), (4, 5), (6, 7), (8, 9)]
!e py iterable = 0,1,2,3,4,5,6,7,8,9 print([[iterable[i], iterable[i+1]] for i in range(0, len(iterable), 2)])
@stuck bluff :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'py' is not defined
oof epic fail
!e
iterable = 0,1,2,3,4,5,6,7,8,9
print([[iterable[i], iterable[i+1]] for i in range(0, len(iterable), 2)])
@dusty apex :white_check_mark: Your eval job has completed with return code 0.
[[0, 1], [2, 3], [4, 5], [6, 7], [8, 9]]
Actually Zip will not work in my case
@stuck bluff
`
Python Codes
`
'''py --> expectation
''' py --> reality
!e py pass
@stuck bluff :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | NameError: name 'py' is not defined
That's Really works
this is your case
!e py pass
@stuck bluff :warning: Your eval job has completed with return code 0.
[No output]
`
Everython is okay here
`
the alternative, for me, would have been this
They are one of a kind works of art.
!e ```cpp
#include<iostream>
int main() {
std::cout << "Hello" << std::endl;
return 0;
}
this thing aint gonna work snakebox do not run cpp. π
yeap
Good @ebon viper, you?
Why?
Garden just means a private area outside a house.
Yep, north Americans would say 'back yard'.
thats sure a lot of bikes
where was this pic taken?
central station
in Amsterdam
that's the bicycle racks in front of central station on an average day
aaah... im not surprised then
im back
hello! you must be hand
I think you can see from one side of the channel to the other.
With binoculars maybe.
oh god, so cursed
The Channel Tunnel (French: Le tunnel sous la Manche), also referred to as the Eurotunnel or Chunnel, is a 50.45-kilometre (31.35 mi) railway tunnel that connects Folkestone (Kent, England, UK) with Coquelles (Hauts-de-France, France) beneath the English Channel at the Strait of Dover. It is the only fixed link between the island of Great Britai...
Bit random π
They tried to build a tunnel way back in the... consults wikipedia
...19th century.
But it didn't go very far (literally).
bye LX
Almost everyone left
yup
def to_camel_case(t):
return "".join(map(capitalize, t.replace("-", "_").split("_")))
Geoffrey van Wyk
With PascalCase, the first letter of every word in the identifier is upper case.
With camelCase, the first letter of the first word in the identifier is lower case, while the first letter of every subsequent word is uppercase.
See Questions On Quora
Continue reading...
@sleek parrot :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 6, in <module>
003 | File "<string>", line 2, in to_camel_case
004 | NameError: name 'capitalize' is not defined
right
!e ```py
def to_camel_case(t):
tmp = "".join(word.capitalize() for word in map(str, t.replace("-", "").split("")))
return tmp[0].lower() + tmp[1:]
test = "test_string_abc"
print(to_camel_case(test))
@sleek parrot :white_check_mark: Your eval job has completed with return code 0.
testStringAbc
Marko can you lower your mic voice a tiny bit
-_----
im making my game
no prob
capitalizing function that Gi was making
Hmmmm
i got it to work now π
you can see Marko's last chat, its what Gi was trying I guess
can you post it here?
I want to see your version
!code
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.
imagine not being able to stream like me
i have made to_pascal_case ;p
def to_pascal_case(t):
return "".join(map(lambda w : w.capitalize(), t.replace("-", "_").split("_"))[1:])
np :))
def to_pascal_case(t):
return "".join(w.capitalize() for w in t.split("-"))
```would this work?
I didn't know its called pascal case, although I use it daily π
ye but the test cases have both - and _ delimited text
--_--
but otherwise the solution is fine
!eval [def to_pascal_case(t):
return "".join(w.capitalize() for w in t.split("-"))]
@trim violet :x: Your eval job has completed with return code 1.
001 | File "<string>", line 1
002 | [def to_pascal_case(t):
003 | ^
004 | SyntaxError: invalid syntax
!e def to_pascal_case(t):
return "".join(w.capitalize() for w in t.split("-"))
@trim violet :warning: Your eval job has completed with return code 0.
[No output]
def to_pascal_case(t):
return "".join(w.capitalize() for w in t.replace("-", "_").split("-")[1:])
```ff
no wait
ff
u need a pair of square braces too
what are you guys doing?
def to_pascal_case(t):
return "".join([w.capitalize() for w in t.split("-")])
def to_camel_case(t):
return "".join(map(lambda t:t.upper(), t.replace("-", "").split("")))
print(to_camel_case("the-stealth-ninja"))
!e
def to_pascal_case(t):
return "".join([w.capitalize() for w in t.replace("-", "_").split("-")[1:]])
print(to_pascal_case("R_fgzbzd-DAAsvvfdbb_vzvfd-rgdzgdg"))
where you trying to do this
!eval [```py
def to_camel_case(t):
return "".join(map(lambda t:t.upper(), t.replace("-", "").split("")))
print(to_camel_case("the-stealth-ninja"))
@tall monolith :white_check_mark: Your eval job has completed with return code 0.
THESTEALTHNINJA
can u use codeblocks, cuz without then the underscores turns text italics and overall misformates stuff
sirjan^
where you trying to do this ? @misty sinew
codewars





