#voice-chat-text-0

1 messages Β· Page 129 of 1

sharp urchin
#

male

#

yeh yeh yeh

#

the lady is ryt

#

yess yess he hasnt

#

let them

#

yeh pls

#

the lady is irritating

#

:[

#

ing*

#

neglecting to it

sharp urchin
#

yesss

#

^^^^

#

bruhhhh

#

cool

#

yesss

#

it wasnt

#

yes

#

agree:]

dense meadow
#

@somber heath Thanks!

#

That was on of the most detailed explanations I have ever seen in my life lol

somber heath
#

Any points that need clarification?

dense meadow
#

I didn't understand this

#

a = []
b = []
c = a
print(a == b) #True. a points to an empty list. b points to an empty list. They are equal.
print(a is b) #False. a points to a list. b points to a different list. They're not the same list.
print(a is c) #True. a points to the one, same list that c points to.

#

I don't understan why a is b is False

somber heath
#

How many lists exist here?

dense meadow
#

uh.. 2?

somber heath
#

Correct.

#

is compares identity

#

== compares equality

dense meadow
#

so 'is' is basically just the name of the variable?

somber heath
#

a is b is False, because a refers to a different object than b refers to.

#

A variable is a named signpost to an object.

#

a, b and c are the variables

#

a points to one list, b points to a second list, c points to the first list.

dense meadow
#

So basically, all three variables are list?

#

and a is c because it contains a in it

somber heath
#

All three variables each point to one list.

dense meadow
#

wait that means we should use ==?

#

because the contents are same

somber heath
#

If we wish to check equality, yes.

#

I have two boxes.

#

One box is labelled a and c.

#

The other box is labelled b.

#

The two boxes are equal, being empty boxes, (==)

#

But they are not the same box (is)

dense meadow
#

so is just compares names?

somber heath
#

No. It compares identity.

dense meadow
#

oh ok

somber heath
#
abc is def_```This asks if abc refers to the same object as def_ refers to.
dense meadow
#

isn't that ==?

somber heath
#

== concerns itself with equality

#

Equivalency.

dense meadow
#

oh ok

#

so is just defines name?

somber heath
#

One box with three red balls in it is equivalent to another box with three red balls in it, ==, but they are not the same box, is.

teal perch
#

is compares the memory addresses

dense meadow
#

oh

somber heath
#
a = [1, 2, 3]``` = is assignment
dense meadow
#

yeah

somber heath
#

I have created a list. It is sitting there in memory. I then put a sign in the ground pointing to it, a.

dense meadow
#

if they are not in the same box, how does is exist?

somber heath
#

Once an object has no (hard) references (of which variables can be one), the object is garbage collected and destroyed.

dense meadow
#

ohhhhh

#

so basically pointers

#

they point

somber heath
#

Basically pointers

#

Variables are named pointers.

#

List/tuple elements are an ordered sequence of unnamed pointers.

dense meadow
#

So is is used for pointers?

somber heath
#

That could be one way of thinking about it, yes.

dense meadow
#

Oh ok

#

== is used for comparing values and is is used for comparing pinters?

#

*pointers

somber heath
#

Broadly.

dense meadow
#

So I got it right

#

or is there something wrong

#

in what I said

somber heath
#

@tough osprey πŸ‘‹

tough osprey
#

hello sir

#

honor is all mine

#

what are you guys doing

#

oh i see

#

nope

dense meadow
#

()

dense meadow
#
#

Yo check out my new code I just learned

#

!e

name = input('Enter your name: ')
age = input('Enter your age: ')
age = age + 1
print(f'Hello {name}')
print(f'You are {age} years old')
wise cargoBOT
#

@dense meadow :x: Your 3.11 eval job has completed with return code 1.

:warning: Note: input is not supported by the bot :warning:

001 | Enter your name: Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     name = input('Enter your name: ')
004 |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
005 | EOFError: EOF when reading a line
dense meadow
#

RETURN WITH CODE ZERO

#

βœ…

#

return with this

supple apex
dense meadow
#
import os
import time
import random

os.system('color 0a')

nums = [1,0]
tm = 0

while tm < 30:
   

#

print(random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),random.randrange(1,5)* " ",
random.choice(nums),)

#

one two buckle my shoe

#

three four buckle some more

#

five six nike kicks

#

that's so fire bro

warm vapor
#

Hey!

#

long time no see

#

bro your voice is soo good πŸ‘€ coffee

#

Sonic you from india?

#

The kid was smart..

#

i gtg

#

bye

somber heath
#

"You are someone being interviewed. What do you consider to be the ideal interview technique?"

wintry moth
#

Dam no ones talking ic

willow light
#

Busy being an adult, hang on a sec

#

I miss college when I didn’t have to babysit frying pans

wintry moth
#

.

willow light
#

Cooked in extra creamy local sheep’s milk butter

dense meadow
#

Hi Opal, I have a doubt

#

How do I like code: if variable is less than or more than something, print this

#

here is my code:

#
name = input("What is your name?: ")
age = input("What is your age?:")

print(name)
print(age)

if name == 'sanjeev':
      print("Hello Founder!")

if age == 11:
      print('Young boy')
#

I want it to say: if age == less than 11: print young kid

willow light
#

if age<11

dense meadow
#

Ohh ok

somber heath
#

@dense meadow What is the type of the object returned by a call to input?

dense meadow
#

Uh idk?

somber heath
#
user_input = input('>')
user_input_type = type(user_input)
print(user_input_type)```
trail umbra
#

Hello

#

I am not currently allowed to talk in the voice chat @somber heath πŸ˜“

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

somber heath
#

@dense meadow See above code.

trail umbra
#

Yeah I checked , I have joined just yesterday

dense meadow
#

I actually don't understand

#

@somber heath ?

somber heath
#

Every time you do input(...) or print(...), you are calling a function. In addition to that function performing its purpose, it returns an object to your video. In effect, the call becomes that returned object.

dense meadow
#
name = input("What is your name?: ")
age = input("What is your age?:")

print(name)
print(age)

if name == 'sanjeev':
      print("Hello Founder!")

if age == 11:
      print('Young boy')
somber heath
#

!e ```py
def func():
return 123

result = func() #result = 123
print(result)```

wise cargoBOT
#

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

123
dense meadow
#

I just want to say:

somber heath
#

A call to func returns an object of type int.

#

123

#

A call to input returns an object, too.

dense meadow
#

``if age is less than 11:
print('young boy')

somber heath
#

I understand what you intend. I'm explaining what you need to understand.

dense meadow
#

Oh ok

#

What are def?

somber heath
#

@sick condor πŸ‘‹

dense meadow
#

@jolly terrace Yo

somber heath
#

The def keyword indicates to python that you are creating a type of object called a function.

jolly terrace
dense meadow
#

what's function?

somber heath
#

A function can be thought of as a collection of code that can be run on command as many times as required.

dense meadow
#

isn;t that a file?

#

oh ok got it

#

so what is return then?

#

is it just print?

jolly terrace
#

so you could call it the times you want

somber heath
#

input is a function

dense meadow
#

yeah...

somber heath
#

It's purpose is to get information from the terminal

#

Provided by the user

#

It has a return

dense meadow
#

Yeah

somber heath
#

That object is of a type.

dense meadow
#

oH ok

feral aurora
#

Hi @somber heath

#

how have you been

somber heath
#

I've provided the code for you to examine the type of object that input returns.

dense meadow
#

Oh cool

#

ok got it

somber heath
#

@modest gorge @prisma lintel @meager onyx πŸ‘‹

somber heath
#

I have.

#
user_input = input('>')
user_input_type = type(user_input)
print(user_input_type)```
#

@barren crown πŸ‘‹

barren crown
#

hello!

sick condor
barren crown
#

Do you guys find the official tutorial and documentation for python to be effective for learning python?

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

barren crown
#

Great thanks!

dense meadow
#

soo....

#

how do i do it

#

like compare variable to input

#

is it possible

somber heath
#

Yes

#

What is the type of object a call to input returns?

dense meadow
#

string??

#

no no

#

int

#

cause it's number

somber heath
#

Check.

dense meadow
#

so that means right?

somber heath
#

I've given the code above

dense meadow
#

user_input = input('>')
user_input_type = type(user_input)
print(user_input_type)

#

this one?

#

wait 1 sec

#

!e
user_input = input('>')
user_input_type = type(user_input)
print(user_input_type)

wise cargoBOT
#

@dense meadow :x: Your 3.11 eval job has completed with return code 1.

:warning: Note: input is not supported by the bot :warning:

001 | >Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     user_input = input('>')
004 |                  ^^^^^^^^^^
005 | EOFError: EOF when reading a line
dense meadow
#

hmm

#

lol dosn't work

brazen gazelle
#

Ever wonder how electrons know where they are going? Electricity is a pretty mystifying topic, because electricity seems to be able to do impossible things, or at least things that don't make sense at a normal "human" scale. In this video I use a thermal camera to show electric current through a maze made of aluminum foil. The electric current v...

β–Ά Play video
somber heath
dense meadow
#

Oh ok

#

so u are finding ot the type of input

#

that's why u are using type()

#

wait it says everything is a str

#

it's not supposed to do that, right

somber heath
#

So, in your code, you are comparing objects. What are the types of those objects?

dense meadow
#

strings and ints

somber heath
#

Correct.

#

What is the relevant question?

dense meadow
#

How do I compare a string to an int?

somber heath
#

That is the correct question.

dense meadow
#

So for that, type casting

#

I think

somber heath
#

You need to convert one to the other's type.

#

Yes

dense meadow
#

How do I do type casting?

gentle flint
#

you cast something to a certain type by converting it to that type using the correct function

#

for instance:

somber heath
#

!e py a = '123' b = int(a) print(a, type(a)) print(b, type(b))

wise cargoBOT
#

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

001 | 123 <class 'str'>
002 | 123 <class 'int'>
gentle flint
#

exactly

#

that was what I was going to type

#

thank you opalmist

dense meadow
#

ohh

#

so

somber heath
#

Assuming int is what you want to convert to. There are other numerical types.

gentle flint
#

or, vice versa, you can cast an int to a string

dense meadow
#

fist i have to do: str(age)

#

got it

#

right?

somber heath
#

Conversion from str to int would make more sense.

dense meadow
#

so

gentle flint
dense meadow
#

int(name)?

somber heath
gentle flint
dense meadow
somber heath
#

int is numeric. str is text.

gentle flint
#

so if you have some numbers, and you add them together, the computer has to know that they are numbers
that they are of a number type, so to speak

#

there are two types of numbers

dense meadow
#

float and int

gentle flint
#

integers, like 1, 2, 3

#

floats, like 1.3, 1.8, 2.784237648723

#

then you have strings, which are not numbers

#

they can represent any characters

#

like

#

hello

#

foo8yrt

#

#^&yz8*

#

if you add two numbers, you get the mathematical result

somber heath
#

!e py v = 5+6j print(v, type(v))

wise cargoBOT
#

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

(5+6j) <class 'complex'>
gentle flint
#

so if you add 2 and 2, and the computer knows they are numbers, it will return 4

#

but if you add 2 and 2, and you tell the computer that they are strings, it will put them one after the other

#

and return 22

dense meadow
#

so complex is two types smashed together

#

?

gentle flint
#

complex is another type

#

but that's not relevant for your question

#

anyway, you have had more than enough information for you to solve your problem by now

#

it's now time for you to think

dense meadow
#

oh ok

#

thanks

supple apex
#

@jolly terrace

calm hearth
#

I just thought of buying a Windows PC

#

not a Mac

#

yeh

barren crown
#

That's required for you? @tidal shard

tidal shard
maiden skiff
#

hi guys

rugged root
#

How's it going

maiden skiff
#

I'm working at a part-time job right now

#

I'm happy because I'll be getting paid in 4 days!

rugged root
maiden skiff
rugged root
#

@formal arch Yo

formal arch
#

Hello fam 🧒

somber heath
#

πŸ“•πŸ‘•

rugged root
#

That's the plug I was trying to figure out

somber heath
#

Looks applish.

amber raptor
whole bear
stuck furnace
#

πŸ‘‹

#

I was actually typing in the wrong window lol

stuck furnace
#

Cya

maiden skiff
#

I have many things to do today.

#

hi ravi

rugged root
slate light
#

stable diffiusion whit my immage

ivory horizon
#

if False:
print('I am pissed'):
else:
print('I am pissed')

maiden skiff
#

I'm glad my blog comes up as soon as I search it!

rugged root
#

That's very cool

#

Like how broad are the search terms?

maiden skiff
rugged root
#

@reef barn You can participate in here. If we're in VC we'll typically be watching these channels

reef barn
#

Oh, cool

#

Thanks

#

Anyone here that is doing it as professional?

rugged root
#

@gentle flint is, quite a few others

gentle flint
#

what's that supposed to be

rugged root
#

@zenith radish We can hear you, you can't hear us

stuck furnace
#

Robot LP pithink

reef barn
#

This sounds sketchy

finite jolt
#

@gentle flint we can't hear you

reef barn
#

If itΒ΄s done by a programmer, donΒ΄t run it that is my motto

gentle flint
#

all done now

stuck furnace
#

Hello πŸ‘€

reef barn
#

Well done

stuck furnace
#

Errrm

reef barn
#

who sued who?

#

lol...

stuck furnace
#

Yeah I think that's an apple thing pithink

rugged root
stuck furnace
#

Yeah I think that's called "Live Text"

#

Live Text in videos
Text is completely interactive in paused video frames, so you can use functions like copy and paste, look up and translate. Live Text works in Photos, Quick Look, Safari and more.

somber heath
#

Telemetry or telemebush? You decide!

finite jolt
#

I'll be back later

#

cya @rugged root

stuck furnace
#

Not server appropriate guys

rugged root
#

Client_Name_newest 10-27-2022 (QuickBooks2022 Oct 26,2022 12 48 PM) (QuickBooks2022 Jan 24,2023 12 51 PM).QBA'

median scarab
#

yes it quarters its when its set through the software

#

unless its through the web browser

#

dont use browser

#

they almost hired me

#

lel

#

fr fr now im a software dev

#

so they missed out

#

^^^^

#

they havent really updated their web software in a while

#

they havent done data migration :c

rugged root
#

True

#

Oh my god

#

Lacerte this year..

#

They fucked it up so badly

median scarab
#

^^^^^

#

true!

#

LMAO

#

no it was my dad ran his own buisness years ago

#

used to run with quickbooks

#

later applied and got denied now a 100dev data analytics c:

#

their is its open source i think i might still have it on my pc

#

never used it :c

#

should have

#

LOL

#

isnt there a movie?

#

i need to watch :c

#

HYPE

#

i might do that this afternoon πŸ˜„

#

lol

#

excel vs pyspark πŸ€”

#

^^^^ use jupiter notebook then convert over

#

i havent used open py excel

median scarab
#

im trying to basically use excel to should the word count then download all the data separately use a histogram with a map :c i havent seen it be done :c

#

send help

#

conclusions make separate graphs then use them in div containers :c

rugged root
#

The word count of what?

median scarab
#

so i cant send file big data :c

#

but count every word for cancer and different cancers

#

and mortality vs survival rate

#

then graph it with location with a map plot heat map with a histogram from 20 years ago

#

41 books this month πŸ˜„ need to start reading fiction

#

fuck the nonfiction

#

^^^^^

#

litterally

#

brawlhalla for me

rugged root
#

Yeah, gaming for sure

median scarab
#

have you seen choo choo charles

#

lol

#

this is the first time ive seen this discord active in a while

#

^^^^^

maiden skiff
#

I'm gonna take a break

rugged root
#

Long day?

median scarab
#

^^^^

maiden skiff
median scarab
#

debating pyspark or crash pc with excel πŸ€”

rugged root
#

As in has it been a long day? Like.... lots of work that had to be done, exhausting, things like that

somber heath
#
median scarab
#

LMAO

#

i need to read that

#

movies make me tired

#

use read outload or google voice

#

listen to it like a podcast

maiden skiff
median scarab
#

movies make me fall asleep 😒

rugged root
#

Unrelated

#
median scarab
#

:c to crash excel

#

get a second monitor get an auto reader app

#

then have it on the side

median scarab
#

^^^^ me too

#

the harmonic rythmn of brain do be weird

rugged root
median scarab
#

whats it about????

#

no i wish

#

hmmmm ill give it a go! πŸ˜„

#

i've really been enjoying philosophize this

#

thats my current fav

#

just a guy who reads and loves philosophy and tells what he learned

#

very interesting give me new looks of the world somedays and shows me what others believe and effects my world view bias that i might struggle with

maiden skiff
#

hi

rugged root
#

Trying to work or view things through the eyes or thoughts of another

median scarab
#

^^^^^ empathy is a struggle but eye opening

#

when i was a psych major i never thought of it

#

which was interesting i helped so many homeless people but i never thought to myself

#

whats it like to be homeless

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @upper mirage until <t:1683659952:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

maiden skiff
#

what?

rugged root
#

!cban 651799611421229067 Low effort troll

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @upper mirage permanently.

median scarab
#

^^^^^

#

low effort lol

maiden skiff
#

Who was that

median scarab
#

brb

terse needle
rugged root
#

I mean

median scarab
#

^^^^^

maiden skiff
#

I want to stop working and study programming for my SPAC

rugged root
#

That would be nice

frigid panther
#

o/ @rugged root

#

long time indeed

#

just busy with uni these day

#

1 more year

maiden skiff
frigid panther
#

I have a summer break coming up so just looking around for internships

#

for now, Id be okay with wherever , tho im picking based on tech used

#

backend

#

this is only for 2 month internship, in my last semester I can look for a 6 month one

#

im good with python based and js

#

so mostly that

#

I do have a research internship in my uni, but im gonna keep that as my last option

#

they do get boring tho

rugged root
#

Fair

somber heath
#

Inferior or in fear of ya? You decide!

sour willow
#

Hello guys

#

makes sense when you are literally the only unmuted person in vc

#

from my experience i barely understand anythng

#

i prefer it when its topics that are sort of related to programming, but arent

#

more in the tech space

#

IBM getting into the AI world

#

Yes they had some AI translators, readers, etc... but stepping up their game

#

Getting into generating models

lunar ice
terse needle
#

@somber heath this is how I imagine you

dense meadow
#

Hello

#

Ohh that creature looks creepy

#

How are you guys doin?

dense meadow
#

one two

#

buckle my

#

shoe

#

lolol

somber heath
#

@split parrot πŸ‘‹

dense meadow
#

Hello @split parrot

split parrot
#

hi xd

dense meadow
#

lolololol

#

I have a doubt, what the heck is recursion?

#

I heard about it in a forum

somber heath
#
def func():
    func()
func()```
dense meadow
#

!e
def func():
func()
func()
print('func')

wise cargoBOT
#

@dense meadow :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     func()
004 |   File "/home/main.py", line 2, in func
005 |     func()
006 |   File "/home/main.py", line 2, in func
007 |     func()
008 |   File "/home/main.py", line 2, in func
009 |     func()
010 |   [Previous line repeated 996 more times]
011 | RecursionError: maximum recursion depth exceeded
... (truncated - too many lines)

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

somber heath
#

A recursive function is one that calls itself.

dense meadow
#

996

#

lines

#

bro

somber heath
#

!e ```py
def func(arg):
if arg:
print(arg.pop())
func(arg)

func([1, 2, 3, 4, 5])```

wise cargoBOT
#

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

001 | 5
002 | 4
003 | 3
004 | 2
005 | 1
dense meadow
#

whats pop

somber heath
#

list.pop

#

I could have used slice and indexing

dense meadow
#

what's list.pop?

#

it pops the list

somber heath
#

It removes an element, by default the rightmost, from a list and returns it.

dense meadow
#

oh so

somber heath
#

An index may be given as argument to instead remove/return the element at that index position.

dense meadow
#

5,4, 3, 2, 1

#

i get it

#

thanks

somber heath
#

!e py my_list = [1, 2, 3] popped = my_list.pop() print(my_list) print(popped)

wise cargoBOT
#

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

001 | [1, 2]
002 | 3
dense meadow
#

i think i have an idea

somber heath
#

!e py my_list = [1, 2, 3] popped = my_list.pop(0) print(my_list) print(popped)

wise cargoBOT
#

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

001 | [2, 3]
002 | 1
dense meadow
#

ahh

#

o is the first digit

#

and the first digit is 1

#

got it

somber heath
#

0 refers to the element at index position 0, in this case, the integer object, 1.

dense meadow
#

yeah

#

the position

somber heath
#

!e py my_list = ['a', 'b', 'c'] popped = my_list.pop(1) print(my_list) print(popped)

wise cargoBOT
#

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

001 | ['a', 'c']
002 | b
somber heath
#

!e ```py
print('abc'[0])
print('abc'[1])
print('abc'[2])
print('abc'[-1])
print('abc'[-2])
print('abc'[-3])

wise cargoBOT
#

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

001 | a
002 | b
003 | c
004 | c
005 | b
006 | a
somber heath
#

Subscription by index.

dense meadow
#

oh

#

so 0 is also equal to -3

#

and so on

somber heath
#

!e ```py
print('abcd'[0])
print('abcd'[1])
print('abcd'[2])
print('abcd'[3])
print('abcd'[-1])
print('abcd'[-2])
print('abcd'[-3])
print('abcd'[-4])

wise cargoBOT
#

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

001 | a
002 | b
003 | c
004 | d
005 | d
006 | c
007 | b
008 | a
dense meadow
#

yeah i got it opal

#

thanks

#

now i can run recursion in teacher's computer

#

muhahaha

#

jkjk

acoustic marlin
somber heath
#

@sand panther πŸ‘‹

whole bear
#

Heyoo

somber heath
#

@whole bear πŸ‘‹

whole bear
#

Hows it goin?

#

Fellow Aussie?

#

alr I'm gonna head off now, later guys!

#

Heya SonicCoder!

somber heath
#

@rough marsh πŸ‘‹

#

@little lodge πŸ‘‹

#

!e py for letter in 'abc': print(letter)

wise cargoBOT
#

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

001 | a
002 | b
003 | c
somber heath
#
letter = 'a'
print(letter)
letter = 'b'
print(letter)
letter = 'c'
print(letter)```
#

!e py for letters in ['abc', 'def', 'ghi']: print(letters)

wise cargoBOT
#

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

001 | abc
002 | def
003 | ghi
somber heath
#

!e py for letters in ['abc', 'def', 'ghi']: for letter in letters: print(letter)

wise cargoBOT
#

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

001 | a
002 | b
003 | c
004 | d
005 | e
006 | f
007 | g
008 | h
009 | i
somber heath
#

@gaunt flint πŸ‘‹

#

!e py i = -1 while i < 6: i += 1 print(i)

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
dense meadow
#

!e

i = -2
while i <10:
    i +=1 
    print(i)
gaunt flint
gaunt flint
wise cargoBOT
gaunt flint
#

!e

wise cargoBOT
#
Missing required argument

code

gaunt flint
#

@somber heath

#

chat pls

#

i am noob enghi

#

i am from iran

somber heath
#

Discussion of loops.

gaunt flint
#

Chat, I use a translator

#

How do I connect the voice?

#

it is lock

somber heath
#

for loops akin to assignment.
while loops akin to if statements.

somber heath
wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

gaunt flint
#

!voice

#

i cant

dense meadow
#

!voice

gaunt flint
#

!voice

somber heath
#

Visit the voice verification channel.

dense meadow
#

at the top

gaunt flint
#

okay tx

#

tnx

dense meadow
#

your welcome

gaunt flint
#

tnx

#

my name is abolfazl

dense meadow
#

you're welcome

gaunt flint
#

yes

somber heath
#

You're welcome, Abol. πŸ™‚

gaunt flint
#

friends for fun say it

#

but not my friends XD

#

i am a noob in code

#

i just know html5 and css

somber heath
#

break and continue

gaunt flint
#

lol

somber heath
#

!e py for i in range(10): print(i)

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 5
007 | 6
008 | 7
009 | 8
010 | 9
somber heath
#

!e py for i in range(10): if i == 5: break print(i) print('Bye.')

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | Bye.
somber heath
#

@whole bear πŸ‘‹

gaunt flint
#

who have link python for pycharm?

dense meadow
gaunt flint
somber heath
#

!e py for i in range(10): if i == 5: continue print(i) print('Bye.')

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
006 | 6
007 | 7
008 | 8
009 | 9
010 | Bye.
dense meadow
#

oooh

gaunt flint
#

Which version should I get for Paycharam program?

#

3.7?

#

python?

dense meadow
#

you should get latest, i suppose

#

for python right?

somber heath
gaunt flint
#

lol

#

okay

#

i go for old python

#

for pychram

#

i cant use python news

#

bro

#

he not in vioce

onyx lagoon
#

hi is there any available

gaunt flint
onyx lagoon
#

I am getting an error, what is the reason?

somber heath
#

!e py while False: pass else: print('Hello.')

wise cargoBOT
#

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

Hello.
onyx lagoon
#

@somber heath can you take a look

gaunt flint
#

bro your old is 18+ ?

onyx lagoon
#

yes 23 wht

#

why

somber heath
gaunt flint
#

you need get run for python

#

but i am a noob i just know print lol

onyx lagoon
#

no run

somber heath
#

I mean, invoking python in vscode's terminal like that feels a little odd to begin with

onyx lagoon
#

okey py trying

somber heath
#

I'm sorry, I'm not sure how best to advise you. I'm both not a Windows person and not a VSCoder.

onyx lagoon
#

oh guys sorry

somber heath
onyx lagoon
#

I missed the misspellings of your file name, I've fixed it, thanks for your interest.

gaunt flint
#

how i compile code?

#

my cmd have error

somber heath
#

Post your code.

#

Show errors.

#

@keen edge πŸ‘‹

gaunt flint
#

okay

#

i send add friend

somber heath
#

All is well that ends well.

gaunt flint
#

bro

#

pycharm say it:

#

python 3.8

#

i dont have it

somber heath
#

There are later versions of Python.

#

We're up to 3.11.3, I think.

onyx lagoon
dense meadow
#

yeah

gaunt flint
#

opalmust

#

mist

#

you have a code for make backgerun app python? i have img for it

lucid blade
#

2min

#

headset

rugged root
rugged root
rugged tundra
amber raptor
#

Management rarely agrees to it

somber heath
#

@turbid sandal Look at the widget's get method. Keep a reference to the widget.

turbid sandal
#

@somber heath the thing is im using custom tkinter and there is no .get method for the textbox object

rugged root
#

What do you mean custom

#

Can you show your code where you're making that custom part?

amber raptor
#

Create your own website for FREE β–Ί https://wix.com/wisecrack
Use promo code "WISECRACK15" to get 15% off all yearly plans!
Thanks to Wix for sponsoring this episode!

Subscribe to Wisecrack! β–Ί http://wscrk.com/SbscrbWC
Join WisecrackPLUS for EXCLUSIVE content! β–Ί http://wscrk.com/YtWcPls

Why do we love The Office? Is it the characters? The joke...

β–Ά Play video
rugged tundra
#

Scientists at UT Austin conducted a study where they created a 3D view of a person's mind and used artificial intelligence to decode brain activity into dialogue.

Β» Subscribe to NBC News: http://nbcnews.to/SubscribeToNBC
Β» Watch more NBC video: http://bit.ly/MoreNBCNews

NBC News Digital is a collection of innovative and powerful news brands t...

β–Ά Play video
mild quartz
rugged tundra
#
TED

In this exclusive preview of groundbreaking, unreleased technology, former Apple designer and Humane cofounder Imran Chaudhri envisions a future where AI enables our devices to "disappear." He gives a sneak peek of his company's new product -- shown for the first time ever on the TED stage -- and explains how it could change the way we interact ...

β–Ά Play video
amber raptor
#

Boooo

lucid blade
#

bbl

maiden skiff
#

WASSUP!

wintry moth
#

Wsp

rugged root
dense meadow
#

Excuse me, but I have a doubt. How do I extract text from a string and make a new string out of the text extracted?

#

Yeah I just need help in this.

rugged root
#

Do you have an example?

#

Like of input text and what you'd expect the output to be?

dense meadow
#

msg='welcome to Python 101: Strings'
output = 1 Welcome Ring To Tyler

lime vale
#
bool Reader::parse_new_expression(Node<Token>& syntax_tree) {
    this->c = read();
    
    if (c == EOF)
        return false;
    
    this->parse_reader_macro(syntax_tree);

    if (isalnum(c))
        this->parse_atomic(syntax_tree);
    else {
        auto unknown_token = Error{Unknown_Token, this->pos};
        message_handler.report_message(Unknown_token);
    }
} 
rugged root
dense meadow
#

see i gave the full thing

#

can you just give me a slight hint or something?

lime vale
#

*this.parse_reader_macro(syntax_tree);```
rugged root
#

I'm still not understanding what you mean. I don't see what you would be grabbing from msg to put into output (this message was for Sonic, for context)

dense meadow
#

full screenshot

#

the * is just there for fanciness

#

just a little hint would do

rugged root
#

Chris and I are still trying to figure out what it wants

dense meadow
#

oh ok

#

the second one's answer i got

#
txt = "Hello World"[::-1]
print(txt)
rugged root
#

Right

#

Yeah that one is a quick one

#

The first one...

#

So, what Chris and I are theorizing is

#

Like.... taking the indexes or slices of the first string and slapping them together to make a new string

wind raptor
#

!stream 373160837151719424

wise cargoBOT
#

βœ… @lime vale can now stream until <t:1683734929:f>.

rugged root
#

And there's no other context for that?

dense meadow
#

no

#

i think indexes

#

yeah

#

that's what i have been though till now

rugged tundra
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

rugged root
#

So for like the first bits would be like....

#

Man I hate this

dense meadow
#

why?

rugged tundra
#

!voice @full salmon

rugged root
#

This is something you'd never ever do

#

There's no point to this exercise

#

Sorry, this is just me bitching

#

I'm writing a snippit of what the first bit would be

dense meadow
#

no bad word splease

rugged root
#

Complaining, then

dense meadow
#

no no

#

just

#

you know what, never mind

#

go on

rugged root
#

!e
Hold on, I have to do this for my reference:

msg = "Welcome to Python 101: Strings"

print([(i, let) for i, let in enumerate(msg)])
wise cargoBOT
#

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

[(0, 'W'), (1, 'e'), (2, 'l'), (3, 'c'), (4, 'o'), (5, 'm'), (6, 'e'), (7, ' '), (8, 't'), (9, 'o'), (10, ' '), (11, 'P'), (12, 'y'), (13, 't'), (14, 'h'), (15, 'o'), (16, 'n'), (17, ' '), (18, '1'), (19, '0'), (20, '1'), (21, ':'), (22, ' '), (23, 'S'), (24, 't'), (25, 'r'), (26, 'i'), (27, 'n'), (28, 'g'), (29, 's')]
rugged root
#

Okay now that I have a reference...

ivory horizon
#

The question was to teach you counting characters rather than teaching you strings

rugged root
#
msg = "Welcome to Python 101: Strings"
new_msg = msg[18] + msg[7] + msg[0:7]
print(new_msg)
#

!e

msg = "Welcome to Python 101: Strings"
new_msg = msg[18] + msg[7] + msg[0:7]
print(new_msg)
wise cargoBOT
#

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

1 Welcome
rugged root
#

And you'd just kind of work from there

dense meadow
#

oh ok thanks

rugged root
#

I wasn't sure how stringent they'd be with only using characters from the msg string, so I pulled one of the spaces as well

#

I hate it

dense meadow
#

oh it's like that

#

thanks

rugged root
#

Again, this is something you'd never ever ever have to do in real code

dense meadow
#

oh ok

#

but thanks for the help

rugged root
#

Any time

dense meadow
#

you just saved me hours

ivory horizon
#

!e
print('1 Welcome Ring To Tyler')

dense meadow
#

wait

#

0:7 and 7 is the same right?

rugged root
#

Nope

#

So [0:7] is a slice

dense meadow
#

oh

#

i still don't get it

rugged root
#

One sec

dense meadow
#

sure

rugged root
#

Which says grab all the letters from index 0 until index 6. Much like with range(), the last number is non-inclusive

dense meadow
#

so

rugged root
#

!e

print(*range(0,7))
dense meadow
#

it grabs everything from 0 to 6

rugged root
#

Yep

dense meadow
#

ok

#

cool got it

wise cargoBOT
#

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

0 1 2 3 4 5 6
rugged root
#

Slices are awesome

dense meadow
#

but then why add the extra 7?

#

like :7

#

no

rugged root
#

To grab the space character

dense meadow
#

oh

#

ok got it

rugged root
#

!d itertools.cycle

wise cargoBOT
#

itertools.cycle(iterable)```
Make an iterator returning elements from the iterable and saving a copy of each. When the iterable is exhausted, return elements from the saved copy. Repeats indefinitely. Roughly equivalent to:

```py
def cycle(iterable):
    # cycle('ABCD') --> A B C D A B C D A B C D ...
    saved = []
    for element in iterable:
        yield element
        saved.append(element)
    while saved:
        for element in saved:
              yield element
```...
dense meadow
#

can you just show me how to do it for ring?

#

too

rugged root
#

We know that string has the word ring in it

#

So we just get the slice of the string that has that part

dense meadow
#

ahh ok

wind raptor
#

!e

import itertools

my_list = [1, 2, 3, 4, 5]
my_cycle = itertools.cycle(reversed(my_list))

for i in range(10):
    print(next(my_cycle))
wise cargoBOT
#

@wind raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 5
002 | 4
003 | 3
004 | 2
005 | 1
006 | 5
007 | 4
008 | 3
009 | 2
010 | 1
dense meadow
#
msg[25:28]
#

right?

amber raptor
#

!e python a = range(0,7) for x in range(0,len(a)): print(a[x*-1])

wise cargoBOT
#

@amber raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 6
003 | 5
004 | 4
005 | 3
006 | 2
007 | 1
dense meadow
rugged root
dense meadow
#

ok

rugged root
#

Never be afraid to try things in the repl. The worst it's going to do is give you an error

amber raptor
dense meadow
#

to slice just a single letter we use :28 or something like that right?

rugged root
#

So we don't slice a single letters

#

We just grab them by their index

#

Interestingly, the [:28] you did is indeed a valid slice

dense meadow
#

i'm smart

rugged root
#

It says "grab everything in the string up to (but not including) index 28"

dense meadow
#

not what i intended

#

but umm...

#

there's no word where tyler is together

#

so i just do [28]?

rugged root
#

Yep, so you'll have to grab individual letters from the words

#

Yep, you'd be doing indexes, so no :s

dense meadow
#

ok

wind raptor
#

!stream 373160837151719424

wise cargoBOT
#

βœ… @lime vale can now stream until <t:1683736572:f>.

woeful wyvern
#

@lime vale

def bulkRequest(requestObj):
    res = requestObj()
    if res.status_code != 200:
        if res.status_code == 429:
            # retry the request if we get a ratelimit
            while True:
                res = requestObj()
                if res.status_code != 429: break
        else:
            # epic fail
            return None

    html = res.text
    return {
        "title": (sub := html[(start := html.find('<div id="largeProductImage">')):start+300])[sub.find("alt")+5:sub.find("/>")-2],
        "imgUrl": html[(start := html.find("https://images.barcodelookup.com")):html.find(".jpg", start)+4],
        "description": (sub := html[(start := html.find('Description: &nbsp;'))+48:start+2000])[:sub.find("\n")],
        "category": (sub := html[(start := html.find("Category:"))+37:start+80])[:sub.find("</")]
        }```
somber heath
#

@rugged root They "were"?

rugged root
#

Fair

#

We just don't see them talked about much anymore

dense meadow
#

Hi my code is not showing the intended output

twin scaffold
#

@rugged root

dense meadow
#

!e

msg = "Welcome to Python 101: Strings"
new_msg = msg[18] + msg[7] + msg[0:7] + msg[28] +msg[25:28] + msg[9] + msg[8:9] + msg[28] + msg[12]+ msg[2] + msg[6] + msg[25]
print(new_msg)
wise cargoBOT
#

@dense meadow :white_check_mark: Your 3.11 eval job has completed with return code 0.

1 Welcomegrinotgyler
twin scaffold
#

about to post code

#


#crawl
def crawl_single_page(url):
    options = webdriver.ChromeOptions()
    options.add_argument('--ignore-certificate-errors')
    options.add_argument('--ignore-ssl-errors')
    options.use_Chrome = True
    driver = webdriver.Chrome(options=options)  
    driver.get(url)
    path = driver.find_elements(By.XPATH, "/html/body/main/article/div/div[2]/div[4]")


crawl_single_page(url)

somber heath
lime vale
#

expressions -> some_number operation some_number | neg some_number

dense meadow
#

i don't understand

rugged root
#

I feel that deep in my sole

somber heath
#

I guess I should have just run with it.

#

πŸ›ŽοΈπŸ›ŽοΈβš™οΈ

maiden skiff
#

What topic is everyone talking about?

dense meadow
#

``py

#
msg1=msg[18]+' '+msg[:8]+msg[25:29]+msg[7:11]+msg[13]+msg[12]+msg[2]+msg[1]+msg[-5]  
print(msg1.title())
rugged root
dense meadow
#

ohh :0

#

it work

#

let's goo

#

thanks mr. hemlock for help

maiden skiff
rugged root
rugged root
dense meadow
#

see ya

limpid umbra
#

grab the site turn it into a PDF

maiden skiff
#

Usually, when I read books, I prefer theory-oriented books to books for programming code.

rugged root
#

I like things I can test as I go along

#

I learn better hands on

limpid umbra
#

@rugged root do you follow the idea of - 10 ways to blink a LED , many ways to do one thing

rugged root
#

Never heard of that phrase, actually

limpid umbra
#

usually as you improve the code - gets faster or more pythonic

somber heath
limpid umbra
#

paganini OR page 9 - remember

lime vale
turbid sandal
#

def pooeccw(title, text):
class Terminal(tk.Frame):
def init(self, master=None):
super().init(master)
self.master = master
self.pack()
self.create_widgets()

                    def create_widgets(self):
                        self.textbox = tk.Text(self, wrap=tk.WORD)
                        self.textbox.pack(
                            side=tk.LEFT, fill=tk.BOTH, expand=True)
                        self.scrollbar = tk.Scrollbar(self)
                        self.scrollbar.pack(side=tk.RIGHT, fill=tk.Y)
                        self.textbox.config(
                            yscrollcommand=self.scrollbar.set)
                        self.scrollbar.config(command=self.textbox.yview)

                        self.textbox.config(bg="black", fg="white")
                        self.textbox.insert(tk.END, text)
gentle flint
ivory horizon
#

is ATOM is of type ATOM itself

rugged root
somber heath
wise cargoBOT
#
Formatting code on discord

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.

For long code samples, you can use our pastebin.

rugged root
#

That came off a bit snotty

gentle flint
#

sorry

#

I'm on mobile and the issues are magnified

rugged root
#

Fair fair

fallow gust
#

so rudeee

lime vale
#

(print (length "hello world")))

turbid sandal
#

!code
def pooeccw(title, text):
class Terminal(tk.Frame):
def init(self, master=None):
super().init(master)
self.master = master
self.pack()
self.create_widgets()

                    def create_widgets(self):
                        self.textbox = tk.Text(self, wrap=tk.WORD)
                        self.textbox.pack(
                            side=tk.LEFT, fill=tk.BOTH, expand=True)
                        self.scrollbar = tk.Scrollbar(self)
                        self.scrollbar.pack(side=tk.RIGHT, fill=tk.Y)
                        self.textbox.config(
                            yscrollcommand=self.scrollbar.set)
                        self.scrollbar.config(command=self.textbox.yview)

                        self.textbox.config(bg="black", fg="white")
                        self.textbox.insert(tk.END, text)
gentle flint
somber heath
#

@turbid sandal In the bot post, there are instructions on how you can post your code in a Discord code block.

gentle flint
lime vale
#

()

gentle flint
#

so
```py
your code
```

lime vale
#

(())

somber heath
#

You can edit your existing post.

gentle flint
turbid sandal
#
def pooeccw(title, text):
                    class Terminal(tk.Frame):
                        def init(self, master=None):
                            super().init(master)
                            self.master = master
                            self.pack()
                            self.create_widgets()

                        def create_widgets(self):
                            self.textbox = tk.Text(self, wrap=tk.WORD)
                            self.textbox.pack(
                                side=tk.LEFT, fill=tk.BOTH, expand=True)
                            self.scrollbar = tk.Scrollbar(self)
                            self.scrollbar.pack(side=tk.RIGHT, fill=tk.Y)
                            self.textbox.config(
                                yscrollcommand=self.scrollbar.set)
                            self.scrollbar.config(command=self.textbox.yview)

                            self.textbox.config(bg="black", fg="white")
                            self.textbox.insert(tk.END, text)

gentle flint
#

much better

ivory horizon
somber heath
turbid sandal
#

@somber heath come to code/help\

somber heath
fallow gust
#

would it be fair to say im (kind of) using python if im using gdscript (godot programming language based of python)

ivory horizon
#

polygon with 10^inf side will it be a circle?

mild quartz
#

circle is limit of polygon as n_sides -> infinity

somber heath
#

!e ```py
class Alpha:
a = 'aaa'
b = 'bbb'

class Beta(Alpha):
b = 'ccc'

alpha = Alpha()
beta = Beta()
print(alpha.a)
print(alpha.b)
print(beta.a)
print(beta.b)```

wise cargoBOT
#

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

001 | aaa
002 | bbb
003 | aaa
004 | ccc
woeful wyvern
ivory horizon
#

well, i imagine regular would turn out to be a circle

#

not sure about irregular polygon

lime vale
#

@wind raptor can i have stream perms

wind raptor
#

!stream 373160837151719424

wise cargoBOT
#

βœ… @lime vale can now stream until <t:1683738361:f>.

west epoch
#

For the call going on in voice chat 0, is this chat related to this call?

ivory horizon
#

In geometry, an apeirogon (from Ancient Greek ἄπΡιρος apeiros 'infinite, boundless', and γωνία gonia 'angle') or infinite polygon is a polygon with an infinite number of sides. Apeirogons are the two-dimensional case of infinite polytopes. In some literature, the term "apeirogon" may refer only to the regular apeirogon, with an infinite dihedr...

somber heath
#

Class: Blueprint. Subclass: A copy of that class, but with amendments.

#

!e ```py
class MyClass:
def init(self):
print('Hello, world!')

my_instance = MyClass()```

wise cargoBOT
#

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

Hello, world!
limpid umbra
#

books have fine detail - you can absorb at your own speed - they are useful

somber heath
#

!e ```py
class MyClass:
def init(self, arg):
self.value = arg

def say(self):
    print(f'I was given {self.value}.')

my_first_instance = MyClass('123')
my_second_instance = MyClass('456')
my_first_instance.say()
my_second_instance.say()

wise cargoBOT
#

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

001 | I was given 123.
002 | I was given 456.
limpid umbra
#

chat GPT , his real name is Bob

woeful wyvern
#

How persistent...

limpid umbra
#

but what if you called him , Bob

woeful wyvern
somber heath
#

You don't have to write an init, but you often will be.

limpid umbra
#

@woeful wyvern tell it - i find Chat GPT to long to type , do you have a short easy name , im only a human

somber heath
#

Chad?

#

Chad GPT.

twin scaffold
#

chad

limpid umbra
#

but will it pick a name - or stay firm - if 100 million humans decide to call him Bob will it alter

woeful wyvern
limpid umbra
#

say - wow , i can type , G , just for you isnt it cool

woeful wyvern
turbid sandal
#
import customtkinter
root = customtkinter.CTk()
root.geometry("1000x800")
root.title("Anonymous Emailer Avocado")
main_frame = customtkinter.CTkEntry(master=root).pack(padx=10, pady=10)
email_label = customtkinter.CTkLabel(master=main_frame, text = "Your Target Email").pack(padx=10, pady=10)
email_enery = customtkinter.CTkTextbox(master=main_frame,placeholder_text="Your Target Email").pack(padx=10, pady=10)
message = customtkinter.CTkTextbox(master=main_frame,placeholder_text="Your message...").pack(padx=10, pady=10)
root.mainloop()
limpid umbra
#

hmm thats like , ' Person of Interest ' , show , it resets after 24 hrs

somber heath
twin scaffold
#

Another question. How do i know what websites like to be crawled? I use the robots.txt and alot of sites dont have that

somber heath
limpid umbra
#

Q - does Tkinter on CANVAS have a sprite function??

lime vale
somber heath
#

@turbid sandal What is the return of a tkinter widget's pack method call?

#

Or Ctk's

limpid umbra
#

@lime vale how many languages do you normally use ?

somber heath
#

@turbid sandal You're assigning variables to the returns of the pack calls, not to the widgets.

#
widget = Widget(root)
widget.pack()```vs```py
widget = Widget(root).pack()```
#

The first example, widget is a Widget instance.
In the second example, widget is None.

#

Because None is what a widget.pack call returns.

#

@turbid sandal Make sense?

limpid umbra
#

i actually think , 'Ed' , is built into AmigaOS

#

AmigaOS Manual: AmigaDOS Using the Editors
Jump to navigationJump to search
AmigaOS Manual: AmigaDOS Using the Editors
A text editor or word processing program is necessary for creating or editing text files and script files. Amiga Workbench software comes with three text editors. This chapter describes them in the following order:

ED
MEmacs
EDIT

#

i knew i saw it somewhere before

#

@lime vale did you start with UNIX ?

#

Q - but is LINUX derived from UNIX ?

#

by the way , when i write --> Q - bla bla ? , im asking the entire room a Question

#

what about QNX , did it die ? isnt it POSIX based ?

#

cobalt 60

amber raptor
limpid umbra
#

i only feel slightly confused from all the answers given today

somber heath
#

You're indicating to your linter what the typing of the return should be.

rugged root
#

@woeful wyvern I found the Message Request thingy

rugged root
#

Settings -> Privacy & Safety

limpid umbra
#

@somber heath hmm what languages do you use on a regular basis ?

limpid umbra
#

i keep wanting to use Python for ease of use , and C++ for speed , but many claim C++ is a waste of time , im kinda confused

#

mmm need to learn C++ rather

amber raptor
rugged root
limpid umbra
#

but many microcontrollers use , C / C++ , is that idea disapearing ?

amber raptor
limpid umbra
#

rust from my limited knowledge , kinda looks like C

maiden skiff
#

I am bored now

#

I'm resting while listening to music haha

limpid umbra
#

if bored - ask a hard question - there are many PROS in the room

maiden skiff
rugged root
limpid umbra
#

i worked with a fella from pakistan , all you have to know is the personal name of a military commander - and just say it - and many would just back away and say sorry

rugged root
granite plank
#

@somber heath

#

no longer staff?

somber heath
granite plank
narrow salmon
rugged root
limpid umbra
#

@narrow salmon use a VPN ?

#

good good good - use

whole blade
#

We cannot in any of the voice chat till 50 msgs?

rugged root
#

To use VC, yeah.

#

It's for a good cause

limpid umbra
#

yes pic of kitty is mandatory

narrow salmon
#

ignore the urdu, but focus on the stuff they took

#

(people raiding the homes of government officals)

iron plume
limpid umbra
#

it didnt show up ?

#

kitty sleeping in the sunshine

iron plume
limpid umbra
#

im not getting a pic from instagram

desert wolf
#

@wind raptor I have reach limitations with Obsidian 😦

rugged root
#

!stream 346499303361216524

wise cargoBOT
#

βœ… @iron plume can now stream until <t:1683745122:f>.

desert wolf
#

No SVG support

whole bear
#

print("meow" * 3, )

rugged root
#

You'd use a for loop and input()

#

If you want there to be an Enter press each time

whole bear
#

how does /n work?

gentle flint
#

print("meow\n"*3)

whole bear
#

thanks

gentle flint
#

static type checking always brings me such joy /s

src/utils.py:10: error: Argument 1 has incompatible type "Callable[[UtilsCog, Interaction], Coroutine[Any, Any, None]]"; expected "Union[Callable[[<nothing>, Interaction, VarArg(<nothing>), KwArg(<nothing>)], Coroutine[Any, Any, <nothing>]], Callable[[Interaction, VarArg(<nothing>), KwArg(<nothing>)], Coroutine[Any, Any, <nothing>]]]"  [arg-type]
whole bear
#

int(input("x"))

rugged root
#
def ham(pork):
  try:
    int_pork = int(pork)
  except ValueError:
    print("Input was not an integer.  Try again.")
desert wolf
#

@wind raptor may I stream?

wind raptor
#

!stream 500168097852948482

wise cargoBOT
#

βœ… @desert wolf can now stream until <t:1683745738:f>.

lucid blade
#

im mind blown

limpid umbra
#

i got some wonderful road-rash from a skateboard

rugged root
#

There's a cream for that

lucid blade
#

fun times? πŸ˜„

limpid umbra
#

it healed

#

no cream - just rub dirt on it..... or was it whiskey

lucid blade
#

for all the years ive skated i never fucked up that bad but from mountain biking ive been in hospital 3 time πŸ˜„

limpid umbra
#

3rd GIANT coffee , underway

#

juzzzzt buzzzzzzing aloooong