#voice-chat-text-0

1 messages · Page 1023 of 1

whole bear
#

brb

#

am back

#

ate a biscuit too

#

yea

#

oof

#

same tbh

#

deckard

#

left

#

the person who joined

#

for a second

#

Oo

#

you on desktop?

#

sussy bug ||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​||||​|| || @ripe lantern

#

oh

#

i mneant

#

the ping

#

the hidden ping

#

no

#

yea

#

integration for me

#

how many monitors do you have?

#

i don't want this leaf next to my name

#

i don't want people to say hi! to me

#

e

#

tf

#

why img in html

#

source

#

which os do you use

#

and which browser

#

aaa

#

Ctrl R

#

yea ik

#

you using browser app?

#

discord

#

browser ap

#

ohh

#

gtg

#

byee

pure path
#

2-4-6

#

Fits the rule

#

Just the next number

#

Fits the rule

#

Does not fit the rule

#

11?

#

Fits the rule

#

Does not fit the ruel

#

Fits the rule

#

Fits the rule

#

Fits the rule

#

Does not fit the rule

#

I was just checking for confirmation bias

#

Ye

#

Thanks guys

quasi steppe
#

anyone here wanna play hangman?

#

@ripe lantern up for hangman?

midnight mica
#

Guys I was wondering here if some of you know any dashboard or cms template free or open sourcing what would be valid I’m creating a backend CMS with Django and I’m willing since I’m new with the atmosphere of web development perhaps someone may know any of those ? Appreciate such help thanks or link provided

mental rock
#

is this it?

#

how can I tell if this is the right channel?

somber heath
#

It's the right text chat for this vouce chat.

#

Each voice chat has an associated text channel.

mental rock
#

hmm. I see two things, one has a speaker icon to the left, the other has a # in the same position

somber heath
#

The names more or less line up, semantically.

#

The # are the text chats. The speakers are the voice chats.

mental rock
#

what are the things you want to register?

somber heath
mental rock
#

oh ok

sweet lodge
#

👋

mental rock
#

wayy too new for python discord (second day) so I can't talk yet

rugged root
somber heath
#

Nerbs!

sweet lodge
#

Ran out of letters and started using numbers

mental rock
#

I tried to build powershell on linux, not sure why I couldn't... later, I tried xonsh, which is a shell combined with python3

#

but ctrl-C and ctrl-Z doesn't work on that shell, so eventuatlly went back to bash

sweet lodge
#

All the shells

peak copper
lunar mulch
#

where in settings are you guys I can't find anything

peak copper
#

Windows terminal settings not windows settings

lunar mulch
#

how do you access that?

mental rock
#

is powershell better than, what is it, the msdos command prompt?

lunar mulch
#

nvm got it

somber heath
#

Situation Terminal, Attend to Right Now. STARN.

rugged root
lunar mulch
#

it takes 1370 licks, don't believe me? try it yourself

willow light
#

I'm just excited that the season is starting a month early for the seventh year in a row.

mental rock
#

I think they put different versions of that commercial over the years

#

I remember seeing a more full version the first time I saw it, then I noticed they cut it up later

willow light
willow ruin
#

anyone knows java-script ?

narrow fern
#

Oh no, it's @rugged root.

#

Jokes aside, how are ya'? (@rugged root )

willow light
willow light
#

It gets even better in the replies

rugged root
#

Mild weather headache, but beyond I'm alright

willow light
narrow fern
willow light
#

I am convinced that the social media person for the OK Dept of Wildlife needs a raise

narrow fern
#

No Python session today?

somber heath
#

Less expensive than fatality payouts.

rugged root
#

Might code later

narrow fern
rugged root
#

@whole bear Would you mind changing your nickname to not use invisible characters? See #rules for more details

whole bear
#

Sure sorry

rugged root
#

No worries! Just letting you know

#

That'll tell you what you need to know

whole bear
#

thanks man

rugged root
#

Yeppers. Just realized I should have done that a moment ago

#

I'm off my game today

#

@wanton trout in here

wanton trout
#

What all math concepts do I need to learn (like matrix) to learn ML using Scikit learn?

rugged root
#

Sorry wasn't trying to push you out

#

Just trying to guide you to places that can help

wanton trout
#

Ah, no, I'm actually inside a car and my dad's coming so I can't really talk right now

rugged root
#

Oh no worries

#

This way you can write out questions for them, at least

wanton trout
#

Mhm, got it, thanks 👍

willow light
narrow fern
#

What do you exactly understand by, "I taught myself Python/I was self-taught when it comes to Python.."?

sweet lodge
#

That I taught myself Python?

silent cedar
#

hey i have a problem pls help

#

i installed a module

#

i try to import it and it python is not recognizing the module i am importing

#

i am sorry i dont have a mic

mystic stirrup
#

hello

willow light
#
Key: value
Comment: >
  this comment is too long
  and is multiline
mystic stirrup
#

I'm confused with one small thing

what's the dif between

from tkinter import *
import tkinter

?

willow light
#

The second one has less chance of overwriting namespaces

narrow fern
# sweet lodge That I taught myself Python?

In what manner, if I'm watching 'Udemy' course videos.... then would I be self-taught?
If I'm using any external resources for education, then maybe I'm not self taught?
For example : Watching videos, reading books, etc to learn Python.

willow light
#
from numpy import *
from math import *

print(pi)

@mystic stirrup if I run this, will it print math.pi or numpy.pi?

sweet lodge
willow light
#

!e

from numpy import *
from math import *

print(pi)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

3.141592653589793
willow light
#

!e

from numpy import *
from math import *

print(pi.__repr__)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

<method-wrapper '__repr__' of float object at 0x7fea9fca39f0>
sweet lodge
willow light
#

!e

from numpy import *
from math import *

print(pi.__str__)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

<method-wrapper '__str__' of float object at 0x7fc6fb4539f0>
willow light
#

Yeah, it doesn't tell you which pi is being used, the math one or the numpy one.

#

but I would assume it is math.pi because it was declared second

narrow fern
willow light
#

!e

import numpy
import math

print(numpy.pi)
print(math.pi)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

001 | 3.141592653589793
002 | 3.141592653589793
willow light
#

!e

import numpy
import math

print(numpy.pi.__repr__)
print(math.pi.__.repr__)
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 | <method-wrapper '__repr__' of float object at 0x7fef04b7ba50>
002 | Traceback (most recent call last):
003 |   File "<string>", line 5, in <module>
004 | AttributeError: 'float' object has no attribute '__'
willow light
#

oh whoops lol

#

!e

import numpy
import math

print(numpy.pi.__repr__)
print(math.pi.__repr__)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

001 | <method-wrapper '__repr__' of float object at 0x7fa40188fa50>
002 | <method-wrapper '__repr__' of float object at 0x7fa40188f9f0>
willow light
#

Hey Shenanigans how do I tell which pi is which in this case, other than looking at the code?

mystic stirrup
#

if i'm not wrong

willow light
sweet lodge
willow light
#

I wonder if there is a !debugger command...

sweet lodge
#

(Different people will have different opinions, of course)

sweet lodge
#

You can't really tell just from the repr str

willow light
#

I'm pretty sure this is exactly the reason why you should never use

from library import *
sweet lodge
#

Exactly

sweet lodge
#

Oh I see what you're doing now

#

Hmm

willow light
#

If you don't want to take the time to write out the full name of the library, you can use an alias

common ones include

import numpy as np
from matplotlib import pyplot as plt
import pandas as pd
narrow fern
#

Rookie question : How do you make the rectangular blocks be included in the text when you type a line/block of code?

sweet lodge
#

!eval

from numpy import *
from math import *
import inspect

print(inspect.getdoc(pi))
wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

Convert a string or number to a floating point number, if possible.
willow light
#

hmmm

willow light
#

damn it

#

repeat ` three times

narrow fern
#

'''

#

?

willow light
#

no, `, not '

#

like in markdown

#

it should be the one above the tab button on your keyboard

sweet lodge
narrow fern
#

Found it.

#

print("I'm young")

wise cargoBOT
#

Objects/clinic/floatobject.c.h line 200

"Convert a string or number to a floating point number, if possible.");```
narrow fern
#

Thank you @willow light.

#

print("No one says 'thank you' nowadays.")

#

print("same is the story for 'welcome'.")

radiant briar
#

im using sqlite3 and want to create add stuff into my data base using python is this right?

#

cursor.execute(f"INSERT INTO Accounts (Username, Password) VALUES ({USER},{PASS}")

willow light
#

just use mongodb Looks good to me

radiant briar
#

oh ok thanks

willow light
#

Have you tried testing the query using the sql CLI?

sweet lodge
#

There's a CLI?

willow light
#

I was about to ask if there was one, I've never used SQLite

#

Recovering from Oracle SQL over here.

radiant briar
#

Im not sure really, I just learnt the basics of sqlite yesterday

narrow fern
#

Can one of you give me a 'shoutout' if you're reading this?

willow light
#

oh cool

#

I'm sticking to DataGrip for SQL queries though

sweet lodge
radiant briar
#

whats DataGrip?

willow light
#

I wish I had a reMarkable when I was in college honestly.

#

Would've made Differential Equations and Calculus III much easier

narrow fern
willow light
#

see the link above

narrow fern
#

Plus, why can't we've sessions on Wednesday as well?

radiant briar
#

im using DBeaver rn, should I Switch to DataGrip

mental rock
#

I have a printer, got it maybe 10 years ago, serious workhorse... when I got it, the page count was 1 🙂

willow light
#

I do the all-products pack because I actually use GoLand, CLion, DataGrip, PyCharm, IntelliJ IDEA, and WebStorm

radiant briar
willow light
#

oh my b i was looking at the enterprise version

#

This is the individual price

radiant briar
radiant briar
willow light
#

There is a reason to use JetBrains though:

radiant briar
#

and can anyone help withthis?

willow light
#

we'

#

we'll need to see more of the code

mental rock
#

do you have it in a git repo?

silent crag
#

people never read letters or emails these days, myself included

radiant briar
#

yeah I tried and nobody is responding on that

wise cargoBOT
willow light
#

Um, yes someone did respond. I'm looking at #help-donut right now

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @radiant briar until <t:1653322781:f> (9 minutes and 59 seconds) (reason: attachments rule: sent 7 attachments in 10s).

willow light
#

Yeah, don't post a ton of screenshots btw

magic coyote
#

!unmute @radiant briar

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @radiant briar.

magic coyote
#

Don't spam images 😄

willow light
#

Don't spam in general tbh

magic coyote
#

That, too 🙂

radiant briar
#

lol mb it was adding my screen shots from both of my screens

rugged root
#

The code is more helpful than screenshots

willow light
#

Just post the relevant part of the code, not the entire directory

rugged root
wise cargoBOT
#

Hey @radiant briar!

It looks like you tried to attach file type(s) that we do not allow (.html). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.

Feel free to ask in #community-meta if you think this is a mistake.

mental rock
#

if you have nc installed, you can pastebin the output of an arbitrary command, for example ls -CF if you run it like this: ls -CF | nc termbin.com 9999

rugged root
#

Again, use the pastebin link I gave you, Andriy

rugged root
mental rock
#

it's pretty handy

radiant briar
#

Yeah idk its not working, but how do type the code in here

mental rock
#

and speak <your-language>

radiant briar
#

py def createAccount(self): USER = self.lineEdits['Username'].text() PASS = self.lineEdits['Password'].text() cursor.execute(f"INSERT INTO Accounts (Username, Password) VALUES ({USER},{PASS}")

willow light
#

use your keyboard just triple backtick

rugged root
#
code here
#

Then 3 closing back ticks at the bottom

willow light
#

Also, quick tip: don't use camelCase in Python, we use snake_case here

radiant briar
#
button_create = QPushButton('Create Account', clicked=self.createAccount)
        
layout.addWidget(button_create, 2, 2, 1, 1)
willow light
#

your create account method appears to be part of a class, can we see the whole class?

radiant briar
#
class LoginWindow(QWidget):
    def __init__(self):
        super().__init__()
        self.setWindowTitle('Login')
        self.setWindowIcon(QIcon(''))
        self.window_width, self.window_height = 600, 200
        self.setFixedSize(self.window_width, self.window_height)

        layout = QGridLayout()
        self.setLayout(layout)

        labels = {}
        self.lineEdits = {}
#

thast the beginning part of it

#

theres more

radiant briar
willow light
radiant briar
#

Today, we’re going to cover how to create and edit tables within a database using SQLite in Python. In this tutorial, we’ll create a database to manage data about a retail business with a few different locations. We’ll be storing information about each of our retail stores that are located across three different cities. We’ll also create a way t...

▶ Play video
narrow fern
#

I've a quick question :

      print("It's true!")``` 
When I run this line of code, it prints the given text. Why?
#

(Plus, I'm not in the call.)

#

Anyone?

willow light
#

!e

if 0:
  print("no")
wise cargoBOT
#

@willow light :warning: Your eval job has completed with return code 0.

[No output]
rugged root
#

if checks to see if a statement is True or False

willow light
#

Fun fact, True and 1 are the exact same

rugged root
#

If it's True, then it does whatever is inside the if block

narrow fern
rugged root
#

And vice versa

wind raptor
#
clicked = lambda: self.createAccount()
narrow fern
willow light
#

because True == True

narrow fern
#

And, why does it take automatically take the value as 1?

willow light
#

Because True === 1

narrow fern
rugged root
#

Any value that is not a 0, empty container, empty string, stuff like that, is considered Truthy

#

So it'll evaluate to True

willow light
#

if True means "If True is True"

rugged root
#

However, True technically also 1

willow light
#

if True can easily just be if not False

gentle flint
rugged root
#

!e

print(True + True)
radiant briar
#
cursor.execute(f"INSERT INTO Accounts (Username, Password) VALUES ({USER},{PASS}")
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

2
gentle flint
#

or any other thing that evaluates to True

willow light
#

!e

print(True xor False)
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print(True xor False)
003 |           ^^^^^^^^
004 | SyntaxError: invalid syntax. Perhaps you forgot a comma?
willow light
#

oh no we don't have xor I forgot

narrow fern
willow light
#

!e

print(True is True)
print(True == True)
print(True is 1)
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

001 | <string>:3: SyntaxWarning: "is" with a literal. Did you mean "=="?
002 | True
003 | True
004 | False
gentle flint
wind raptor
#
cursor.execute("INSERT INTO Accounts (Username, Password) VALUES (?, ?)", (USER, PASS))
willow light
#

!e

x = 5
if x == 2 xor x == 6:
  print("nah")
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 2
002 |     if x == 2 xor x == 6:
003 |               ^^^
004 | SyntaxError: invalid syntax
wind raptor
#

(USER, )

rugged root
#

It's ^ isn't it?

narrow fern
#

Thank you @rugged root and @willow light

willow light
#

oh it's ^

gentle flint
rugged root
gentle flint
willow light
#

!e

print(1 ^ 1)
print(2 ^ 1)
print("abc" ^ "")
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 | 0
002 | 3
003 | Traceback (most recent call last):
004 |   File "<string>", line 3, in <module>
005 | TypeError: unsupported operand type(s) for ^: 'str' and 'str'
willow light
#

hmmm, it doesn't seem to be consistent

#

!e

print(("abc" and not "") or (not "abc" and ""))
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

True
gentle flint
#

it's bitwise, not logical

willow light
#

I want to be able to do this to get my tasty xor

radiant briar
willow light
#

hmmm

!e

from operator import xor

print(xor("abc", ""))
rugged root
willow light
#

!e

from operator import xor

print(xor("abc", ""))
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | TypeError: unsupported operand type(s) for ^: 'str' and 'str'
radiant briar
willow light
#

!e

from operator import xor

print(xor(bool("abc"), bool("")))
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

True
rugged root
#

Things that would be nice if Discord had it:

#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

willow light
narrow fern
#

!e

for jelly in mylist: 
print (jelly)```
wise cargoBOT
#

@narrow fern :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 3
002 |     print (jelly)
003 |     ^
004 | IndentationError: expected an indented block after 'for' statement on line 2
narrow fern
#

Why does it print all the int?

#

?

sweet lodge
#

Because you're asking it to print each of the items

narrow fern
#

Sorry, I still don't get it.

ebon sandal
narrow fern
mental rock
#

what's the question?

narrow fern
sweet lodge
narrow fern
#

Oh, okay.

#

Thank you 🙂

sweet lodge
#

You can name it whatever you want

ebon sandal
narrow fern
sweet lodge
#

You get to pick that name

narrow fern
narrow fern
mental rock
#

right now it's for jelly in ....

#

so the variable it creates as a loop index is jelly

#

heh ham phonetics 🙂

sweet lodge
#

!eval

mylist = [1,2,3]
for jelly in mylist:
  print(jelly)
print()
for num in mylist:
  print(num)
narrow fern
rugged root
wise cargoBOT
#

@sweet lodge :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | 2
003 | 3
004 | 
005 | 1
006 | 2
007 | 3
narrow fern
#

😁

#

Thank you @mental rock and @sweet lodge 🙂

sweet lodge
narrow fern
sweet lodge
#

It was for the person asking about VS Code

narrow fern
#

Okay.

sweet lodge
#

But you might give it a try too, if you want

#

It's pretty popular

narrow fern
narrow fern
#

@wind raptor That's some high-end code....🤯

radiant briar
sweet lodge
narrow fern
narrow fern
sweet lodge
#

Yeah, he's been working on it for a while

#

I've been meaning to take a look one of these days

sweet lodge
#

Yeah

narrow fern
sweet lodge
#

JS will be waaay easier once it's full of Python

hushed elm
#

wish we had an alternative on the browser side besides javascript

narrow fern
hushed elm
#

like a better language specifically designed for the browser

worldly meteor
#

Hi, I see you're having fun here...

narrow fern
sweet lodge
#

I was making a joke

narrow fern
narrow fern
#

Sees 'for' loop*
Points finger towards loop aggressively.

sick cloud
sweet lodge
#

It'll be fixed when you rejoin us

sick cloud
hushed elm
#
Breaking out of generational behavioral patterns is difficult. A total commitment to the task is imperative. We must realize that we are not victims of our past, but of our present. We are not victims of our environment, but of our own thoughts and feelings.

We can change our thoughts and feelings by changing the way we see ourselves and our world. We can change our behavior by changing our thoughts and feelings.

We can break the generational patterns of abuse, violence, and addiction by taking responsibility for our own lives. We can become the change we want to see in the world.

We are not victims of our past, but of our present. We are not victims of our environment, but of our own thoughts and feelings. We can change our thoughts and feelings by changing the way we see ourselves and our world. We can change our behavior by changing our thoughts and feelings.

If you are struggling with generational patterns of abuse, violence, or addiction, seek help from a therapist, counselor, or other mental health professional.```
#

I just told it Systems of the world

rugged root
#

!stream 491289245974003722

wise cargoBOT
#

✅ @ripe lantern can now stream until <t:1653327285:f>.

narrow fern
#

Good night and cya guys..

sweet lodge
#

👋

narrow fern
#

👋

willow light
sweet lodge
#

I am very sorry for my transgressions

willow light
#

could be worse

sweet lodge
#

That's fiiiiine

woeful salmon
#

@rugged tundra you're not watching me cause a 100 memory leaks in rocket league and crashing it

#

which happen to be caused by my plugin

#

:x

rugged tundra
#

🚀 🚗

#

worldly maple
#

Hello

#

i need help

#

how does i call the function

#

?

rugged root
#

!stream 491289245974003722

wise cargoBOT
#

✅ @ripe lantern can now stream until <t:1653329099:f>.

worldly maple
#

any help

woeful salmon
#

autocmd BufReadPre,FileReadPre * i ? probably

#

to go into insert mode on open

#

autocmd BufReadPre,FileReadPre * <ESC>

rugged root
#

@wispy tulip

woeful salmon
sweet lodge
rugged root
woeful salmon
sweet lodge
woeful salmon
woeful salmon
#

why tho it just hurts your eyes

willow light
#

Because it annoys the perfectionists in the office, and so this is a small, nondestructive revenge.

wispy tulip
rugged root
#

sfc /scannow && dism.exe /online /cleanup-image /restorehealth && sfc /scannow

willow light
#

I am in 18 discord servers and I'm trying to reduce that by at least 7

#

I cannot imagine voluntarily being in more than 20

wispy tulip
woeful salmon
viscid lagoonBOT
#

pENgUiNlock

woeful salmon
#

i used to carry a 3x3 and a 4x4 rubics cube everywhere i went as a kid

#

o- o i had learnt to solve them from youtube and felt like a genius

rugged root
willow light
#

Why not just use clang and Xcode? </sarcasm>

#

!e

#include <iostream>

int main() {
    std::cout << "Whistles in GCC";
    return 0;
}
wise cargoBOT
#

@willow light :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     c++
003 |        ^
004 | SyntaxError: invalid syntax
mental rock
#

@wispy tulip were you the one who was having some trouble with classes?

#

oh he's gone :/

#

yes

rugged root
#
class Student:
  def __init__(self, name, age):
    self.name = name
    self.age = age
#

Student("Steve", 7)

mental rock
#

when a new instance is created, it automatically calls init()

willow light
#
@dataclass
class Student:
  name: str
  age: int
mental rock
#

when you create objects from classes, they're sometimes called instances

willow light
#

class Student:

  def __init__(self, fist_name: str, last_name: str, age: int):
    self.first_name = first_name
    self.last_name = last_name
    self.age = age

  @property
  def full_name(self):
    return f"{self.first_name} {self.last_name}"
rugged root
#

!e

class Student:
  def __init__(self, name, age, favorite_subject):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

  def introduct(self):
    print(f"Hello! My name is {self.name} and I am {self.age} years old. My favorite subject is {self.favorite_subject}.")

sally = Student("Sally", 5, "Science")
billy = Student("Billy", 6, "Math")

billy.introduce()
sally.introduce()
wise cargoBOT
#

@rugged root :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 7
002 |     def introduct(self):
003 |                         ^
004 | IndentationError: unindent does not match any outer indentation level
willow light
#

would you use def __str__(self) for that though?

rugged root
#

!e

class Student:
  def __init__(self, name, age, favorite_subject):
    self.name = name
    self.age = age
    self.favorite_subject = favorite_subject

  def introduce(self):
    print(f"Hello! My name is {self.name} and I am {self.age} years old. My favorite subject is {self.favorite_subject}.")

sally = Student("Sally", 5, "Science")
billy = Student("Billy", 6, "Math")

billy.introduce()
sally.introduce()
wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

001 | Hello! My name is Billy and I am 6 years old. My favorite subject is Math.
002 | Hello! My name is Sally and I am 5 years old. My favorite subject is Science.
golden mica
#

hola

mental rock
#

since you might want to set up each new object, here's what happens... like in ClariNerd's example, you would call Student("Joe", 18) and the first thing that happens, is memory is set aside for the instance, and then (in python) the system then looks for init, which it finds, and this one takes two extra parameters... do you see all that? (moment, coffee time)

rugged root
#

!stream 491289245974003722

wise cargoBOT
#

✅ @ripe lantern can now stream until <t:1653333987:f>.

mental rock
#

@golden mica hi

willow light
wise cargoBOT
#

@willow light :white_check_mark: Your eval job has completed with return code 0.

Joe is 12 years old.
willow light
#

that works too

mental rock
#

if you have that type of object

#

I dunno yet if I like javascript at all, or, if I like it better or worse than python

#

that sounds like pressure

#

is this still a demo of classes?

#

oh ok

#

do you generally have to refactor in order to create tests that (collectively) test all the code?

#

my belief system includes the thought, that if you tell your brain it's ineffective somehow, it will listen to you and obey

#

so I also believe that it's important to properly construct self-talk, and remove anything that puts your brain in a less-than-awesome light

whole bear
#

gays can help me

#

?

#
import os
from tkinter import Tk, filedialog

path = filedialog.askopenfilename(initialdir="/", title="Select file",
filetypes=(("exe files", "*.exe"),("all files", "*.*")))
os.system(path)

#

look this code

#

I want him to ask only once and not repeat (filedialog)
I select the file once and I am no longer asked what file to run

mental rock
#

@whole bearwe'll probably help... and, probably that's not a good way to refer to us 🙂

whole bear
#

I want to save the program when I select it and run it for the second time

mental rock
#

@whole bearwhen you say "save the program", what exactly do you mean?

lavish rover
#
a = {...}
a.update({x:y})
a[x] = y
mental rock
#

he thinks you're going to help him fill it out... in his mind it is urgent, but either doesn't know how to, or else, doesn't want to, be appropriately specific

woeful salmon
#

@lavish rover did you know in javascript you can make an object (so any javascript variable cuz they're all objects) immutable

#

you use Object.freeze() to do it :3

mental rock
#

I'll probably be back around in a couple days when I'm voice verified... to all here: stay safe/be well

lavish rover
#

But it would be nice to just make an unfrozen object hashable

#

Just hash it every time based on it's current state

woeful salmon
lavish rover
#

I mean yeah I don't doubt you

willow light
#

I figured something out

#
import contextlib
import pandas as pd

@contextlib.contextmanager
def dataframe_csv(input_string):
  """
  input_string can be any filename or path.
  I tested it with "s3://aws-gsod/isd-history.csv"
  """
    data = pd.read_csv(input_string)
    try:
        yield data
    finally:
        del data
        

if __name__ == "__main__":
  # usage example
  with dataframe_csv("s3://aws-gsod/isd-history.csv") as history:
    isd_info = history[history["ICAO"].astype("str").str.match("KASH")][["USAF", "WBAN"]].to_dict(orient="records")[0]
    usaf, wban = isd_info["USAF"], isd_info["WBAN"]
    
  with dataframe_csv("s3://aws-gsod/isd-inventory.csv") as inventory:
    gsod_list = inventory[inventory.WBAN == wban]["Station-Year"].to_list()
    
  gsod_list = [item.split("-") for item in gsod_list[1:]]
ebon sandal
lavish rover
ebon sandal
#

Got some stuff for y'all to cool off

#

😌

lavish rover
gentle flint
rugged root
willow light
#

Yes I am very active lol

frosty star
#

pfft

flat sentinel
willow light
sly kernel
#

You'd think with apps like Personal Capital the APIs would be exposed.

#

VS Code

#

Visual Studio is the bigger platform.

#

It is VS Code codespaces @urban summit

gentle flint
#

filename in the last sentence is very suitable

sly kernel
#

Json is supposed to be painless, no?!

#

And then they have refresh tokens to get the auth token.

gentle flint
#

thus the xml file is called pain

sly kernel
#

Yeah I see that now.

#

There is like Red Hat, Black Hat, and Blue I think.

#

Maybe White too

#

You can set up a proxy and reverse engineer an API.

#

Folks did it for couch surfing and espn.

willow light
#

FFS who put the XML in there?

wind raptor
#

@dark saffron pls chat in here

dark saffron
#
from selenium import webdriver

browser = webdriver.Chrome()
browser.get("https//github.com")
``` for some reason my chrome page opens up a page called data
#

and nothing happens

#

I also get a long ass output in python itself

#

oh no fml

#

i forgot a :

#

shoot me

#

Haha true, out of curiosity what are the guys streaming, for some reason i cant view it

#

oh my god

#

u solved my discord bug and that bug

#

I have no notification noises

#

now i do

#

Damn thanks, and i was seeing 2 others streaming but it kept saying stream ended

#

Whats that?

#

Damn one day i hope to be there, literally started learning this month

#

O thats quite awhile, have u made anything cool ?

#

I have not haha

wind raptor
dark saffron
#

from a string?

#

That's actually insane..

wind raptor
dark saffron
#

Reminds me of a retro game haha

#

And i have no idea what I'd want to make, I'll probably try something after i finish my course

#

That would be v useful

#

Oh it uses the syntax too? lmfao thats confusing as hell

#

I started off with java but I prefer python for now

#

haha

#

The L system thing sort of reminds me of fractals, i wonder if they're related

#

235 sounds like a lot tbf

#

With no advertising et

#

c

#

Makes sense, I did a module on that at uni as I did maths, we just didn't use strings haha

#

Definitely, how did u decide u wanted to make that, I've been wondering what I want to make once i finish my course but idk

#

I may have to add it to my list

#

I can imagine haha, Maybe Ill try to make one as I do have a maths background

#

This is going to be an issue today haha, discord seems to be bugging a lot

#

1 more day

#

What was that?

#

Yesss

#

although he's much bigger

#

Ehhh why scary :/

#

Manage to find the doc?

#

F

#

O niceee

wind raptor
dark saffron
#

This reminds me of uni so much damn

#

It's been awhile

#

I'll have to give it a read later, I do really want to try this though

#

Oh that aint that bad, and what's the difference between hardcoded and what you did

#

kk that makes more sense, not 100% clued up but its because im new ofc

#

if u want id love that haha

#

holyyy

#

that is sick

#

Do u have different variations?

#

question answered lmao

#

ahhh this is good

#

Will it create it in the same way every time

#

or are there some variations in order

#

xd

#

wtf lmaio

#

Damn thats really cool

#

I can imagine with randomness it would be v weird

#

What is a full iteration in this case

#

Yess somewhat, im surprised its still going tbf

#

Lmao

#

That was pretty fast

#

Definitely much better

#

Also ty for showing me all this, it's genuinely really cool

#

That's impressive though

#

Makes sense

#

thats insanely long lmao

#

This is seems like it genuinely covers everything damn

wind raptor
dark saffron
#

ty ty ill be looking at this soon once ive done my course

#

and i need to head off in a min

#

brb

torpid silo
#

hi

#

wah gwaan

#

sad not voice legible

#

good! ty

#

mhm

dark saffron
#

bk

#

my cat wanted loving time lmao and ty

torpid silo
#

hol on'

dark saffron
#

I might hop off now though, its 3am here and i need to stop procrastinating haha

#

ty for everything btw ill definitely be on some other days

#

Damn still early there haha, goodnight and thanks!

next folio
#

its agentbblack sorry

#

agentblack

somber heath
#

!e py import ast a = ast.literal_eval("[1, 2, 3]") print(a) ast.literal_eval("[1, 2, 3 + 4]")

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | [1, 2, 3]
002 | Traceback (most recent call last):
003 |   File "<string>", line 4, in <module>
004 |   File "/usr/local/lib/python3.10/ast.py", line 108, in literal_eval
005 |     return _convert(node_or_string)
006 |   File "/usr/local/lib/python3.10/ast.py", line 88, in _convert
007 |     return list(map(_convert, node.elts))
008 |   File "/usr/local/lib/python3.10/ast.py", line 107, in _convert
009 |     return _convert_signed_num(node)
010 |   File "/usr/local/lib/python3.10/ast.py", line 81, in _convert_signed_num
011 |     return _convert_num(node)
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/rocuromara.txt?noredirect

somber heath
#

!e py a = 5 b = [1, 2, a] print(b)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

[1, 2, 5]
cedar swallow
woeful salmon
#
await interaction.response.send_message(embed=embed, ephemeral=True)
await self.incremental_logs.send(embed=embed)
ebon sandal
#

oh boy, hajaa deleted her message "hey"

#

xD

#

discord bot?

woeful salmon
#
class Staff(commands.Cog, app_commands.Group):
    def __init__(self, bot: commands.Bot):
        self.bot = bot
        self.bot.loop.create_task(self.task_checker())
        super().__init__(description="Staff commands", default_permissions=discord.Permissions.all())
woeful salmon
#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

tame latch
ebon sandal
#

google colab

woeful salmon
#
@bot.message_handler(commands=["wiki"])
def handle_text(message):
    bot.send_message(message.chat.id, getwiki(message.text))

@tame latch try just this maybe?

lavish rover
woeful salmon
#

python -> python byte code (simpler instructions) -> interpret the instructions and run c code according to it

muted hound
quaint oyster
#

sorry mustafa

somber heath
#
class Character:
    def __init__(self, player, name, xp):
        self.player = player
        self.name = name
        self.xp = xp```
```py
player,name,xp
Pete,Drognorg the Dark,3600
Jana,Selwyn Greenhand,3456```
#

!e py vs = [1, "apple", True, 56] a, b, c, d = vs print(a) print(b) print(c) print(d)

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | apple
003 | True
004 | 56
ebon sandal
#

!e

a, b, c, d = vs
print(a)
print(b)
print(c)
print(d)```
wise cargoBOT
#

@ebon sandal :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 2, in <module>
003 | ValueError: too many values to unpack (expected 4)
ebon sandal
#

lol it donest work

#

xD

#

i thought it would be intelligent enough to just leave the last one 45

#

xD

somber heath
#

!e py a, b, c = 1, 2

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ValueError: not enough values to unpack (expected 3, got 2)
lavish rover
#

!e

vs = [1, "apple", True, 56, 45]
a, b, c, *d = vs
print(a)
print(b)
print(c)
print(d)
wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

001 | 1
002 | apple
003 | True
004 | [56, 45]
somber heath
#

!e py a, b = 1, 2, 3

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | ValueError: too many values to unpack (expected 2)
ebon sandal
#

now i understand why schools started teaching python

#

xD

#

@frosty starwhatsup

frosty star
#

Just ate

#

Hi chris

ebon sandal
lavish rover
#
attrs = ["id",
"name",
"level",
"energy_stones",
"world",
"xp",
"xp_required",
"hp",
"birthday",
"world_boss_damage",
"explorations",
"world_keys",
"damage_taken",
"xp_gained",
"energy_stones_gained",
"character_name_cooldown",
"rest_cooldown"]

with sqlite3.connect('DB Storage/essence.db') as db:
    cursor = db.cursor()
    for attr in attrs:
        cursor.execute(f'SELECT ? FROM incremental WHERE member_id = ?', (attr, member.id,))
        res = cursor.fetchone()
        setattr(self, attr, res[0])
#
x.y = z
setattr(x, "y", z)
frosty star
#

R u making a game

woeful salmon
#
class Person:
    pass

mustafa = Person()
setattr(mustafa, "place_of_birth", "turkey")
ebon sandal
#

bruh

#

xD

#

lol

#

@lavish rover

#

😂

frosty star
#

Mustafa.pob = turkey

woeful salmon
#

we just need to keep doing this till people start dming him the thing again

#

😄

lavish rover
#
class Person:
    pass

davinder = Person()
setattr(davinder, "iq", -1)
ebon sandal
#

bruh

#

xD

#

iq cannot be -1

#

🙂

woeful salmon
quaint oyster
#

whos davinder

#

i see

lavish rover
#

noodle

ebon sandal
#

@upbeat torrentu need to have voice verified role to talk

teal forum
#

@lavish rover are you really from Turkey? you sound like it

somber heath
#

!e ```py
class MyClass:
def init(self):
self._val = 0

@property
def val(self):
    print(f"Returning self._val,  {self._val}")
    return self._val

@val.setter
def val(self, v):
    print(f"Setting self._val to {v}")
    self._val = v

mc = MyClass()
mc.val #Returned object exists but not assigned to variable in this example
mc.val = 10```The @property decorator eliminates the need to use parentheses when effectively calling methods.

wise cargoBOT
#

@somber heath :white_check_mark: Your eval job has completed with return code 0.

001 | Returning self._val,  0
002 | Setting self._val to 10
teal forum
ebon sandal
#

xD

#

||u jump into decision quicker than a girl|| (dont read if u cant handle a joke) 🙂

frosty star
#

Gtg guys need to work 😫

somber heath
#

I can handle a joke, I just don't find sexism funny.

ebon sandal
woeful salmon
ebon sandal
#

as not everyone will have the same sense of humour

woeful salmon
#

was teasing mewstafa

lavish rover
#

why mew

ebon sandal
#

🐱 stafa

woeful salmon
#

i like mew

lavish rover
#

it's literally spelled mu

ebon sandal
#

its the cutest pokemon

ebon sandal
#

@rugged rootwhat extension did you tell me before you used for the colour stuff, can u please type it here

rugged root
#

For my editor? Monokai Pro

ebon sandal
#

u told me some other name

#

it was just one word i guess

#

it was paid too

#

oh

#

ok

#

🙂

#

gonna go afk for now

#

is ther monokai pro for visual studio (not vs code)

#

@rugged root

woeful salmon
#

i just ate supposedly chocolate icecream..... it was 90% chocolate 10% icecream between it....

quaint oyster
#

rolos inferior

whole bear
rugged tundra
#

🍫

vestal carbon
#

Yo, still not verified for vc 😉

sour imp
#

🖐️

signal sand
#

mine, just take the last two digits of the year..

#

i slept for 13 hrs continuously yesterday and haven't slept for 40 hours before that...

mental rock
#

there, can you see this?

rugged root
#

Yep!

somber heath
#

Pharmville. Farmville, but you're a drug company.

rugged root
#

Pharmaville

#

I would play that

mental rock
#

probaby chemists and doctors

somber heath
#

They arrested a man the other day. He'd been going around licking buildings. Pubs in particular.

#

He was pub lick enemy #1

sour imp
#

🤣

quaint oyster
#

i thought i was the only pub licker

gentle flint
mental rock
#

if you're saying ghost -writer-, that means an author who may not be credited for writing a work, someone else is credited. the one who may not be credited, and who did the actual work, is the "ghostwriter"

quaint oyster
#

drake has a ghost write

#

r

sour imp
#

I prefer ghost rider

quaint oyster
#

this?

somber heath
#

Writer.

quaint oyster
#

i heard flubber

mental rock
#

robin williams though

#

yep

#

not one of his best

quaint oyster
#

lol

#

its more like a kids movie

somber heath
#

The Horribly Slow Murderer with the Extremely Inefficient Weapon is a 10-minute short film that was released in 2008. It was filmed entirely in California over the course of 22 days. It was written, directed, and narrated by Richard Gale.The film won the Special Jury Prize at the Fantastic Fest, the Best Short Film award at the Fantasia Internat...

quaint oyster
#

its a good kids movie he does good acting

mental rock
#

well williams was still alive

quaint oyster
#

do you know the robin williams movie with the polio

#

i thought that was really good

mental rock
#

that's not good will hunting?

quaint oyster
#

its called awakenings

#

whats your favorite robin williams movie jimm

mental rock
#

ohh about leonard l who had parkinsons

#

maybe jumanji

quaint oyster
#

it was actually Encephalitis lethargica

#

but exhibbited parkinson's like symptoms

#

extreme muscle rigidity

mental rock
#

oh ok

quaint oyster
#

thats why L-DOPA helped alleviate their symptoms

rugged tundra
mental rock
#

so williams played the doctor who tried a drug that brought leonard L back temporarily

quaint oyster
#

yea whats your favorite robin williams movie

#

because you said flubber wasnt his best

mental rock
#

bleeetcode... sheepish

mental rock
#

I don't have a great memory of flubber

somber heath
#

I enjoyed the original movie.

#

The remakes...meh.

#

Mhm.

#

Later than 40s.

quaint oyster
#

is the one with robin williams the original

#

color tv didnt come out until 60s

#

lol

#

oh

#

i see

somber heath
#
  1. The Absent Minded Professor.
#

Greyscale.

mental rock
#

found something called "son of flubber" from 1963

mental rock
#

james doohan

lavish rover
mental rock
#

it's interesting, they do talk about how most of this got started...

#

John Draper is in that

quaint oyster
#

ive seen/heard the bill gates and steve jobs story so much i dont think i would like this

#

how do you spell zomitsi

rugged root
#

Tzimisce

vestal carbon
somber heath
#

Numpy, wave, struct, math, scipy.signal

quaint oyster
mental rock
#

well there's something from the past, it's called the fairlight cmi, someone's selling a fairlight simulator, pay what you want... originally the thing was about $15k

rugged root
#

@vestal carbon So the issue is that you're going to have to use something imported

#

Or rather from pip

vestal carbon
#

Well, it's better than wav

#

I'll check it out

rugged root
#

Oh wait... this is a midi composition thing?

tame latch
#

Lol guys

#

what is this?

rugged root
#

Yeah this seems to be specifically for working with the midi files, not for playing

rugged root
#

I love it

#

Oh no wait

#

That's the standard Zen of Python

#

I misread

#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

mental rock
#

seems like a somewhat conservative approach to coding and creating

rugged root
#

It's the general mentality of what makes Pythonic code

vestal carbon
#

Read the readme, it's for composition

rugged root
#

Yeah I see that now

tame latch
#

But, why did this appear in my terminal?

mental rock
#

something printed it to that terminal

rugged root
#

Did you do import this?

#

That'll trigger it

tame latch
rugged root
#

Not sure why it triggered then

tame latch
#

riddle

rugged root
#

!e import this

wise cargoBOT
#

@rugged root :white_check_mark: Your eval job has completed with return code 0.

001 | The Zen of Python, by Tim Peters
002 | 
003 | Beautiful is better than ugly.
004 | Explicit is better than implicit.
005 | Simple is better than complex.
006 | Complex is better than complicated.
007 | Flat is better than nested.
008 | Sparse is better than dense.
009 | Readability counts.
010 | Special cases aren't special enough to break the rules.
011 | Although practicality beats purity.
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/idirupudeb.txt?noredirect

mental rock
#

@tame latchdid you do something at the time it printed all that stuff?

tame latch
#

But there is nothing there

mental rock
#

what if you do what you did again?

tame latch
#

It print again

mental rock
#

that whole manifesto thing?

tame latch
#

What do u mean?

#

manifesto?

mental rock
#

the thing that starts. beautiful is better than ugly

#

that printed again when you did it again?

tame latch
#

no tеhere's not even a hint of it

mental rock
#

so you can't reproduce it?

rugged root
#

@vestal carbon Honestly, the pygame synth stuff seems to be the best option that I'm finding. I'll try and keep hunting as I can, but I have to do some work briefly here at work

tame latch
#

Okay, maybe some sooooo strange mistake?

vestal carbon
#

Alright, do your best~ Thanks!

tame latch
rugged root
#

Can you show the code you have?

tame latch
#

really dirty code

rugged root
#

No big deal

tame latch
#

ok

mental rock
#

Leo, I see you have some sort of wiki stuff in your code

tame latch
#

yes

#

wait

#

what is

#

from this import s

mild quartz
mental rock
#

I wonder if the stuff you're seeing printed was stored in a database

tame latch
#

I guess no

mild quartz
amber raptor
dense ibex
rugged root
#

Just wanted a nice quiet day

gentle flint
#

ha, you wish

#

facebook has entered the conversation

rugged root
#

My main beef is how the targeted advertising, especially when it's political advertising, causes an echo chamber effect that seems to increase divisions between folks

mystic kernel
#

bad company does open source research which helps the world in many ways...

#

waawawawaw

rugged root
#

But I'm sure I'm probably wrong as always, who knows

cerulean ridge
#

@mild quartz do you have the paper on this cancer thing based on the vision transformer SSL?

gentle flint
#

back in a bit

cerulean ridge
#

@rugged root it is still noisy, I'll ping you when it gets quiet

rugged root
#

It'll be interesting to see if the AI can become as accurate as pigeons

mild quartz
#

i love this paper lol

rugged root
#

So gooood

dense ibex
#

I would assume

granite wolf
#

hello

mild quartz
rugged root
mystic kernel
#

lol

amber raptor
rugged root
#

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0141357 Just more about the pigeon thing because I find it so neat

#

@elder dust Your mic is open, we keep hearing background noise

mental rock
#

they tried that with AT&T

mild quartz
#

which was a tragedy

#

its directly comparable too

#

bell labs was the most influential research group of that era

mental rock
#

so rabbit, when you chose to do the job that was somehow not contributing to humanity, we can compare that to facebook and how they choose to do things... it's the same thing only bigger

#

so they invented the transistor?

mild quartz
somber heath
#

Australia invented wi-fi. Take that, wire lovers. 😁 (Perfectly happy to give due credit to predecessor technology developers.)

#

(Tesla rules. Edison drools.)

#

Hedy Lamarr (; born Hedwig Eva Maria Kiesler; November 9, 1914 – January 19, 2000) was an Austrian-born American film actress and inventor. She has been described as one of the great movie actresses of all time.After a brief early film career in Czechoslovakia, including the controversial Ecstasy (1933), she fled from her husband, a wealthy Aus...

mental rock
#

old transistors, then made of germanium, was brittle, noisy and couldn't handle higher power... now we have transistors like the 2n3904, which does a lot better with power, noise and longevity

amber raptor
mental rock
#

wow... that was like 3 hours 🙂

#

maybe if they mved faster, the transistors they came up with wouldn't have been as good

#

I'll say they needed time to produce quality

#

and they were at a point in history (for example, no one else were working on transistors) so that they had the time they needed

rugged root
#

@turbid rune If you're wondering why you can't talk, check out the #voice-verification channel for more info about our voice gate system

wise cargoBOT
#

config-default.yml lines 360 to 362

keys:
    github:      !ENV "GITHUB_API_KEY"
    site_api:    !ENV "BOT_API_KEY"```
whole bear
#

How can i rewrite ip to domain using python

amber raptor
rugged root
#
name: devserver

categories:
  welcome:
    - welcome: text

  staff:
    - admins-mods: text
    - lounge-helpers-org: text
    - defcon: text
    - incidents: text
    - incidents-archive: text
    - staff-announcements: text
    - dev-logs: text

roles:
  - admins
  - devops
  - helpers
  - voice-verified
wise cargoBOT
#

bot/constants.py line 27

def _env_var_constructor(loader, node):```
sweet lodge
#

It's one of the default labels

amber raptor
#

diff python-bot java-monolith
no differences found

rugged root
#

!ytdl

wise cargoBOT
#

Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:

The following restrictions apply to your use of the Service. You are not allowed to:

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
gentle flint
#

hiya

sweet lodge
#

Slippery little bastards

#

Still easier than trying to put the ends on the cables

rugged root
whole bear
#

I ruin my meal whit peper

gentle flint
#

o no

rugged root
#
def ham(pork, beef):
#

sally.name

sweet lodge
#

@rugged root heeeelllp

#

"notification message generic error"

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

wind raptor
#
virtualenv venv
fast dew
#

how

#

@ebon sandal

#

ok

#

i just have joined the server i can't talk

#

never mind

#

so i am asking

#

which IDE i should use for python?? @ebon sandal

#

and any websites can help me to begin ?

#

i have 2tb

fast dew
#

with coding

#

links?

#

links!!!!!!!!!!!!

#

xD

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @fast dew until <t:1653426389:f> (9 minutes and 59 seconds) (reason: discord_emojis rule: sent 22 emojis in 10s).

stuck furnace
#

!unmute 368531055264792588

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction mute for @fast dew.

fast dew
ebon sandal
#

lol

#

hahha

fast dew
stuck furnace
#

It probably kicked you from VC too sorry.

fast dew
#

report pls

ebon sandal
fast dew
#

xDDDD

ebon sandal
#

join vc if u like , iam not going to type anymroe

fast dew
#

why

#

lazy

#

yeah

#

facts

#

and what about last name??

#

middle name lazy

#

last name?

#

oh

#

bruh

#

num = int(input("Enter a number: "))
if (num % 2) == 0:
print("{0} is Even".format(num))
else:
print("{0} is Odd".format(num))

#

is it correct?

#

like this

#

i can't hear you