Skip to content
Sign upLog in
← Back to Community
What does this code do?
Profile icon
BrockTempler

Idk how your even gonna see my code but I did click my repl.it that i want to display
at the top it will say if name == "main":
all the code is my'n but someone added that and I don't know why or what it does any one wanna tell me.
first time in talk.

Voters
Profile icon
BrockTempler
Comments
hotnewtop
Profile icon
nuxyvazu

Do the Postal Tracking Right Now. Track the delivery and locate your order with the tracking post office right now. correio rastreamento

Profile icon
nuxyvazu

Looking for Daikin energy efficient air conditioners? Buy Daikin air conditioners and have them fully installed with Luxe Air Conditioning. We specialise in the sales and installation of Daikins. Luxe Air Conditioning for Daikin Air Conditioner Installs In Sydney

Profile icon
nuxyvazu

CWK Global is professional Certified Public Accountant (CPA) firm with headquarter in Hong Kong and a strong presence across the Asia-Pacific. Possessing extensive experience in professional services for listed groups and multinational conglomerates, we are proud of the uncompromising quality and dedicated to providing tailored services to your business. Company secretarial

Profile icon
nuxyvazu

You can use the coupon code MichaelK at checkout for 30% off 3 months of a Study.com College Accelerator membership so that you can complete courses and earn college credit at your own pace. It's a referral code so I do receive compensation when it's used. study.com coupon code

Profile icon
nuxyvazu

Use the coupon code MichaelK at checkout for 30% off 3 months of a Study.com College Accelerator membership so that you can complete courses and earn college credit. It's a referral code so I do receive compensation when it's used. study.com referral code

Profile icon
nuxyvazu

We are a full-service flooring company. We provide floor refinishing and flooring installation in Vancouver WA and Portland Oregon. hardwood floor refinishing vancouver wa

Profile icon
nuxyvazu

Carpenter Ants will damage the structure of a building if not treated right away, Some ants control expert have referred to carpenter ants as silent destroyers, Exterminators

Profile icon
nuxyvazu

Natural methods Extermination to get rid of sugar ants have some supporters, but numerous studies have shown that their effectiveness is shaky at best. Commercial Exterminators

Profile icon
nuxyvazu

Little black ants extermination is process to prevent further infestation. The process begins with an pest control inspection for ants to determine the source of the problem. Ants extermination plan for how to effectively and efficiently deal with the infestation is implemented. Pest Control For Ants

Profile icon
nuxyvazu

Woking taxi services, comfortable taxis in Woking. Book local cabs journeys, business trips & airport taxi transfers. Award-Winning Woking Taxi Company Woking taxis

Profile icon
nuxyvazu

Preferential prices, fast delivery, products used by more than 1,000 international customers, Vault Door For Sale, Bank Vault Door For Sale, Bank Vaults For Sale, Bank Vault Manufacturer vault door manufacturers

Profile icon
nuxyvazu

Voyance Margot 0899 864 824 votre Voyance gratuite téléphone : sentimental, professionnel, finance, solitude. Décidez de ce que sera demain. Appelez-nous voyance par telephone gratuite

Profile icon
nuxyvazu

The UK's home for instrument cluster and speedometer repair, calibration, modification and spares. https://www.clusterrepairsuk.co.uk/

Profile icon
nuxyvazu

Daewoo Power Products is providing excellent gasoline generators in Pakistan. We only deal in Daewoo products and 3 different types of generators are available at our online store. Click here

Profile icon
nuxyvazu

I was surfing the Internet for information and came across your blog. I am impressed by the information you have on this blog. It shows how well you understand this subject. situs slot gacor

Profile icon
nuxyvazu

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. Data SGP

Profile icon
nuxyvazu

Get the guide on watching Smartcric India vs England, Ban vs WI live cricket streaming guide www.smartcric.com Indian Premier League Smart cricket www.smartcric.com

Profile icon
nuxyvazu

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. free classifieds

Profile icon
IMayBeMe

If name == main is just a way to run the program. It will execute all the code underneath it as long as the file name is main

Profile icon
BrockTempler

@IMayBeMe
It would execute regardless theres no need for that. As long as it is meeting the parameters I give it, it works

Profile icon
IMayBeMe

@BrockTempler
Yeah it's generally unnecessary and I personally don't see a use for it.

Profile icon
BrockTempler

And yes I know my code could be a lot simpler but I'm doing things with files on purpose.
Also please pray that I pass my MTA 98-381 exam tomorrow I just started coding and that test should be meant for next level of python teaching which they gonna do next year but its too hard for someone my level.

Profile icon
IMayBeMe

@BrockTempler
I’m kind a curious what is that test on, cause python can prob be learned in less than a week

Profile icon
BrockTempler

@IMayBeMe
Python is the first launguage I have ever learned but what were doing now is easy but on the test majority is stuff we have not learned at all. So much so that they are just now realizing it and next year the test is for the next level or advanced python class. PS. its a industry test so timed.

Profile icon
IMayBeMe
Profile icon
BrockTempler

@IMayBeMe
Also I didn't understand the first 2 '6' weeks of the class and just now started getting it since we went back full time I failed 2 days ago and I'm retaking it again today along with my drivers test except I didn't fail drivers test just first time. Alot of pressure.