#voice-chat-text-0
1 messages · Page 848 of 1
You're quite loud in voice chat
lol
@maiden trout, stop or I'll notify the moderators
DU HURENSOHN
Huh what did i say
i just made u a compliment
just got a 15$ coopon for free
@heavy raptor Jetzt kommt trymacs HAHHAHA
JAVJAVQJOHWHE
The AC adapter, for an electronic device, is used to convert the amount of electricity from a wall outlet to the device. When the power cable breaks or gets cut, you can either buy a new adapter or attempt to repair the existing one. Repairing the AC adapter will require you to access the inside.
!mute 676481310880956428
:incoming_envelope: :ok_hand: applied mute to @heavy raptor until 2021-06-13 12:22 (59 minutes and 57 seconds).
ok
!ban 676481310880956428 racist troll
:incoming_envelope: :ok_hand: applied ban to @heavy raptor permanently.
to websie
i own the plastic doll
shhh @maiden trout
@slate pier ^
now how do i get nito
oh its in my email
13:24
ok ima use my credit card
brb gonna turn my wifi off
BRUH WHAT THE FUCKING SHIT
ITS FREE THOOOOO
You don't have 0$ on your card?
you are literally annoyed about not having a thing you didn't know existed half an hour ago
yes
that's ridiculous
Amazon.com: KASPAROV Turbo Advanced Trainer with Risc Style Processor - Saitek Article No: 209. All pieces present, no Instruction Manual (however we have basic Starting Instructions found online we will print and send). Takes 4 "C" batteries. No A/C Adaptor included. No box. Game plays well. All lights and sounds work.: Toys & Games
The Opinel company has manufactured and marketed a line of eponymous wooden-handled knives since 1890 from its headquarters in Saint-Jean-de-Maurienne, Savoie, France — where the family-run company also operates a museum dedicated to its knives. The company sells approximately 15 million knives annually. Opinel knives are made of both high carbo...
Hercule Poirot
@mild lake @gentle flint
finally won one
🎉
🎉

hi nwn
who is nwn?
# imports every module needed for proper functionality
from random import choice
import discord
import images
# specifies all the names of the cat files that can be posted in discord
cats = ['images/cat_1.png', 'images/cat_2.png', 'images/cat_3.png', 'images/cat_4.jfif']
client = discord.Client()
@client.event
async def on_message(message):
# check if the users text starts with '!cat' if so run a loop to randomly choose a cat photo and if it has alreayd been choosen do not pick it again
if message.content.startswith('!cat'):
store = choice(cats)
same = False
image = choice(cats)
if image == store:
same = True
while same == True:
image = choice(cats)
if image != store:
same = False
await message.channel.send(file=discord.File(image))
store = image
client.run('token')```
Using on_message is a bad idea for commands
Well, that's what everyone told me in the discord.py server
anyone good with pandas , can i call ?
@junior plaza please don't randomly DM me, thanks
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath can i be added to the voice channel ?
i mean what to do next
ohh ok
retention cohort
it is a bad idea xD
can i ask question about python
Go ahead
can i know how to link SQL server to python
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Meet the requirements
What do you mean?
you sent the link right about sql that is not working
Hey @whole bear!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
Hey @whole bear!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
@mild lake hi are you able to help me with matlab? i know it's not python related haha
I don't know what matlab is, sorry
no worries!
No I'm not but I try to help people if I can
Oh I see, just technical questions?
Mostly Python related stuff
Oh, do you have a minute to talk about yourself as a programmer? I'm ending my senior high school year this year, and need some thoughts on what to do with my life
If not it's ok haha, I'm just a little boring and have this in my mind
I don't have a job in programming, I do it as a hobby
I don't have a job yet
Oh, I somehow managed to take a lot of assumptions in a minute
Haha, it's okay
Well, have a nice day 
Thanks, you too
@frosty garnet, I think you're internet connection is bad at the moment
We can't understand what you're saying
Are you receiving or messages?
elif msg.startswith(" /kick"):
if admin != name:
client.send(F"{name}, you are not the admin please do not type admin commands.".encode(FORMAT))
else:
command, target = msg.split("ck", 1)
target = target.strip()
temp = clients[nicknames.index(target)]
temp.send(f"{target}, you have been kicked from the chat, you may now close the chat.".encode(FORMAT))
broadcast(f"{target} has been kicked from the chat by the admin {admin}!\n".encode(FORMAT))
nicknames.remove(target)
clients.remove(temp)
temp.close()
@paper tendon Hi, are you a dev?
!docs
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
unlucky my ass
lol
just complete those requirements
it has nothing to do with luck
every single person who joins has to meet the same requirements
@sonic hatch are from middle east?
hi
Hi
Where are you from
@sonic hatch where are you from bro
@clear shadow aur bhai , I am also from india
hi
hi
hi
hi
import random
class _Nonsequential:
"""Instantiated and given an iterable, will provide a
randomly selected element from that iterable each 'get'
call. The element will not be returned twice in a row."""
def __init__(self, items):
self.items = list(items)
self.last_choice = None
if len(self.items) <= 1:
raise ValueError #Items needs at least two entries
if len(self.items) == 2 and self.items[0] == self.items[1]:
raise ValueError #If we're going to have two items, they shouldn't be equal.
def get(self):
"""Returns a randomly selected item from self.items,
remembers the choice, then overwrites itself with _get."""
choice = random.choice(self.items)
self.last_choice = choice
self.get = self._get #Self-overwriting methods are probably bad practice.
return choice
def _get(self):
"""Randomly selects from self.items, provided the selection
does not match the immediately previous one. Remembers
the choice and returns it."""
while (choice := random.choice(self.items)) == self.last_choice:
pass
self.last_choice = choice
return choice
def nonsequential(items):
"""A generator interface to _Nonsequential."""
engine = _Nonsequential(items)
while True:
yield engine.get()
#I would do this all from a class alone, but I wanted a generator similar to
#itertools' objects and classes get stroppy when __init__ returns anything
#other than None.
if __name__ == '__main__':
"""Example code."""
fruit = nonsequential(['Apple', 'Pear', 'Grape', 'Banana'])
for i in range(10):
print(next(fruit))```
I would suggest you don't try to send the images as uploads to Discord each time. It could waste storage space. Instead, consider uploading to an image hosting service and posting the URL to that image.
Am I over-engineering things? Probably.
Opal. what does the little := mean?
overengineering is fun
!:?
Walrus operator.
Returns and assigns in one swoop.
aahhh ok
Assigns the right to the left, but also resolves that whole business to that value.
Thank you all for the 600k subscribers lets get into 1M
Thanks for watching my video , like it if you enjoyed and Subscribe!
Email me at: letsbeathaters@gmail.com If you want your clip removed.or for business.
We never has the intent to bully; harass or being racist, our videos are funny, enjoyable and uplifting. Most of the content should n...
Handy way of asking for input when you want to keep asking in the event user gives bad text.
TF
wanna play skyblock kemal?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Fo
oF
@someone
what is that one pip thing that lets you make a python env
Freezing rain is the name given to rain maintained at temperatures below freezing by the ambient air mass that causes freezing on contact with surfaces. Unlike a mixture of rain and snow or ice pellets, freezing rain is made entirely of liquid droplets. The raindrops become supercooled while passing through a sub-freezing layer of air hundreds ...
pipenv?
yes
'cuz python has a venv thing in it
no need to install it from pip
just do python -m venv virtual_environment_name
i need install
why
does because i need a env
so I'm saying you can make an env without installing anything else except python 3
😦
ok
if you want to actually specify a version you don't have installed, then you use the virtualenv pip package
what virsion of python do you have?
i have 3.9.5
nice
Scarlette the wombat was getting impatient for her lunch and was demanding some corn and cuddles!
<@&831776746206265384> also everywhere else
I'll get my flenser.
he put it in 12 channels
!pban 423031385586925569 Scam
19
:incoming_envelope: :ok_hand: applied purge ban to @rugged radish permanently.
soo what going?
1 result
that message
how many did he send?
im uninstalling pythn
kden
i made my own steak today
your stove was playing for high steaks
yes medium rare lots of butter and sprinkle
GARLIK
lots of garlik
huge steag
like realy fucking big
they should make steaks called steags
i need to install pyautogui
i used a lot of s and p
ok my explorer process is killing it self over and over again
Perhaps it prefers the comforts of home.
what
"Noo! I don't want to explore!"
sorry i dont have much human interaction
"I want to stay at home and eat potato chips."
yes me all the time
exept noodles and sand and v chips
im meking python painthttps://github.com/Dragon-Batch/Paint-PY
thank you its so hard
curses?
helo
FatyCaty.exe has stopped working
kden
i can click 38711 times a second
Hey @frigid panther 👋
Hey frederik 👋
I had an Aeron chair, I now sit on a yoga ball. There is much better research on yoga balls. https://www.amazon.com/yoga-ball/s?k=yoga+ball
Amazon.com: yoga ball
Shop Herman Miller x Logitech G Embody Gaming Chair and see our wide selection of Gaming Chairs at Herman Miller. In stock, exclusive, and ready to ship -- authentic modern furniture from iconic designers.
Hey! How yall doing!
Good! Wbu?
hi
Linux Discord works well enough for me. Mint, so Ubuntu-based.
im using browser
@amber raptor You died.
!stream 95175136319115264
@whole bear
✅ @rapid reef can now stream.
"and I'll make a man out of you" 🎵 Mulan training montage
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
A little bit yes
Interesting. What kind of e-commerce?
Online food delivery system
https://www.youtube.com/watch?v=DPZzrlFCD_I @whole bear
From Middle English ladder, laddre, from Old English hlǣder, from Proto-Germanic *hlaidrijō, from Proto-Indo-European *ḱleytro, from Proto-Indo-European *ḱley- (“to lean”)
last time someone tried, uk what happened
Ozzy
22°C
yoo
@faint ermine
@midnight agate, are you using Google Text To Speech to talk?
Not to be rude, but you did sound like a robot
would that generate an accent like his? 🤔
Oh okay
idk 🤷♂️ , not Hemlock i guess
casual american
even I have an accent, not being an american 🙂
oh, no, sorry I missinterpreted
you totally sound like
a russian, or ukranian or something?
italian, I guess, the correct answer
say "Mother Russia"
😂
"father putin" , "mother russia"
& back to learning about hooks
for me it's react hooks 🙂
!pypi reloading
Died
lmaoooo
@digital jackal , transparent profile picture
discord being buggy
I don't see anything wrong
woah how many italians do we have here today?
2
lmao
why'd i think it was 4
ok
professor greg do you have a sample course syllabus for a comp sci class in your country?
what you're describing does not sound like comp sci
sample*
I am truly the avatar of sweat
Have ya played dying light
Love that game
?
No worries, just confused
Support vector machines?
yessir
Errr 😅
i learn machines 👍
You might have luck asking in #data-science-and-ml
I'm a bit fuzzy on them sorry.
lol np bro
Yep 😄
Erm, it's like Vim
Kakoon
It's just vim but they put a lot of thought into simplifying a few things and making it more efficient.
xonsh
One of the nice things about Kakoune is it avoids doing anything that's already done by other programs. So like where Vim has a built-in window-manager, Kakoune uses the one you already have.
I love how Fish's tagline is "finally a shell for the 90s"
yeah lol
matplotlib
I agree tbh Jake 😄
seaborn
bokeh
Are you using Pandas Mina?
yes 99% of my python knowledge is pandas
the remaining 1% is smtplib, weasyprint, jinja
Maybe try this, looks kind of cool https://pypi.org/project/pandasgui/
Erm... I'm not sure 😄
wait isin't jupyter notebook for matplot lib?
im confused by this
for matplotlib?
This one looks like it's integrated a bit better: https://bamboolib.8080labs.com
lol
No shade intended 😄
thats how i use excel
i am so hesitant to ever go back to jupyter lol
no, 6969
next is 42,069
300 299 messages to go...
or 6,969
oh also
lol
@vivid palm are you doing data visualization stuff rn?
mmm maybe.. smth like that 🤔
i work in the accounting department so would eventually want to learn to make a web dashboard with drill down, etc.
some really good dashboard software
Honestly if you think you're not gonna be a good parent, then don't become a parent
like.. powerbi?
if you are a web company
its built on angular and super easy to setup, but i also hate using angular/js
what makes someone a 'web company'
i just meant if you have web devs
ah no. these are all side projects i'm doing on my own
also afaik we only have like 1 web guy
still a pretty neat dashboard software though
we don't even manage our own website
might be enough 
and we got hacked 2x this month 
yeah but no one is asking me to do this so i won't be given dev resources
Wow this looks amazing.
Well, I just bit the bullet
What did you do lol
So I've been hunting around and I just can't seem to find one that has ability to set specific "approximate time to finish" tags to tasks as well as being able to tally up how much a particular person has on their plate.
There is Microsoft Planner (comes with our 365) which is here https://tasks.office.com/
That will let us build a plan and attach tasks to it so they can be assigned and delegated. That also lets us add colored labels that we can name, so we can have one that's labeled 30 min, 1 hr, etc.
My solution would be to develop something in house for this. I've had my hands in Office 365's development tools before, and I do think I can make something that'll work. So far it's in the concept stage and I'm looking at how I would do it, but I think this would allow us to get exactly what you're wanting.
Sent this to the partner that wants the solution
All I can do now is see how it's received
Hello
Or just spy on people
lol
🖐️
i kinda just listen into the people that are smarter than me talk about programming while i work on some projects
its kind of like listening to background noise
im not scared, just very idiotic
you are genius sir @rugged root 🙌
ok no
lol
wow thats messed up
a warning would've been minimal 
i dont get how people even read docs
👀 ...what
Carefully
Lua for example
i can read, its just annoying
i think its because my attention span is trash most likely because of my age
i dont find a problem with it
i just made my opinion and moved on

currently working on a custom dashboard site for my bot cus top.gg aint it
multipurpose
yep
i ran out of ideas lmao
yeah whats up?
uhhhhh
a virtual adventure filled with multiple possibilities
its a pretty vague question
im out of school on wednesday 
yeah its pretty awkward

brb ladies and gentlemen, im going to grab myself some lunch
dose my status work?
I can confirm it does
si, signor
Okay, goodbye
!tvban 727184988465790976 2w Barging into voice chat and playing loud, blaring music is unacceptable. Please make sure that you verify that you aren't somehow playing loud music through your mic before connecting.
:incoming_envelope: :ok_hand: applied voice ban to @whole bear until 2021-06-28 19:47 (13 days and 23 hours).
Single and double quotes come from ancient times of language creation when the need for multiline strings was not taken into account. Backticks appeared much later and thus are more versatile.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates
!voice @whole bear
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ttyl~
Anyone good with networking and shit like that?
Did you save your work?
naw sound output stopped too. I'm on my phone
yeah more or less
did I crash it running my python script..???? it was not that much data
Imagine 12 hours clock
Can I post link to Youtube video?
Sure
What do you think of this guy's project?
https://www.youtube.com/watch?v=uOOF0p3tppk
Don't forget to subscribe for all the action in 2021! — http://blizz.ly/OWLSubscribe
Join us for the 2021 Overwatch League season — https://overwatchleague.com/en-us/schedule
Check out recent matches & highlights! — https://youtube.com/playlist?list=PLwnBEhITAFhj37zUVXbopgIUPDx-KHfav
Bryan joins us to talk about his amazing creation, building ...
The Cambridge Bitcoin Electricity Consumption Index (CBECI) provides a real-time estimate of the total electricity consumption of the Bitcoin network. The CBECI is maintained by the Cambridge Centre for Alternative Finance (CCAF) at Judge Business School, University of Cambridge.
!voice @crystal hull
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
That should tell you what you need to know about your voice gate system
Oh joy, more discussion about how Bitcoin isn’t destroying environment
While it is
Okay, I'm confused about this. Why does it check 18 - 233 twice
NFTs are a massively bad idea IMO
company goes down and now you have a block chain that points to a server that no longer exists 0.o
And a coin that is worthless
They'd be unable to verify the transactions
someone want to help me run a python file in command line?
?
!stream 568276116062863405
@vivid palm
✅ @vivid palm can now stream.
is suppose to be decentralized so it doesn't need gov backing
Cool, only capitalist anarchists want that, no one else does
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
But a currency that's highly decentralised is the need of hour
I would be happy to use Bitcoin as my daily currency
Equal value every where on earth
No currency exchange required
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Hello
write this command in voice verification
hey Mr Hemlock
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
Howdie Doodie, whats a happening
unless and until people know about meaning of tuple
Kind of looks like the magic the gathering logo
Amazon.com : Monster Mule, Ginger Brew, Energy Drink, 16 Ounce (Pack of 24) : Grocery & Gourmet Food
Amazon.com : Airheads Xtremes Bites, Rainbow Berry, Halloween Candy, Bulk, 30.4 oz Stand Up Bag (Pack of 2) : Grocery & Gourmet Food
Yes the name here has inappropriate words too
I don't think I'm allowed to say it
Okay
!helpdm
state_bool
!helpdm t
❌ @dense ibex Help DMs are already ON
hiiii
What does it do?
!user

Created: 1 year, 4 months and 20 days ago
Profile: @dense ibex
ID: 670802831678373908
Joined: 5 months, 10 days and 22 hours ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&854107452243968040>, <@&585529568383860737>, <@&267630620367257601>, <@&787816728474288181>
Total: 1
Active: 0
Get out
nou
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
@amber raptor blood pressure
This is why Rabbit is my favorite person
Cheekily tracking Google, tech, justice, & life. Press and other assorted death threats? Throw a knife@killedbygoogle.com. (I await a C&D.😍) Demiguy. (he/they)
17919
22389
@amber raptor
Internet Protocol version 8 (IPv8) is a fairly new version of the Internet Protocol. It was designed around the concept of being able to be expanded indefinitely, being secure, and being modernized. It was first published to GitHub October 22, 2018. The protocol itself hasn't been implemented into any software and isn't in use currently. Overall...
In fairness I didn't hear your mic being weird, Marko
That’s awful
IPvX is just nomenclature to say “Some version (X) of IP.” IPv7 was a proposal from 1993 called TP/IX: The Next Internet. IPv8 was a proposal from 1994 for the Pip protocol. For completeness, IPv9 was the failed 1992 proposal for TCP and UDP with ...
It was Hemlock, not me .
Pip Near-term Architecture (RFC )
gtg be in a meeting cya
it's a disGreece
kden?
ok then
Gotcha
Thought it was Thanks in Dutch or something
Actually what is "thanks" in Dutch
dank je
Neat
which literally means thank you
so yeah
only, that's the informal form
like you have vous and tu in french, dutch has the same
It's so interesting to me how a lot of the western European languages tend to smoosh together various language things
yeah, true
English used to have it too
with thou being informal and you being formal
Oh @gentle flint, do you speak Dutch?
Awesome, me too
thought you were Belgian
You're from Belgium too? Or the Netherlands?
where do dutch people live?
Amsterdam
in the Netherlands
Oh okay I'm from Antwerpen
nice
tbh most of what I remember from Antwerpen is the beautiful railway station, narrow streets with tall old houses, grey weather and endless traffic jams on the Ring om Antwerpen
You mean the capital of Antwerpen?
you covered it all with "beautiful railway station" 😂
butt hate everything else
not Antwerpen provincie
yes, like with Utrecht
ah, nice
one thing I like about my place is the rainfall
India receives the most rainfall in the world
and it was just raining 30 min ago
I should think it depends on where in India you are
it's rather large
well, average rainfall 🤷♂️
I'm not such a fan of rainfall tbh
but maybe that's just me
we get rather lot of it
well, I like the weather after rainfall
generally it'll be cold, damp indoors, grey and rainy, not to mention extremely windy
cooler, cleaner
ah, well the rainfall here stays
too much is obviously not good 😂
well, that would suck
for days
@cyan quartz awesome name and pfp 😂
if you need to serialize, make it json 🙂
best, human readable format
typedef struct {
uint32_t width;
uint32_t depth;
double confidence;
double error_rate;
uint64_t elements_added;
uint32_t* hash_table;
} CountMinSketch, count_min_sketch;```
@rugged root
thank you lmao
brb, I gotta go learn how to mess with xlsx files with code 😔
maybe after the song 🙂
Alt Rock I think
nice
Hello Mr. Grimlock @rugged root
You watched The Transformers?
If so, then you knew who Grimlock is.
hi
Hello there
By the way, nice effort of the whole community on the Pixels canvas.
I applaud this 👏.
I kinda wanted to join the bandwagon. But the accursed rate limit, plus lack of optimisation in my code made the whole experience of mine pretty... mundane.
@rugged root is this true? these guys sponsoring code-jam?
Yep, they've sponsored the last few ones in the past
@rugged root #voice-chat-text-0 message
I think we should add an emoji of Ast*lfo on our Pixels canvas.
The asterisk acts as a censorship character.
What's the actual name of it then
Guys. Have you guys watched Episode 1 of "Loki"?
Oh
a censor ship
A censorship isn't a kind of ship right?
Ik weet het maar ik snap de grap niet
the point it
Censorship is not a seafaring vessel.
censor the ship using censorship
Ohh like censoring, I though it was some kind of ship
censorship = censuur
Example: You can't read this, because data expunged
actually, because ||data expunged||
@somber heath how big is the iterable you want to pass in? 
Wait... I can't data expunged! Somebody PLEASE HEdata expunged
Not my project.
I do not face any virus problems.
Ever since I installed Ubuntu 20.04 LTS on my 490 GB HDD, 2 GB RAM PC.
Well, they say that Ubuntu requires at least 4 gigs of RAM, but (apparently) it does fine on 2 gigs.
"Install within the next ten minutes and we'll throw in this free toilet brush!"
a minimum of 4GB of RAM for a Linux system is frankly ridiculous but whatever
I'M COMIspeaker was liquidated
"Minimum of something" does not mean "you cannot do this or that".
- Katsumi, 2021
it only means you shouldn't
Impale Ale.
Anyway, bye for now 😙
Praise be to van Rossum!
Curiosity.
Hiiii
iiiiH
<!-- -->
cobol uses an asterisk
010010* FIND PRIME NUMBERS LESS THAN 100
010020* BY DENNIE VAN TASSEL
010030* JULY 4, 1959
010035 START-LOOP.
010040 MOVE 1 TO A.
tf
yes, I like my profile picture
while playing == True:
guess = input("Guess the number?: ")
if guess <= rn:
print("Higher!\n")
```
You can break out of a while loop
found on reddit
air purifier contains a speaker and lightbulb; that's it
big susuy baka
knockoff HDD
# Imports... Boring stuff.
import random
# Gets a "Random" number.
rn = random.randint(1,100)
playing = True
print("Guess the random number between 1 and 100!")
# The game loop.
while playing == True:
guess = input("Guess the number?: ")
guess_int = int(guess)
if guess_int < rn:
print("Higher!")
elif guess_int > rn:
print("Lower!")
elif guess_int == rn:
print("You win!")
playing = False
Try this line guess_int = int(guess)
while True:
try:
guess = int(input("Guess a number: "))
break
except ValueError:
print("Invalid entry")
If guess is an int between 0 and 101
# Imports... Boring stuff.
import random
# Gets a "Random" number.
rn = random.randint(1,100)
playing = True
print("Guess the random number between 1 and 100!")
# The game loop.
while playing == True:
guess = input("Guess the number?: ")
try:
guess_int = int(guess)
if guess_int < rn:
print("Higher!")
elif guess_int > rn:
print("Lower!")
elif guess_int == rn:
print("You win!")
playing = False
except ValueError:
print("This is not a number!")```
guess = int(input("Guess the number?: "))
If it works, it works
Guess the random number between 1 and 100!
Guess the number?: a
This is not a number!
Guess the number?: aaaaaa
This is not a number!
Guess the number?: 27
Lower!
Guess the number?: 10
Higher!
Guess the number?: 15
Lower!
Guess the number?: 12
Lower!
Guess the number?: 11
You win!```
Never used Django before. I use Flask
Hello :o
Everything with user inuput uses it
I play mc
django is pretty hard to learn.
question who would like to make a gui cover up for my minipc? :o i wanna learn coding ^-^
:)
oh my bad is UI
User Interface
^
like a os over on top of os
like a fake one
yes
like how scratch users do these fake os's
distros
import random
num = random.randint(1,100)
print("Guess the random number between 1 and 100!")
guess = 0
while guess != 'q':
try:
guess = int(input("Guess the number?: "))
if guess <= 0 or guess >= 100:
raise ValueError
except ValueError as e:
print("not a valid input")
continue
if guess == num:
print("You win!")
break
elif guess < num:
print("Higher!")
else:
print("Lower!")
woah
https://scratch.mit.edu/projects/474770379/ like this but my version of this but with python
https://scratch.mit.edu/projects/189371191 and like this
etc
no no , its not on scratch
i want my own version of this but with python
An OS with Python???
there are youtube tutorials.
I'd suggest, use pygame
im aware
is that easy to use? like pyglet?
It's very easy to use
Hmm no.
Why not?
imagine listening to happy birthday dance as people are singing it but u dance as it was death metal
xD
You won't be abled to do much with pygame.
especially if you're trying to make an os.
# Imports... Boring stuff.
import random
# import PySimpleGUI as sg
# TODO Make a GUI!
# Gets a "Random" number.
rn = random.randint(1,100)
# Vars..
playing = True
tries = 5
# Welcome Message
print("Guess the random number between 1 and 100!")
# The game loop.
while tries > 0:
#TODO Make a try counter!
print(f"You have {tries} left!")
guess = input("Guess the number?: ")
# Makes sure ppl dont strings in my input field!
try:
guess_int = int(guess)
if guess_int < rn:
print("Higher!")
tries == tries -= 1
elif guess_int > rn:
print("Lower!")
tries == tries -= 1
elif guess_int == rn:
print("You win!")
break
# Raises an error instead of crashing the app.
except ValueError:
print("This is not a number!")
pygame is more than suitable for starting out and learning
tries == tries -= 1
^
SyntaxError: 'comparison' is an illegal expression for augmented assignment```
tries -= 1*
You should probably use pyqt5.
pyqt5?
It's like tkinter
tkinter?
Yes, to create a gui.
But he wants to create a fake OS, doing that with tkinter or PyQt5 is way harder than pygame
hmm
It's hard either way.
No?
Pygame is for game development.
Yes but it doesn't mean you should use it for game development
And his fake OS is close to being a game
but lander?
does the fake os with pygame can effect real files. cus i want actual functional drive
based on the base os
Well it kind of does.
Also python pillow is good
That's for images
wdym where does it say only for game dev?
It was created for game development.
doesnt mean its for game dev spesficly
it also has the word "game" in it if it wasn't obvious enough.
it says it can be
It kind of does.
x = -x```
doesnt mean its forced on it
Exactly
Well it was created for making games but use it for whatever you want.
I proved my point.
Oh, well you're welcome.
Well I'm just saying, using PyQt5 or tkinter would be way harder
🙂
There's no module with description Used for making fake operating systems
PyQt is just a lot more professional looking.
Have you used pygame before?
How Long Does it Take to Learn PyQt?
Depends on how fast you learn
tkinter and pygame are definitely easier though.
but PyQt5 is better.
🤔
Okay, in that case. Just make a fake OS game
How long?
ardalan wanna work on it together?
a few weeks.
yeah
depends how efficient you learn.
that's ok
How to communicate with you
yes
You can give them more tries the bigger the range is
can i send a file with a python challenge?
easy = 10
normal = 7
hard = 3
difficulty = input("Select a difficulty: ").lower()
difficulties = {
"easy": 10,
"normal": 7,
"hard": 3
}
chosen = difficulties.get(difficulty)
This
You win! It took -3 Tries!```
The robot that made my laptop put the screws so tight, it bend the top of my screwdriver
else:
tries_taken = tries - difficulties.get(difficulty)
tries_taken = -tries_taken
tries_taken = tries_taken + 1
print(f"You win! It took {tries_taken} Tries!")```
Shit
One of the srews landed on my keyboard and now it's under the 3th letter of the alphabet
And I an't press it anymore
layout = [[sg.Text("What's your name?")],
[sg.Input(key='-INPUT-')],
[sg.Text(size=(40,1), key='-OUTPUT-')],
[sg.Button('Ok'), sg.Button('Quit')]]
today I talk about how to use strings with ! in them as well as the differences between hard quotes and soft quotes!
playlist: https://www.youtube.com/playlist?list=PLWBKAf81pmOaP9naRiNAqug6EBnkPakvY
==========
twitch: https://twitch.tv/anthonywritescode
twitter: https://twitter.com/codewithanthony
github: https://github.com/asottile
...
o/
@frigid panther new taemin EP tho 👀
oh, sorry, was away, but I haven't heard to taemin songs 😓
nop
taemin - move is good but you should really watch the mv for that one
will do
stuck due to rust? or..
you are not dumb, congratulations
Just stuck
wc back lord hemlock o/
I have no idea why
lol. i listen to various genres of korean music yes
omg iceman bc you have premium now we can reverse
yeahh massive hit when it came out
51434
162156





