Please I beg you DON'T get started in your programming career using python

Panther28

Elite Member
Executive VIP
Jr. VIP
Joined
May 2, 2010
Messages
10,241
Reaction score
16,102
I just started programming in python on Wednesday.
Everything went amazingly well, easy to use friendly and whatnot.

So what's my complaint?

Well, last night I dreamt I got bit by a damn python and had to go get a life-saving injection from the hospital. I remember that I almost died, and all the things I said about my life, and how I wanted longer to live. Very scary. I felt like I reached the end of my life last night.

So this is my warning to you, avoid python if you don't like snakes! :D
 
I just started programming in python on Wednesday.
Everything went amazingly well, easy to use friendly and whatnot.

So what's my complaint?

Well, last night I dreamt I got bit by a damn python and had to go get a life-saving injection from the hospital. I remember that I almost died, and all the things I said about my life, and how I wanted longer to live. Very scary. I felt like I reached the end of my life last night.

So this is my warning to you, avoid python if you don't like snakes! :D
Funny thing is python are actually venomless. You had to "go get a life-saving injection" from a harmless python. You are more idiot in your dreams or maybe you didn't know that about python.
 
Funny thing is python are actually venomless. You had to "go get a life-saving injection" from a harmless python. You are more idiot in your dreams or maybe you didn't know that about python.
Sorry my dreams aren't up to actual reality standards. I'll try and dream smarter next time. :)
 
Reading the title i came here with endless arguments to convince you otherwise until i realized it was just a dream :suspicious:
 
Reading the title i came here with endless arguments to convince you otherwise until i realized it was just a dream :suspicious:
Yeah i'm a total convert now, no need to argue, I'll be looking for any excuse to use python in the future! Just hopefully don't get any more bad dreams about them hahaha
 
I just started programming in python on Wednesday.
Everything went amazingly well, easy to use friendly and whatnot.

So what's my complaint?

Well, last night I dreamt I got bit by a damn python and had to go get a life-saving injection from the hospital. I remember that I almost died, and all the things I said about my life, and how I wanted longer to live. Very scary. I felt like I reached the end of my life last night.

So this is my warning to you, avoid python if you don't like snakes! :D
What do you plan to use Python for? Machine learning or what?

because e.g. Php is for web, ios for iphone, java for android…
 
I just started programming in python on Wednesday.
Everything went amazingly well, easy to use friendly and whatnot.

So what's my complaint?

Well, last night I dreamt I got bit by a damn python and had to go get a life-saving injection from the hospital. I remember that I almost died, and all the things I said about my life, and how I wanted longer to live. Very scary. I felt like I reached the end of my life last night.

So this is my warning to you, avoid python if you don't like snakes! :D
Came from the homepage feed, preparing for a fight.
Left disappointed.

I wish you no Exceptions and indentation errors in your journey, good sir.
 
Can you think of any cool routes to get a rookie excited? :)
I just been thinking how can i automate more of things like simple stat or info scraping, so I don't have to search out things manually. You can get started with the best ide you need pycharm, and use beautiful soup, and selenium. There is soo much stuff on stack if you get stuck too. I was probably a basic skilled medium-level programmer before, but after then trying python, I found it the easiest to build on what I already learned from PHP, and I already feel so much more confident about my increased skill level, even if its really just a small increase. Its only been less than a week, and I finished a scraper that has run on a vps for 24 hours almost, with no issues.
 
I just been thinking how can i automate more of things like simple stat or info scraping, so I don't have to search out things manually. You can get started with the best ide you need pycharm, and use beautiful soup, and selenium. There is soo much stuff on stack if you get stuck too. I was probably a basic skilled medium-level programmer before, but after then trying python, I found it the easiest to build on what I already learned from PHP, and I already feel so much more confident about my increased skill level, even if its really just a small increase. Its only been less than a week, and I finished a scraper that has run on a vps for 24 hours almost, with no issues.
10 stars for that reply, I straight away thought of @Alexion's most recent post and was thinking maybe setting up a bot to translate articles from one language to another; would be cool to get Python to run it through a grammar checker, but would this not build a great bank of articles?

Like the things throwing me off:

How do you tell your bots when to start and finish scraping, the page you'd like to scrape: what if the scrapable information has images and such interlinked, or this articles actual text/styling starts later than this article?

I wonder if I'm thinking of Python wrong? :D
 
10 stars for that reply, I straight away thought of @Alexion's most recent post and was thinking maybe setting up a bot to translate articles from one language to another; would be cool to get Python to run it through a grammar checker, but would this not build a great bank of articles?

Like the things throwing me off:

How do you tell your bots when to start and finish scraping, the page you'd like to scrape: what if the scrapable information has images and such interlinked, or this articles actual text/styling starts later than this article?

I wonder if I'm thinking of Python wrong? :D
The answer to all your questions has only one answer: learning and using if/else statements :) and string.replace, which is What I do for my own in house translations.
 
The answer to all your questions has only one answer: learning and using if/else statements :) and string.replace, which is What I do for my own in house translations.

Ohh buddy I'm nearly there.. Y'all programmers exciting...
 
10 stars for that reply, I straight away thought of @Alexion's most recent post and was thinking maybe setting up a bot to translate articles from one language to another; would be cool to get Python to run it through a grammar checker, but would this not build a great bank of articles?

Like the things throwing me off:

How do you tell your bots when to start and finish scraping, the page you'd like to scrape: what if the scrapable information has images and such interlinked, or this articles actual text/styling starts later than this article?

I wonder if I'm thinking of Python wrong? :D
You just set up for loops to check each value of a list, or a while to keep it looping till it meets a condition. That will determine how you stop unless its just an a-z linear program. You run from the command line. Once your windows PC has all the included modules from your main.py program for example, then it will run at the command prompt. You can setup a batch file to download and install all the required modules, and then just run your .py program.

As for scraping a page. You use selenium to browse pages & interact from a live perspective. And soup to get a static view of the site. You literally just have to use 2 functions, a get, and a delaration of what attribute or element you need. something like:
Code:
page_scrape = instance.get(url)
actual_scraped_title = page_scrape.getAttribute('title')

NOTE: this isn't the correct code, but it's something close to that in theory.

You just run your code in pycharm by pressing the play button. But at the command prompt, you type "python main.py" that's all.

If your stuck for ideas, definitely grab a udemy course at the next sale that shows you multiple project ideas. Or just look for something easy that you go searching for every day. Like how many listings are in a category on amazon each day, and upload that into a database. That can be handy if you are a seller. You can then query that data, and do further things to give you the automated edge.
 
If your stuck for ideas, definitely grab a udemy course at the next sale that shows you multiple project ideas. Or just look for something easy that you go searching for every day. Like how many listings are in a category on amazon each day, and upload that into a database. That can be handy if you are a seller. You can then query that data, and do further things to give you the automated edge.
It's the enthusiasm for here for me handsome, will 100% be grabbing a look into a Python course when I get my confidence in jS!

My strong look into Laravel and what's in and around it is after clearing up a lot of the dramatics with jS, I'm looking at this and getting excited and ready to run at Python! :cool:

I'm now thinking product upload and such...
 
Nice click bit
Which course you are following?
https://www.udemy.com/course/selenium-webdriver-with-python3and
https://www.udemy.com/course/selenium-webdriver-and-python
But I'll probably look for another one once I finish those. There is thankfully lots of stuff I'm experienced with (finally!) that I can forward fast all the basics, and actually, look up specific information from the courses from the stage I'm on, rather than watch them from start to finish, and working on their projects.

Sorry, @MinuteRun missed your question. Yeah nothing very advanced quite yet, remember I only just survived a snake bite! :D But really for scraping data into databases that I can work with for other reporting tools or for another actual program. The most I'll be doing in terms of AI is querying an ai writer API interface! lol
 
What do you recommend to start with?
Here's something off the top of my head, a python script that logs into your webpage on WordPress, and either uploads the total word count from a word count plugin to a database, or emails you. Might not sound like the most ambitious project, but you'll learn soup - beautiful/mechanical, installing modules in python, basic control and flow logic, dealing with forms, and either database and or email integration which are a case of simply importing a file, and then calling a quick function for your results. You'll have to learn how to place a variable from the code into either an email message or the database.

Something like that is all you need to get started. Literally, one of my next programs will do something similar, and I have no doubt it will be easy to build. Best of luck.
 
Back
Top