#voice-chat-text-0
1 messages Β· Page 974 of 1
I just wanna be cool enough to make school frends tbh
Erm, about 23:30
same here!
I'm in the UK
5am here
i would usually be asleep but i dont have school this week so
Sorry, that was a response to something said in voice chat, if it seems a bit random.
yeahhhh its half term currently but i go back monday
sorry if i sound dumb for this, i am only just starting compsci but for python do you guys use ides or not??
I use pen and paper
vim or doom emacs
Are you just starting to learn to program?
yeah i know a few things from basic compsci classes a while back but yes
Oh right. Thonny is a pretty good editor for beginners: https://thonny.org/
But do u know how to write a hello world from scratch tho?
Alternatively, you could use Visual Studio Code, or PyCharm.
I mean literally from scratch with breadboards and stuff
okay thank you!! ill try
.wa -20C to F
.wa 20F to C
.wa who is god?
GG
me
Wolfram Alpha
It's for wolframalpha
Why u hate me?
You can use it for calculations and other things.
U banished me from heaven and sent to earth so I could suffer? How cruel
idk i thought it was funny
.wa 69i + 420j - k
Good for doing integrals.
It's a vector but ok
Yep. Although I don't think we get many queries per day π
Ah right
.source wa
.wa x y ^ 5 z * / 10 +

.wa convert infix to postfix : x y ^ 5 z * / 10 +
Oh, we might have hit the limit π
.wa (+ (* A B) (/ C D) )
.wa limit
Ah, 2000 API calls per month.
Nope
U can increase it YK? just fetch it directly from site without api
I mean technically it's posting an image so just get it directly from the web
instead of the api
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
Api is king
Oh, scraping the website instead of using the API.
or things like curl and wget wouldn't exist
Maybe it's ok, I'd need to check their terms Β―_(γ)_/Β―
Cuz api calls are limited?
Yeah, you get 2000 calls per month from the API for free.
Yep
Well they have their own language from where they make the main money
.wa who is your biggest customer
.wa customers of wolfram alpha
Nah it's just defined the word "customers" π
.wa companies that use wolfram alpha
I wouldn't pay for it if I were apple
.wa US state with the most cows per acre
:C
.wa companies who use wolfram alpha
.wa are you dumb?
Oof
@cosmic lark there's no way marin isn't best girl of this season
.wa [(6,7,8)(9,8,7),(4,3,2)]^-1
waifu
.wa who was wolfram
random question; is there an age restriction for this server? because i just realised i am probably way younger than the rest of you, and i don't want anybody to feel uncomfortable with my presence here
.wa who is your creator
You've used up your limit for Wolfram|Alpha requests.
Cooldown: 23 hours
You are not authorized to use this command.
13
xDDDDDD
Only Discord's own age requirement (13).
Yes
Me
I mean I have been here since I was 10:/
thank youu haha
I have Instagram just for stalking and osint
me but with facebook
Facebook's undocumented api is dumbass and literally gives info without having an account
So why have one?
true
i prevent from having an account on a media if I don't have to absolutely be in it
i couldnt care less about what companies have my data; it probably should be something i worry about however i dont
Unless they use it to manipulate ur POV
the amount of times wannabe internet trolls have sent a random ip pretending its mine and get all quiet when i tell them to do somethign with it
true true
Ik ur IP it's 127.0.0.1
prove me wrong
hold up
Heading off π
Password is password on the router btw.
see ya
Omw to "krack" it nearby the "reaver"
oh no
2 minutes until the new wordle comes out; the other day i accidentally found the word order for the future's wordle games smh
Cuz u can't deal with frontend without having frontend code
Bye π
i know everything
Imagine opensourcing ur website
Specially if it's a social media
Biggest mistake reddit has ever done
my hobby is looking through websites source code: i rarely find anything much but its fun to try
omg new day
U can better view it with a middleware proxy
Like zap or burp
Helps alot understanding what the site is actually doing
ooh
All i do in day reverse engineering binaries and websites
gg
And in night i be insomniac and watch anime
the server icon changed
yup prob for valentines
haha bhm is still going on (in america)
13 years on this earth and still single in every valentine
this year i was but last year i wasnt
Oh cyberpunk is in sale nice
Gift me a cyberpunk and I'm all urs
@mild quartz are u asian/Indian?
no
i have no money, sorry βΉοΈ
Good for u
??
Good for u
Aight some flowers will do
i can do that. now give me your fullname and house address
yeah wait sending
im going to sleep its 12:08. goodnight!!
Plot No F-7, Industrial Area, Phase 8
Mohali,Β Chandigarh, 160055
01724012341
My address
Send
G2g cheers
yoooooo
@somber heath im codingame
doing
i can hear you
so you can talk
no need to chat
wanna join me
codingame
yes
yesss
@somber heath any website to learn intermediate python
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
k
@somber heath yo im gonna do a euler formula project
that we just learned like 3 months ago
F + V = E + 2
oiler
lol
Faces + Vertices = Edge + 2
so you can find
3d obejct faces
or vertices or edges
if 2 values are given
idk
we learnt in 3
d
brb
blank gave answer
in lollipop
Hello there
hi
p p2
- = -----
v v2
ummm
k
@somber heath
yoooo
should i tell a joke
tommorow i have computers exam
python
and they tell for loops
and im learning discord.py
hi
no
i cant share screen toooo
discord.py moudle error
yess
0 to 10
i though you would ask about discord.py
send the question in chat
not properly
not clear
he said write the code to print whole numbers from 0 to 10 inclusive
for i in range(0,11,1):
print(i)
ye
eeeeee
k
easy
for i in range(0,11,2):
print(i)
done
0 to 3
ummm
k
!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.
!e
for i in range(0,2,1):
for i in range(0,4,1):
print(i)
@glass plinth :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
005 | 0
006 | 1
007 | 2
008 | 3
i thought to find a easier way
for x in range(0,2,1):
for i in range(0,4,1):
print(i)
yaa
k
should i print ...
or no
should i print like this
0
0
1
2
0
1
2
like that
print("0")
for i in range(0,3,1):
print("",i)
ohhhh
ummmm
1 sec
done
!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!*
!e
for x in range(0,2,1):
print(x)
for i in range(0,4,1):
print("",i)
@glass plinth :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 0
003 | 1
004 | 2
005 | 3
006 | 1
007 | 0
008 | 1
009 | 2
010 | 3
um
k
ooo
no
pe
?
im solving in visual studio code
i used repl.it
once
idk
@midnight agate yo idk
!e
y = 0
for x in range(0,2,1):
print(x)
for i in range(0,4,1):
print(" " * y,i)
y += 1
if i == 3:
y = 0
i am not able to get the semantic highilighting for rust even though i hvae enabled the setting for it , rust-analyzer provide that support by default
@glass plinth :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 0
003 | 1
004 | 2
005 | 3
006 | 1
007 | 0
008 | 1
009 | 2
010 | 3
any idea to tweak or do i need to install other extention for that
can anyone teach me intermedite python
like more
i use only for if while and stuff
i wanna learn morrree
do anybody have exp in using devposts?
@pallid hazel
yoooo
can you help
i wanna learn pycord
@woeful salmon
@midnight agate
little help
from any
if wanna help join ym server i need to share screen
please
nooo
discord moudle not found
that problem
pip install discord
pip install discord.py
pip install pycord
all done
why
i will unistall
ya
0.1.1
yee
py -3.10 main.py
py -m pip install pycord
pip install pycord -3.10
like that
py -m pip install pycord
like that
now downloading
numpy
and stuff
let meh check
yeah so your pip refers to your python3.7's pip ig
so everything you installed before was installed in python 3.7
py -m pip show pycord
done
lol
π€£π€£πππΉπΉπΉπΉπΉπΉπΉπΉπΉπΉπΉπΉ
;p;
;-;
downloading
done
k
let me check
no
script is
token = "token"
yes
import token
token.token
Hey @glass plinth! I noticed you posted a seemingly valid Discord API token in your message and have removed your message. This means that your token has been compromised. Please change your token immediately at: https://discordapp.com/developers/applications/me
Feel free to re-post it with the token removed. If you believe this was a mistake, please let us know!
import discord
from discord.commands import slash_command
import token
client = disocrd.Bot(debug_guilds=[943351565178249216])
@client.event
async def on_ready():
print("Ready")
@slash_command(description="Say hello")
async def hi(ctx):
await ctx.respond("Hello! π")
client.run("OTQzMzUwOTU0NTMz")
me aint
like this
i did
dosent work
lol
same error
same
damn this tutorial is bad
full wrong
bot. what
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API - GitHub - Pycord-Development/pycord: Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
FFFFFF
!e
def unhex(hex_color: int) -> tuple[int, int, int]:
r = (hex_color >> (8 * 2)) & 0xFF
g = (hex_color >> (8 * 1)) & 0xFF
b = (hex_color >> (8 * 0)) & 0xFF
return (r, g, b)
print(unhex(0xFF00FF))
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
(255, 0, 255)
whats >> never saw it in python
wgere
where
in some editors you see it
print("hello")
sometimes it outputs as >>hello
@glass plinth I recommend disnake
oh congrats π i didnt see it before
to learn it
!e
def unhex(hex_color: int) -> tuple[int, ...]:
r = (hex_color >> (8 * 3)) & 0xFF
g = (hex_color >> (8 * 2)) & 0xFF
b = (hex_color >> (8 * 1)) & 0xFF
a = (hex_color >> (8 * 0)) & 0xFF
return (r, g, b, a)
print(unhex(0xFF00FFFF))
go it
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
(255, 0, 255, 255)
xD it also works for rgba
col
wanna try something
@woeful salmon
tell done when done
k
then of number between 1-9
try what?
ye
number*2
done
then +5
done
then *50
done
-your bday year
done
!e
def hex_to_rgb(hex_colour):
hex_colour = hex_colour.lstrip('#')
return tuple(int(hex_colour[i:i+2], 16) for i in (0, 2, 4))
print(hex_to_rgb('#FFFFFF'))
@wind raptor :white_check_mark: Your eval job has completed with return code 0.
(255, 255, 255)
122
nope
yep 23
years
number is 1
noicee
i use this to find others age if they dont tell me
@wind raptor
oh
i was gonna visit your github ;)
You need python 3.8+
so clean
i like to keep it clean
@woeful salmon wanna test my bot
so your life is hard
k
man
@wind raptor it takes years to run disnake
@woeful salmon can you identify this language
i cant
i wanna learn this language
i think its c
Roblox
finally i completed coding
Im trying to learn
How to make a software
i forgot to print if bot starts
Where u put ur webhook
python dont require compiling
Anyone could help?
@wind raptor
mport disnake
from disnake.ext import commands
bot = commands.Bot(command_prefix=">", test_guilds=[943351565178249216])
@bot.user_command()
async def avatar(inter, user):
embed = disnake.Embed(title=str(user))
embed.set_image(url=user.display_avatar.url)
await inter.response.send_message(embed=embed)
code
and error is this
Noodle can you show me your cool projects?
Avatar attribute name is different in disnake. You managed to find one of the only tweaks they made to the original
anyone know vim?
anyways gtg bye :D
Bye
@wind raptor or @woeful salmon discord.py docs anyone
the docs where we can find commands
like kick
that stuff
Github needs spork requests.
im checkign
@wind raptor
yo help
plz
str(ctx.guild.id)
i get id
i want name
@somber heath
yo what about you
str(ctx.guild.id)
i wanna g et name
instead of id
k
understood
str(ctx.guild.name)
ctx.guild.name is correct
!voice @wise plover
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wind raptor why the f dosent this work in disnake
async def on_message_delete(message):
print(f"Message Deleted: {message.content}")
nvm
works
@wind raptor help
@bot.event
async def on_message_delete(message):
message = message
now i wanna use this message in @bot.command()
how
π am i colorblind or are the line numbers not changing to red there
@wind raptor
You would need a way to store the messages in your bot @glass plinth probably a class variable self.deleted_messages = {} when you initialize in your __init__ of your cog or you can make an attribute directly on your bot when you instantiate it so you can access it anywhere - bot.deleted_messages = {}
You could also store them externally in the case that your bot goes down
Then database or json would work to store them
I g2g for a bit. Will be back in a bit
finally, useful python..
!e
import random
drink = []
lst = ['vodka', 'whiskey', 'brandy', 'wine']
mix = ['coffee', 'orange juice', 'punch', 'milk']
drink.append( random.choice(lst))
drink.append(random.choice(mix))
print(f'Your drink is made with {drink}')
@pallid hazel :white_check_mark: Your eval job has completed with return code 0.
Your drink is made with ['brandy', 'punch']
Yeah, depends on what you use it for π€·ββοΈ
Basically, can you get things done.
And done well.
Easy, ask them how many Monty Python movies theyβve watched
snakes on a plane 1 and 2
Iβd say worry less and code more
@wind raptor
import disnake
from disnake.ext import commands
bot = commands.Bot(command_prefix=">")
class Deleted_Message(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.Cog.listener()
async def on_message_delete(self, message):
print(f"{message.author} deleted {message.content}")
@commands.command()
async def lastmsg(self, ctx):
await ctx.send(f"{self.message.author} sent {self.message.content}")
def Deleted_Message_Setup(bot):
bot.add_cog(Deleted_Message(bot))
Deleted_Message_Setup(bot)
@bot.event
async def on_ready():
print("Bot is ready")
@bot.command()
async def kick(ctx,member: disnake.Member,*,reason = "No Reason Given"):
await member.kick(reason = reason)
await member.send(f"You have been kicked from {str(ctx.guild.name)}. Because: {reason}")
@bot.command()
async def clear(ctx,*,amount=10):
await ctx.channel.purge(limit = amount)
await ctx.send(f"{amount} messages cleared")
@bot.command()
async def ping(ctx):
await ctx.send(f"Pong! {round(bot.latency * 1000)}ms")
the message delete works
Bye Maro π
Ah yeah, that's because you haven't yet assigned that attribute.
In the lastmsg function, you're accessing the attribute self.message. Is that supposed to refer to the last message deleted?
Ah right. In the deleted message listener, you need to save the message that was deleted.
Otherwise you'll have no way to access it later.
Could be as simple as adding ```py
self.message = message
π
@stuck furnace
yo dude
in here it dosent work
it shows error
when i do embed
last time when i did
await ctx.send({self.message.content})
it worked
not exactly that
i added a small sentence
was deleted by
like that
see how to make it work
@stuck furnace
yooo[ooooooo
@stuck furnace nvm
works
i just want to get the discord username
instead of discord username + tag
any way
Final Question
I want discord username only not username+tag
Is there a way
no prob
issue is
can i get only username
like Beast0214
instead of tag also
Beast0214#1065
not like that
i use ctx.guild.name
i mean
Right. I'm not sure if there is a proper way to do it with discord.py, but you could just strip everything to the right of the #?
One sec.
!e
a = "YoMama"
print(a[:-4])
I think str.rpartition will come in handy here.
@glass plinth :white_check_mark: Your eval job has completed with return code 0.
Yo
Ah yeah, you could also do that, as the discriminator is always 5 chars long π
Remember to include the #.
Here's how you could use rpartition:
!eval ```py
username_with_discrim = 'LX#4932'
username, _, discrim = username_with_discrim.rpartition('#')
print(username)
print(discrim)
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | LX
002 | 4932
Sorry dude, we don't generally allow people to promote their servers here.
Sorry, dealing with something rn.
guys can you see his screen share?
Just saw a video that says nothing rhymes with orange
And Iβm like
Strange rhymes with orange
π€
Yes. The video is wrong. There are many things that rhyme with Orange.
It also depends on how you pronounce Orange. With a short "i" sound like in Door hinge, or with a short "a" sound in flange.
But yes, many examples of rhymes, no matter what ones pronunciation.
i pronounce orange with champange. you may now drink
as in pain?
im so sad, I broke my algo and now have to figure it out again
sounds like your are in champange.
no, more like squuezing lemon juice in my eyes
looks tasty... but my problem is really a time thing, as I do the programming in my spare time.. i understand the code totally when i have time to work on it, but when im getting slammed with work and try to go back to it.. I feel lost at times.. then ofcourse get slammed with work again.. the constant back and forth it killin me
well gym time now, get both out of my head for a bit
"ge" isn't a full syllable, it's only a phoneme. It's what's called a hand rhyme
Like what?
Full rhymes with the whole syllable, not partial rhymes
I want to learn python can you help me?
!resources @vital peak
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Lots of good stuff on there and they just revamped the entire thing
thanks
Directed by Stephen Leslie, this be the unedited version of Tim Minchin's Environmental Anthem film clip recorded for BBC3's Comedy Shuffle.
hello
@rugged root Smuggling baggies in baggies.
Plastic-sniffing dogs.
Plastic raids.
"Sir, you've tested positive for microplastics. At this time, I am placing you under arrest under the Plastics Elimination act of two weeks from never."
If you eliminated customs, you'd just end up with traditions, anyway.
"...Picked up Jack Daniels..."
"Hey, Jack. Going my way?"
Amazing
This friggin failing/copy is going to be the death of me
I just need the items from the desktop
Yeah only because I don't have an additional drive I can boot from then pull the data off
Wait
I might
Hmm
Do I let this finish trying to fix it or do I try the other plan...
Get a USB to SATA adapter
It's waaay eaiser
@quasi condor Depending on the local pronunciation or orange: phalange short "a", long "a": shortchange, prearrange, downrange, estrange (etc) .... short "i": constringe, infringe, syringe, unhinge, impinge... etc.
No one anywhere pronounces orange with a hard A. The full syllable is range, so of those you listed syringe is the only one that works
Burn the Ubuntu ISO to a USB and boot to the live environment
Inside the Linux environment, mount the drive, and then mount another storage device
You can use another USB, mount a file share, connect OneDrive with rsync, there's several options
Then copy only the data you need
Linux has a lot less fuckery, and it completely ignores Windows file permissions
It's so much simpler
:D
Mm, true
I think I did go ahead and snag the Ubuntu thing
Well shit, will it have NTFS support built in?
Yes.
I thought that was something - okay cool
Should.
I thought most of the time that was something you had to snag elsewhere
Oh no wait, I remember
It's that it's only read only
Last time I did it, it wasn't built-in, but you can download it
Hold on, how do you pronounce infringe and unhinge?
Well in hinge there's no r
Infringe is probably another rhyme
Actually
I'm wronger
hold on, do you pronounce the r on the second syllable of orange? as in o-range?
I found a better language map of China: https://vividmaps.com/map-of-languages-spoken-in-china/
Got it
Rhymes are about stressed syllables
And the or is always the stressed syllable
That's why
You can very clearly feel that orange and syringe don't rhyme
But picking out why is difficult
They do love a revolution.
Also a better map of Taiwan languages: https://en.wikipedia.org/wiki/Languages_of_Taiwan
The languages of Taiwan consist of several varieties of languages under the families of Austronesian languages and Sino-Tibetan languages. The Formosan languages, a branch of Austronesian languages, have been spoken by the Taiwanese indigenous peoples for thousands of years. Owing to the wide internal variety of the Formosan languages, research ...
I think it depends on the accent. In the south I have heard a long A sound with OrAnge, but also the shortened "Arnge".
The "very important files" that need to be archived apparently contain about 15 versions of the Adobe Acrobat Reader installer that're between five and ten years old
Any reason not to delete all exe files before creating backups?
Only if you're sure that you can't get them again
Worst comes to worst you can just pack them up in a zip
True
I'm not really concerned about them taking up space though
I'm mostly just ranting about my boss being a hoarder and me not being able to throw anything away
I don't need 15 copies of a 10-year-old installer. I can have Creative Cloud automate installation and updates
Yarp
There would be security implications.
How goes the data recovery?
Having to make the live usb, going from there
Pretty sure there have been a couple of arbitrary code execution vulns that popped up in pdf readers over the years.
Boy howdy were there
Disclaimer: It's not a guarantee, even Linux can't fix bad sectors
Not looking to repair
I've already cloned the disk, I'm working from that
So I don't have to worry about disk failure mid retrieval
However, it cloned it skipping bad sectors, and I don't know which partition was hit the most
Hopefully just boot
Speaking of vulnerabilities...
Myrian Webster lists the pronunciation of syringe as sΙΛrinj or Λsirinj, orange is listed as ΛΓ€r-inj, ΛΘ―r-inj, ΛΓ€r(-Ι)nj, or ΛΘ―r(-Ι)nj. So that r in Myrian webster would imply that they are not full rhymes. However, other online dictionaries like definithing, list words like microsyringe (mΔ«βkrΕ-sΙ-rΔnjβ, -sΔrβΔnj). So, if the video states that there are "no rymes", that is false, as there are many slant-rhymes. But if the video states that there are not any "full rymes". I would say it depends on the pronunciation. One could claim that there are "no" rhymes, if one rejects all other pronunciations of words, or only acknowledges one style of dictionary.
America gets a lot out of it too.
Hi Hemlock π
I did not π€
Should have called it OBESE32
HA
Also, when I start googling weird words, I find things like Sporange: the name for the structure within which spores are produced. Gorringe: a surname, and and Oranje: a family name as in van Oranje.
@cunning lake why can't i speak
because you haven't read the rules
i re read them and i don't see any direct mention of the voice chat
Let's not have snide responses to new folks
i might have missed it
true story
?
.wa short 1 inch in cm
2.54 centimeters
You should use Arch BTW
what about nixos
Heathens
@haughty pier do you have ideas?
Me too
There are dozens of users!
KDE Plasma on Arch
this chair is broken btw
right so what i'm doing is trying to run i386 debian on a raspberry pi to install a bunch of java bundled into an installer bin
the install process starts off alright but then java shits the bed during the install process
Java is architecture dependent?
shouldn't fuckin be
since they've used the same java bundle for each different supported OS (win/mac os)
Classes are how Python is supposed to be written. I thought classes were stupid and confusing. Now I get it.
Yeah I think it comes down to not having to keep track of as much state mentally.
There are times it's appropriate to have functions. There are times it's appropriate to use classes.
Like, to understand an imperative program, you have to simulate the state in your head as you step through the code.
I need more popcorn for this conversation. πΏ
Fair. Although even in those cases, you can still think of the object as a given input/output.
Most of the time, the various cases you're dealing with even in functional can be broad
The keyboard I use
Mine?
Mine
Yours is just weird
Ortholinear, so grid.
JetBrains is best
By a lot
OS matters
Mac OS is just now getting "close to" getting Python 3
Is this the new thing nowadays?
Making a runtime and seeing how many languages you can fit in it?
{
"domain": "gmail.com",
"users": [
{
"name": "test-user",
"email": "${#name}@${domain}"
},
{
"name": "second_user",
"email": "${#name}@${domain}"
}
]
}
Not really the new thing. See JavaScript
Fair enough
preprocessConfig(config, root) {
Object.entries(config).forEach(([key, value]) => {
if (typeof value === "object") {
config[key] = this.preprocessConfig(value);
} else if (typeof value === "string") {
config[key] = value.replace(/\${([^}]+)}/g, (match, p1) => {
if (p1.startsWith("#")) {
return p1.substring(1).split(".").reduce((obj, key) => obj[key], config);
} else {
return p1.split(".").reduce((obj, key) => obj[key], root);
}
});
}
});
return config;
}
What about something like python's syntax for relative package names?
Is that the "Prototype" for Object?
Can you not create forEach loops on their own in JavaScript?
{
"domain": "gmail.com.${users.1.email}",
"users": [
{
"name": "test-user",
"email": "${#name}@${domain}"
},
{
"name": "second_user",
"email": "${#name}@${domain}"
}
]
}
Erm, I think yaml has something similar.
{{}}
So, do all of the emails follow the same format, with a few exceptions?
@mortal crystal You have a fair bit of background noise coming through
Can you mute when you're not speaking?
Thanks
Or see if Krisp is disabled or something
@whole bear you were correct. I finally found a dialects chart. English is a Dialect of Pro-Germanic, West Germanic, and Anglo-Frisian, but not German. https://www.britannica.com/topic/West-Germanic-languages
West Germanic languages, group of Germanic languages that developed in the region of the North Sea, Rhine-Weser, and Elbe. Out of the many local West Germanic dialects the following six modern standard languages have arisen: English, Frisian, Dutch (Netherlandic-Flemish), Afrikaans, German, and
!eval Why not just....
e={
"domain":"gmail.com",
"users":["test-one","test-two"]
}
def process_emails(email_dict):
return [f"{user}@{email_dict['domain']}" for user in email_dict["users"]]
print(process_emails(e))
@sweet lodge :white_check_mark: Your eval job has completed with return code 0.
['test-one@gmail.com', 'test-two@gmail.com']
!stream 319509382889209866
β @velvet urchin can now stream until <t:1645029870:f>.
Wouldn't it be easier to just have
{
"user":"test-one",
"domain": null
}
and pull the default if it's null?
I love regex, but I don't think it's necessary here
Pandemonium!
What's wrong with that?
Beautiful day for a walk
If you already have Bisk on a leash, and he leashes his lawn chairs.... How long can we make this chain of leashes?
Pandas is great
pandas.read_excel can import a xlsx file and build a table for you
Used it a on a daily basis to import Excel files from a client before we started using an API
are chamber pots still in use?
Oh awesome, one of my monitors just gave up the ghost
no it gave up the ghost
Just me
the problem was he fed the computer gremlins water
Again?
Back in a bit π
Hemlock we talked about this
Gotta love it when you look at your finger and you're randomly bleeding
Wheeeeeeeeee dealing with metal
God damn it, back to the install media
I don't actually know
It found my cameras and was able to tell that they're using an out-of-date version of whatever the hell they're using
That's pretty cool actually
what is this VC for?
Ah shit, no it's the zombie rig that's busted
... and maybe a little disconcerting
In general it's a bit of an off-topic channel. But a lot of times we do go into programming, careers, all kinds of stuff
could I get in and get some help? It is about tweepy
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Tweepy?
See here for the voice requirements
You're welcome, and encouraged, to use this text channel to type in until you meet these requirements
Twitter Python
I am building a bot for Twitter
Could I get help in VC? would be better using that I think, if not its ok
What's your question/issue? Typically it's easier to read the question, look at code, etc
Im getting this error, I seem to have 2 different folders for python and ive no clue how to fix it
@rugged root What are math calculations in computer science for?
Thats what im doing today.
Of course, if you're not able to verify yet, go ahead and type your question out
Also, it helps us a lot when we're able to read your code as we think through how to help you, so we always recommend that you paste your code in this channel [when asking for help in voice]
What editor are you using?
VS Code
Sorry, I'm really only able to look at the computer/channel off and on today
Not a lot of free time at work with what all is going on
Depends on the field
I almost never have to use math
What kind of math are you looking at?
Okay, and what're you needing help with?
umm idk
like dunder mifflin
The lounge area looks fun
@molten pewter wrote my thesis for me
not literally.
Yeah, you're in something called "pythoncodingpack"
Looks like it might be this?: https://code.visualstudio.com/docs/python/coding-pack-python
Try using this instead: python -m pip install tweepy, as specified in the above
What is your thesis @lyric pawn ?
alright let me try that