#voice-chat-text-0
1 messages Β· Page 35 of 1
!e
spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[1::])
@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.
['bat', 'rat', 'elephant']
!e
spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[1:-1])
@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.
['bat', 'rat']
!e
spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[1:len(spam)])
@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.
['bat', 'rat', 'elephant']
arr[ start : stop : step ]
!e
spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[::2])
@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.
['cat', 'rat']
!e
spam = ['cat', 'bat', 'rat', 'elephant']
print(spam[::-1])
@trail mural :white_check_mark: Your 3.11 eval job has completed with return code 0.
['elephant', 'rat', 'bat', 'cat']
def main(subs, soup):
user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
print('\n')
# loop until user enters valid choice
while not validate_user_subtitle_choice(user_choice, subs):
print("Invalid choice, try again")
user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
user_choice = convert_to_int(user_choice)
idx = int(user_choice) - 1
idx = subs[idx]
def getHTMLdocument(url):
response = requests.get(url)
return response.content
sub_url = "https://subscene.com" + idx
html_document = getHTMLdocument(sub_url)
soup = BeautifulSoup(html_document, 'lxml')
subtitle_links = []
for i in soup.findAll('a'):
subtitle_links.append(i.get('href'))
print(subtitle_links)
why is this redirecting me to a cloudfare page?
an_iterable_of_nums = tuple()
comparative_num = 0
if any(comparative_num > num for num in an_iterable_of_nums): continue
import secrets
card_number = 52
random_number_list = []
for x in range(100):
random_number = secrets.randbelow(card_number)
random_number_list.append(random_number)
print(random_number_list)
if any(random_number_list) >= 52:
print("There is more than 52 possible random numbers")
else:
print("There is no more than the number 52 in the list")
def func(l):
for i in l:
if i > 100:
return True
return False
(my bot) Could make this in an instant
import random
from enum import Enum
from collections import namedtuple
Suit = Enum('Suit', ['Hearts', 'Diamonds', 'Clubs', 'Spades'])
Face = Enum(
'Face',
[
'One',
# ...
'King',
'Ace',
]
)
Card = namedtuple('Card', 'face suit')
random_card = Card(
random.choice(list(Face)),
random.choice(list(Suit))
)
One-to-one equivalent;
assert(
any(
i > 100
for i
in l
) == func(l)
)
def main(subs, soup):
user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
print('\n')
# loop until user enters valid choice
while not validate_user_subtitle_choice(user_choice, subs):
print("Invalid choice, try again")
user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
user_choice = convert_to_int(user_choice)
idx = int(user_choice) - 1
idx = subs[idx]
def getHTMLdocument(url):
response = requests.get(url)
return response.content
sub_url = "https://subscene.com" + idx
html_document = getHTMLdocument(sub_url)
soup = BeautifulSoup(html_document, 'lxml')
subtitle_links = []
for i in soup.findAll('a'):
subtitle_links.append(i.get('href'))
print(subtitle_links)
if __name__ == '__main__':
main(subs, soup)
Does anyone know why this is giving me a cloudfare link?
@late glade π
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 GameCharacter:
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def personal(self, health, gold):
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, career):
self.career = career
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
class GameCharacter:
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def personal(self, health, gold):
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, career, allegiance):
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | abc
002 | abc
003 | 123
!e ```py
class A:
def init(self, a):
self.a = a
class B(A):
def init(self, a, b):
super().init(a)
self.b = b
alpha = A(1)
beta = B(2, 3)
print(alpha.a)
print(beta.a)
print(beta.b)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
class GameCharacter:
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def __init__(self, health, gold):
super().__init__(GameCharacter)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, career, allegiance):
super().__init__(GameCharacter)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
class GameCharacter:
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def __init__(self, health, gold):
super().__init__(location, name, inventory)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, career, allegiance):
super().__init__(location, name, inventory)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
class GameCharacter:
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def __init__(self, location, name, inventory, health, gold):
super().__init__(location, name, inventory)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, location, name, inventory, career, allegiance):
super().__init__(location, name, inventory)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
print(player1)
alpha = A(a = 1)
beta = B(a = 2,
b = 3)```
!e ```py
def func(a, b, *args):
print(a)
print(b)
print(args)
func(1, 2, 3, 4, 5)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
003 | (3, 4, 5)
!e ```py
def func(a, b, c):
print(a)
print(b)
print(c)
args = 1, 2, 3
func(*args)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
class GameCharacter:
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def __init__(self, location, name, inventory, health, gold):
super().__init__(location, name, inventory)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, location, name, inventory, career, allegiance):
super().__init__(location, name, inventory)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}".format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
!run
!eval
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including code wrapped inside a formatted code block. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside of them.
By default your code is run on Python's 3.11 beta release, to assist with testing. If you run into issues related to this Python version, you can request the bot to use Python 3.10 by specifying the python_version arg and setting it to 3.10.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
!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 ```py
print("Hello, world.")
```
!e```py
class GameCharacter:
def init(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def init(self, location, name, inventory, health, gold):
super().init(location, name, inventory)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def init(self, location, name, inventory, career, allegiance):
super().init(location, name, inventory)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}".format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
@waxen barn :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | player1 is located at: Meridian
002 | player1 is named: Aloy
003 | in player1s inventory: hunter bow
004 | player1 Health: 100
005 | player1 gold: 60
!e```py
def __init__(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def __init__(self, location, name, inventory, health, gold):
super().__init__(location, name, inventory)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def __init__(self, location, name, inventory, career, allegiance):
super().__init__(location, name, inventory)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}\n"
.format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
print("NPC1 is located at: {}\nNPC1 is named: {}\nin NPC1 inventory: {}\nNPC1 career: {}\nNPC1 allegiance: {}\n"
.format(NPC1.location, NPC1.name, NPC1.inventory, NPC1.career, NPC1.allegiance))
@waxen barn :warning: Your 3.11 eval job has completed with return code 0.
[No output]
!e```py
class GameCharacter:
def init(self, location, name, inventory):
self.location = location
self.name = name
self.inventory = inventory
class PlayerCharacter(GameCharacter):
def init(self, location, name, inventory, health, gold):
super().init(location, name, inventory)
self.health = health
self.gold = gold
class NonPlayerCharacter(GameCharacter):
def init(self, location, name, inventory, career, allegiance):
super().init(location, name, inventory)
self.career = career
self.allegiance = allegiance
player1 = PlayerCharacter("Meridian", "Aloy", "hunter bow", "100", "60")
NPC1 = NonPlayerCharacter("Meridian", "Sylens", "Lance", "archaeologist", "Eclipse")
print("player1 is located at: {}\nplayer1 is named: {}\nin player1s inventory: {}\nplayer1 Health: {}\nplayer1 gold: {}\n"
.format(player1.location, player1.name, player1.inventory, player1.health, player1.gold))
print("NPC1 is located at: {}\nNPC1 is named: {}\nin NPC1 inventory: {}\nNPC1 career: {}\nNPC1 allegiance: {}\n"
.format(NPC1.location, NPC1.name, NPC1.inventory, NPC1.career, NPC1.allegiance))
@waxen barn :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | player1 is located at: Meridian
002 | player1 is named: Aloy
003 | in player1s inventory: hunter bow
004 | player1 Health: 100
005 | player1 gold: 60
006 |
007 | NPC1 is located at: Meridian
008 | NPC1 is named: Sylens
009 | in NPC1 inventory: Lance
010 | NPC1 career: archaeologist
011 | NPC1 allegiance: Eclipse
!e py age = 17 name = "Peter" print("Hello, {name}. You are {age} years old.") print(f"Hello, {name}. You are {age} years old.") print("Hello, {}. You are {} years old.".format(name, age)) print("Hello, " + name + ". You are " + str(age) + " years old.")
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello, {name}. You are {age} years old.
002 | Hello, Peter. You are 17 years old.
003 | Hello, Peter. You are 17 years old.
004 | Hello, Peter. You are 17 years old.
Hey @waxen barn!
You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.
@velvet meadow π
good evening, how do I have microphone released ?
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hello willian
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
dis is like prison
oh lol
i have loud mic
oh
bet
lemme
get
my
50
messages
oh no spam?
user_choice = convert_to_int(user_choice)
idx = int(user_choice) - 1
scraper = cloudscraper.create_scraper()
print(scraper.get("https://subscene.com" + subs[idx]).text, time.sleep(10))
to get the web scraper working it was this easy lol
i understand @somber heath
literally just adding a sleep function
I'm a beginner, I have 1 year in php.
3 days
I'm 17 years old
print("hello world")
shoot i know
ola mundo ?
i get a error
print("hello world")
everytime i run print("hello world")
!"hello world"
@robust lichen i wanna learn cpp
quanto anos ?
!hello world
wanted to learn python
lua Γ© backend ou frontend
conhece mysql ?
Do you really live in the United States?
well i do know scratch
lol
yeah i know
that was a joke
i dont know scratch
want to see a total legit link?
LETS GOOOOO
bru
wait
i know a trick
lemme just fast forward the date
on my pc
@robust lichen how do i bypass
qual linguagem posso pesquisar estudar ?
this 3 day wait
Man I'm bouta ask admin.
<@&267628507062992896> Please give me voice.
Oh shoot.
das all the admins
see
lemme try mod
pride man
Good night, I'm going to pamper you because it's already 00:32.
@pliant swallow π
bye π
hi
I am super new
so i cant talk yet
Im working on a neat program!
Well i just joined π
Well im super new to programming but i have a history with html
Basically i want to use text to generate images use ai like openai
but im running into a lot of hurdles
<html>
<body>
<h1>Hello World!</h1>
</body>
</html>
I dont know of any free solutions for this and im investigating
nice lol
yes
you know like playgroundai.com
O cool
I noticed that!
Or just pay for the processing power π
I probably will just pay for the processing power its a great point i'd'nt consider. I will probably only need to generate one image a week anyways at a cost of about .025 cents
Yes openai is at a cost of .025 cent per image!
yeah especially for this application now that i think about it it will definitely be worth it to have it up and running
There are free solutions to this but it relies on you having the processing power to the best of my solution like @somber heath was saying
A detailed, step-by-swrite-up on how I built Text2Art.com
thanks i'll look intot that
in tater tot that
"know" not really
But i took a youtube tutorial on c++ that was like 4 hours long
and that went up to 2-d arrays and got me familiar
I already got the program running to scrape the text that I want I just need to integrate it with the ai generation.
I respect what your saying and agree
I feel like the more senses you can engage though the better
it is true that most people absorb info differently, but sensory engagement is a good trick to absorb as much as possible. Talk the words out type the code out and listen simultaneously. Some people say chewing gum even helps along side all of this
Yeah im learning a lot making this program!
Well said
how to learn python <tab> key
all of my mistakes have been not tabbing lol
if you can use tab and make sure everything is under what is supposed to be your fine
@robust lichen who is this
the u tuber
haxxor
l33t
What I use to learn (the BEST IT training): https://ntck.co/itprotv (30% off FOREVER) *affiliate link
ππFREE Python Lab: https://ntck.co/pythonep1
Support the course: https://ntck.co/pythonrightnow
π₯π₯Join the NetworkChuck membership: https://ntck.co/Premium
**Sponsored by ITProTV
SUPPORT NETWORKCHUCK
-----------------------------------...
I think i have a really solid idea im afraid to talk about it because it will be stolen π¦
Okay don't sell this to microsoft lol
you ever heard of a word cloud
like it finds the most common words in a webpage
this but it uses the most common words in a webpage and puts them into dalle
like an ai image based word cloud
pretty good idea huh
wordss
like 5 phrases π
Well I read a machine learning book on python today and the idea came up
numpy makes this easy
uhhhh
like imagine an alt right forum
it takes all the common phrases from that forum and paints a literal picture of it
pc gonna be likeπ₯
to give you an idea of the ambience of the space
simple to exclude phrases
stop_list = [
I am only using ai not making the ai π¦
dalle wont let me
trust me ive tried π
you can experiment with dalle for free here https://playgroundai.com/
Playground AI is a free-to-use online AI image creator. Use it to create art, social media posts, presentations, posters, videos, logos and more.
it wont like you make the nice pics
I already have a program that does this
its just script kiddied lol
using beautiful soup
Interesting point
let me fix that before moving onto to the ai implementation
should be easy though
it would be but ill just outsource it to dalle's servers not worth it i'll just pay the pennies
and allow the creation of the image on a cylce once a day
it does i already created the secret key and everything
yes yes i was just rubber ducky debugging and running it by people who can listen to me talk about this stuff at this level
In software engineering, rubber duck debugging (or rubberducking) is a method of debugging code by articulating a problem in spoken or written natural language. The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a rubber duck and debug their code by forcing themselves to explain it, l...
api should be easy to implement as well i'll have a running beta
very soon
its a funny concept
has anyone ever asked you a stupid question they know the answer to
this is a trick to help them
have a rubber duck for them to ask all there dumb questions too
hello
im a big boy
print("Hello, World!")
print("Hello, World!")
Witch one is LUA and witch one is Python?
console.log("pee pee poo poo");
Correct @robust lichen !
you're being quizzed?
I will go for now thanks for talking to me man
I will return
when i have voice accessssssss
def main(subs):
user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
print('\n')
# loop until user enters valid choice
while not validate_user_subtitle_choice(user_choice, subs):
print("Invalid choice, try again")
user_choice = get_user_subtitle_choice(1, get_subtitle_count(subs))
user_choice = convert_to_int(user_choice)
idx = int(user_choice) - 1
scraper = cloudscraper.create_scraper()
print(scraper.get("https://subscene.com" + subs[idx]).text, time.sleep(10))
#print("https://subscene.com" + subs[idx])
if __name__ == '__main__':
main(subs)
time.sleep(10) because if not time.sleep then it would run forever and ever untill broken?
ahh
ahhhhhhhhhhhjhhhghgyh
hello, o great i get it
list = ['example', 'example', 'example']
oh
ye
so
print("list[-3]")
maybe
idk
oh
no quotes
shit
im dumb
print(list[-3])
print(list[0])
like
print whats in the list?
hmm
print(list)
maybe
ohohoiasdhhiojasdhoijaoisjgaoisjg
im 0-2
lol
ong
hmmm do you need to use a function that involve the variable
list = ['example', 'example', 'example']
def get_subtitle_count(list):
return len(list)
Duke, do you use poetry? O which package management do you use?
Python program to print list
using for loop
a = [1, 2, 3, 4, 5]
printing the list using loop
for x in range(len(a)):
print a[x],
i found dat
on the internet
NEXT QUESTION SIR
bet
actually python has different tool to managament dependencies using pyproject.toml file
i use poetry but also you can use pdb which is similar to npm
links = []
links.append("https://example.com/","https://example.com/","https://example.com/")
print(links)
like dat maybe
oh i did not mean to put that
!e
links = []
links.append('https://example.com/', 'https://example.com/', 'https://example.com/')
print(links)
@robust lichen :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: list.append() takes exactly one argument (3 given)
wait
!e
links = []
links.append("https://example.com/","https://example.com/","https://example.com/")
print(links)
@pliant swallow :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 2, in <module>
003 | TypeError: list.append() takes exactly one argument (3 given)
yes append add one by one
i think it is better inside of ['','','']
!e
links = []
link = "https://example.com/", "https://example.com/", "https://example.com/"
print(links)
@robust lichen :white_check_mark: Your 3.11 eval job has completed with return code 0.
[]
bruuu
i was bouta
wait
!e
links = []
presetlinks = ["https://example.com", "https://example.com", "https://example.com"]
links.append(presetlinks)
print(links)
@pliant swallow :white_check_mark: Your 3.11 eval job has completed with return code 0.
[['https://example.com', 'https://example.com', 'https://example.com']]
links = []
presetlinks = "https://example.com", "https://example.com", "https://example.com"
links.append(presetlinks)
print(links)
!e
links = []
presetlinks = "https://example.com", "https://example.com", "https://example.com"
links.append(presetlinks)
print(links)
@robust lichen :white_check_mark: Your 3.11 eval job has completed with return code 0.
[('https://example.com', 'https://example.com', 'https://example.com')]
these lowkey teachin me
hmm but is it a tuple right?
!e
print("Scratch is the best programming language")
@pliant swallow :white_check_mark: Your 3.11 eval job has completed with return code 0.
Scratch is the best programming language
you know it is
wdym
pick em out
list = ['/example/link', 'example/link2']
woah
list - []
best ever
ye i see
i also saw that minus
hmm
lets see
maybe
like just like print the right link
oh shit
hmm
idk
man
ye
!messages
wtf
why no answer
!msg
!sent
wtf nto
bro
can we join live coding so i can show yall me coding
oh
bru
what
how do i get screenshare perms
dont make me ping admins again
def extract_links(soup):
subtitle_links = []
for i in soup.findAll('a'):
subtitle_links.append(i.get('href'))
return subtitle_links
subs = extract_links(soup)
subs = list(set([i for i in subs if i.startswith('/subtitles')]))
oh
i see
makes sense
how do i get screenshare perms btw
bro
why tf to people gotta do that shit its nasty asf and not funny
well
bet
<@&831776746206265384> anyone tryna watch me stream :)

wait
can helpers do it?
should i ask one of dem
i'm sorry, there are no moderators currently in vc to moderate a stream
so we cannot give you streaming permissions
What if a helper does it?
that's not something we allow
bro
i just wanan show these ppl my python skills
im not no porn watcher
for f*** sake
we're well aware that you may not be a bad actor
sorry i dont mean to be disrespectful
but we've had many experiences where people streamed content we don't allow
and given that there's no history for vc, it's very difficult to moderate
the accident of 87'
can you just like have someone check up on me every 5 mins or smht
we only allow that if a moderator is actively in vc, so no
I mean guys you could do a private call since no one else is in the conversation with you and you don't need anyone else's help
:0
My man literally just changed his name
No scams?
that's a mod right there
lol
so orange you can't even see the color
hiding under that white role
Make a personal role called Mod lol
Make a bot for monitoring VC screenshare lol
Oh
application hmm
or they could let ppl get it at like lvl 10
Yeah, trust is still a big issue
@radiant surge so?
even with application or level
i'm sorry, but if there's no mod in vc, we do not provide streaming perms
Yeah, let's end the screen sharing talk here
bru i am the mod
and i am the vc
Come on bro
No like the bot gets triggered when screen sharing is enabled
like a role for it and the bot follows the role
is this a pee pee poo poo moment?
Sorry for bothering you, @radiant surge
Have a good rest of your day
alrighty sir thank you for taking your lovely limited seconds to respond to me it was not a competition i just wanted those perms
are u cat?
umm
yes.
Uh oh
@somber heath i mean there discord mods what do u expect π
they're
pronouns bro
have some respect
ima go try to make a simple game with pygame
did i do something wrong?
oh
well
it was saying i dont got python
when i run in cmd
wait
@small forge π
yeah ik
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i did
show me
i installed from python website
python website
you added the bin path right?
oh i know why
pls
give me
em
stafa
u got some connections
right
i got it
lets
go
i had
3.11
installed
and 3.10
i had to delete both
and reinstall 3.10.7
time to create
the game
just dmed
all the mods
asking if i can get ss perms
:)
oh
umm
where just gonna
delete those
messagesd
haha
i was jus messing around
jokes
funny
haha
doing what
idk
what that means
no
omgf
omfg
it says i dont got python
OMGMGMGOMGGOMGOLMGGOMGOMGGOM
cuh
no
python3 mymodule.py > output.txt```
gonna restart my pc
with open("output.txt", "a") as f:
print("Hello stackoverflow!", file=f)
print("I have a question.", file=f)
found this code
it has bad words
if u want it u have to dm me
everytime someone joins i rush to see if they have mod role
@lethal thunder wtf
...
wut
put that back
no
dm me
if u want it
it has bad words
cannot send here
jus got rate limed
@lethal thunder crazyy right
bro holding back tears
monkeys
@somber heath bro
it identifies as a monkey
let it be
@somber heath bro
just
let it be
its a monkey
dis you @somber heath ?
cursed
π
@fallen isle @keen hamlet π
no saxophone
hello
hello
agreed
as a sax player, tener and alto
now now
shh
Pops
@somber heath ur not my mother tho
fire backgrounds 101 
@pliant swallow do u FiveM dev?
and u do LUA
insane
I could put u onto an entire industry that is insanely profitable
oky
just look up FiveM
@woeful salmon hello
LUA is similar to C# and C++ and JAva
lua is not hard at all
fax
hello and wsup
roblox games
started work finally so been busy with stuff
nice!
all roblox games are made with lua
i just came back from cousin's marrige... haven't slept in 2 days
do it
gang
just got back home so gonna sleep a few hours later
CURSEEEEEEDDDDDDDD
only @lethal thunder knows
...........................................
its embedded in c alot of times to do runtime adjustments
and neovim uses it for configuration
best gif ever
irl
ima go to San Francisco, California for a wedding soon
@somber heath it was basically sitting with 100+ people i do know but never talk to and 1 cousin i do know while awkwardly looking around for 2 whole days
so yeah
the food was gr8
oh fr?
insane
give him owner rank^
ik
bruh
i just wanted you to be included π
ur a helper just like jusatafa
i bid farewell
i have a sticker but i dont know if its racist can yall tell me if it is?
idk
tho
another good thing @somber heath i found out i fit amazingly well in kurta pajama
honestly was the best i'd ever looked in my life
hi
Can you help me
How did he do this
https://youtu.be/StmNWzHbQJU?t=254
YouTube
Engineer Man
Using My Python Skills To Punish Credit Card Scammers
Image
he select all the words
The same time
Here we go again, another day, another scammer. This time a scammer decided to use a live payment processor to test validity of cards to scam. Not very smart and he'll pay because of it.
Hope you enjoyed the video!
Join my Discord server and come say hi:
https://discord.gg/engineerman
Check out some code on my GitHub:
https://github.com/realt...
@lavish rover so you still working in amazon or you switched?
wdym still working
i started 2 weeks ago there lol
i mean i remember you saying that you were looking at other offers
no i was just bored
@somber heath dm me π just curious
i get the feeling as i've just gotten done with 2 days of just sitting and doing nothing
I also like Noodles

@lethal thunder )) what s going on buddy
I gotta do more important things somewhere elses
adios
π
hello
Hello
hello
Hello
I need help with a simple python program
Find the Middle of three using minimum comparisons
Sample Input : a = 20, b = 30, c = 40, d = 50, e = 60
Output : 40
@steel sluice @lethal thunder
Nom no list
I need to compare
and find
see the sample input
assign the values to a,b,c,d
not to the list array
@warm jackal need help
a = int(input("Enter a number: "))
b = int(input("Enter b number: "))
c = int(input("Enter c number: "))
d = int(input("Enter d number: "))
if a > b:
a, b = b, a
if c > d:
c, d = d, c
if a > c:
a, c = c, a
if b > d:
b, d = d, b
if b > c:
b, c = c, b
not me, it's copilot
no numbers will be random
yes
nah man
that's too complecated
yes
yes
yes
but its' not the list
yes
it's interview question
yes
kinda
i'm not into interview
it's leetcode
question for my future interview
yes
Guys I'm here and i need Help @steel sluice @lethal thunder @warm jackal @late glade
i dind't get your answer
is there any VC where i can talk
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is a type of finite impulse response filter. Variations include: simple, cumulative, or weighted forms (d...
def middleOfThree(a, b, c):
# Checking for b
if ((a < b and b < c) or (c < b and b < a)) :
return b;
# Checking for a
if ((b < a and a < c) or (c < a and a < b)) :
return a;
else :
return c
Driver Code
a = 20
b = 30
c = 40
print(middleOfThree(a, b, c))
I found for 3, but I couldn't figure it out for 5 var
@warm jackal
He is like Elon musk's son name
x10an14
hehehe
π€£π€£π€£π€£
@lethal thunder
!voice
Voice verification
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
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.
def middleOfThree(a, b, c):
# Checking for b
if ((a < b and b < c) or (c < b and b < a)) :
return b;
# Checking for a
if ((b < a and a < c) or (c < a and a < b)) :
return a;
else :
return c
# Driver Code
a = 20
b = 30
c = 40
print(middleOfThree(a, b, c))
an
exactlyy
X Γ A-12
def median_of_any_number_of_elements(*input_elements):
sorted_elements = sort(tuple(input_elements))
median = sorted_elements[len(sorted_elements)//2]
return median
O(n * log n)
@oblique bough
hey guys, it's been a while since i last been active in this server. hi again, opalmist
Valloatsecourgondaroleitoncio Devon Gosp
Tele
Leafier Ched
Tiberiacantager
Alensly Jack
Affielemeddarmisedouse
Swalian
Requefal
Islard Hau Gawe Mona y Mar
Pave d'Aostralianith Fourcest Crustralianellano Rommertn
Tetithtvignotta
Estralian
Amer Bruns Protyram
Bryninost
Butto Regardo Egyptiazarelleydalenon a la dierioralivequet Stralettosterthur d'Aosteralive de Bleu
Regani Austrellage Mont-Piere
Olivettin de
Pyralivequish mi-A
Taladierne
Fiumi-Stillanshillattere Menottin
Emley Extral Tarrazskingotharponite Pont-Pineynia Doollouces
Meluth midde Chedderontabligno
Plymsborinkingot Farelpi Isle delo
Sonottings
Washir de Armigmoure Pyra
Alvecia
Flowerset Breshalloralieufchalian Chevrot
Ane Tarunlo Briege Chabichabecheddarmhouropam Belva
Myziegerbis a Australia```
Dunbery Stronnes
Sardalet Cenalan
Wens
Hushirene
Royalp Tau
Yarre a l'Aubbe
Dieur deddanchees
Dieuilla Feuille
Striege Druffe
Bano
Neuffalotte Gex
Estraliano Richk
Anne
La Valleno
Yarra l'Autu
Fermignollette
Raclet Ber j
Yarre-V
Style Ageddano
Austeriche
Kadc
Coldt Fouries
Meyeng Che
Buch
Aveynierit
Gueratyrintalette
Serreg
Adoberda
L'Ec```
im still not allowed to speak for a couple of days
but hi lol
im trying to get stable diffusion to work in python π
I dont have a gpu either lol
I think im coming up on an understanding of how to get it to work but god i spent all day
nah its like 3 days dude
not rick
test
rich
like cheeto
rich
Whattttt
Lol I guess I better get a new computer haha
Its okay i dont really mind the mispronounciation
my french friend is the reason i stopped going by richard
she kept calling me Rishart
got you.
hey guy thats using stable diffusion
is that u steve
im going to add you as a friend then
I was doing some studying on machine learning using python
I really am going to need to upgrade with all these difficult mathematics
I am learning still
but i am coming from a pretty mathy angle
I do math for a living
i do calculation for cannons to properly shoot
cool
i used to hate math
but the job that i do kind of changed a lot of my perspective
its very easy to visualize this kind of math
yes that was what fascinated me with numpy
heres the kind of math i do on a daily basis
not interested in doing this kind of math for fun haha
I had a good idea but i need better processing power to make it work
what is my cheapest option for getting this to work quickly
steve do you want me to just call you personally
ok!
Yo can I get help with something simple?
3 days
Its the blind leading the blind but whats going on
you're definitely fucked
jk
print ("Please type your name: ", end = "")
string = input()
string_length = len(string)
for i in string:
ASCII = ord(i)
print (i, "\t", ASCII)
yes you can iterate string
c u later!
anyone able to help me with that I cant figure it ou
Johnny you can't figure out what?
hello
I have problems with pygame
I installed it but this module doesn't work
idk why it's showing
so now i got this
im trying to do this
line 11, no tabulator to conditional block
just wrong tabs between 11-12 line
so they should be back more?
yes
exactly
if you don't know how I can fix it
just send me your code, and compare mine to yours if you want
my question is
ok
name = input("Enter your name: ")
print("SIMPLE CALCULATOR")
num1 = input("Enter First number: ")
num2 = input("Enter Second number: ")
user_input = "y"
while user_input == "y":
user_input = input("Would you like to go again? Y or N")
if user_input != "y":
break
math_type = input("Enter to Add '+' or Subtract'-' or Multiply '' or Divide '/' : ")
if math_type == '':
r = float(num1) * float(num2)
elif math_type == '/':
r = float(num1) / float(num2)
elif math_type == '+':
r = float(num1) + float(num2)
elif math_type == '-':
r = float(num1) - float(num2)
else:
print("Failed. Only enter '*' or '/' or ''+'' or ''-''")
exit()
print(r)
print(f'{name}, the result is {r}')
ok man i appreciate it alot
try to use Visual Studio Code, it's free programming IDE
It's very helpful
and I almost done
ok ill try it out
.
print('SIMPLE CALCULATOR')
name = input("Enter your name: ")
loop = True
while loop:
num1 = float(input("Enter First number: "))
num2 = float(input("Enter Second number: "))
math_type = input(
"Enter to Add '+' or Subtract'-' or Multiply '' or Divide '/' : ")
if math_type == '':
r = num1 * num2
elif math_type == '/':
r = num1 / num2
elif math_type == '+':
r = num1 + num2
elif math_type == '-':
r = num1 - num2
else:
print("Failed. Only enter '*' or '/' or ''+'' or ''-''")
print(r)
exit()
print(f'{name}, the result is {r}')
user_query = input("Would you like to go again? (Y/N): ")
if user_query.lower() == 'y':
print()
continue
elif user_query.lower() == 'n':
input('Hit [ENTER] to end this program.')
loop = False #you can also write "while True:" instead "while loop:", which "loop" value is True,
in "if" block instead "loop = False" write "break" if you wrote "while True:" when you want to break loop.
here
try now
I could use "match/case" but I saw you're using website python interpreter, which have older verison of python
wtf
how to do i get the role video to stream?
@midnight agate
u cant screen share either?
Administrative discretion.
@midnight agate can u screenshare?
ok'
@somber heath correct
Typically what will happen is that a voice chat regular admin/moderator will be in the voice chat, and you'll ask if it would be agreeable for you to stream such and such, and if it is, they'll give you the temporary ability to begin a stream. Keep in mind that you're asking them to watch you stream for moderation purposes.
i put poop in a kitkat and someone ate it
uhh
nothing
Or they might say, "Sorry, not just at the moment" kind of thing or somesuch.
@somber heath u a clown 

is this off topic @somber heath
changing my time no work
@whole bear π
Hi
I wonder what is being in IT like? Is it difficult really hoping for the best
What channel?
Also opal mist what is working dev like does it pay more than business is it more fun to do?
Oh ok I assumed you were
def print_function():
print("Hello, World")
print_function()
LOLLLL
@robust lichen
can u test me again
@somber heath
can u quiz me
on python
im a beginner
i started 4 days ago
4 spaces i think
at the end of a function
and a loop
can i have a code question
no
like me have to write code
class
sorry what
i was not paying attention
no
!d dict
class dict(**kwargs)``````py
class dict(mapping, **kwargs)``````py
class dict(iterable, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.
Dictionaries can be created by several means:
β’ Use a comma-separated list of `key: value` pairs within braces: `{'jack': 4098, 'sjoerd': 4127}` or `{4098: 'jack', 4127: 'sjoerd'}`
β’ Use a dict comprehension: `{}`, `{x: x ** 2 for x in range(10)}`
β’ Use the type constructor: `dict()`, `dict([('foo', 100), ('bar', 200)])`, `dict(foo=100, bar=200)`
def even_or_odd():
is this bitch odd? or even?
RETURN
even_or_odd()
best ide
num = int(input("give me a number please "))
if (num % 2) == 0:
print("even")
else:
print("odd")
there
i think it works
i tested it
no?
is it on a website?
ohhhhh
wait
okay
then
kk
from even import steven
@pliant swallow "Write a function which accepts a single integer as argument and returns True or False depending on whether the argument given is even or odd. Name the function as appropriate."
im testing rn
slowprint("Hello Fisher! Welcome to the fishing empire!", 0.5)
option = input(slowprint("Would you like a tutorial?[y][n]: ", 0.5))
Would you like to load a game[l] or start a new one?[n]
Answer: n
Hello Fisher! Welcome to the fishing empire!
Would you like a tutorial?[y][n]:
None
A call to slowprint returns None
So when you feed that to input, it's like you're writing py input(None)
Put the slowprint call above the input call.
i got it
self.btn_clients = tk.Button(self.frame1,
width = 40,
height = 5,
text = "Add client",
font = ("Sans-Serif", 12, "bold"),
fg = "white",
bg = "cadetblue",
relief = "raised",
bd = "5",
command = lambda:self.create_frame2())
def create_frame2(self):
self.frame2 = tk.Frame(self.frame1, bg="light blue")
self.frame2.pack(expand=True, fill='both')
self.pack_forget()
button = tk.Button(self.frame2,
text="Home",
width= 10,
height=2,
font=("Sans-Serif", 9, "bold"),
bg="white",
command=self.change_to_a_frame_from_frame2)
def change_to_a_frame_from_frame2(self):
self.pack(expand=True, fill='both')
self.frame2.pack_forget()```
Can someone please tell me why when the 'add client' button is pressed the frame doesnt wanna be created?
!code
