隨著數據分析和人工智能的興起,Python編程語言的需求日益增長,成為了求職市場上的熱門技能之一。那么作為一名初學者或者已經有一定經驗的Python開發者,我們應該如何找到對應的工作呢?下面將介紹幾種常用的找工作方式:
1. 在招聘網站進行搜索
import requests from bs4 import BeautifulSoup url = 'https://www.zhipin.com/' headers = { 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36' } params = { 'query': 'Python開發', 'city': '全國' } response = requests.get(url, headers=headers, params=params) soup = BeautifulSoup(response.text, 'html.parser') jobs = soup.find_all(name='div', class_='job-primary') for job in jobs: job_title = job.find(name='div', class_='job-title').text job_salary = job.find(name='span', class_='red').text job_company = job.find(name='div', class_='company-text').find(name='a').text print(job_title, job_salary, job_company)
2. 加入Python社區
import slack client = slack.WebClient(token="YOUR_TOKEN") response = client.conversations_list() for channel in response['channels']: if channel['name'] == "python": response = client.conversations_history(channel=channel["id"]) for message in response['messages']: if 'text' in message.keys(): if "job" in message['text']: print(message['text'])
3. 在GitHub上搜索工作
import requests from bs4 import BeautifulSoup url = 'https://github.com/' params = { 'q': 'Python developer job', 'type': 'Jobs' } response = requests.get(url, params=params) soup = BeautifulSoup(response.text, 'html.parser') jobs = soup.find_all(name='div', class_='position-item') for job in jobs: job_title = job.find(name='div', class_='position-title').text job_salary = job.find(name='span', class_='other-pos-info').text job_company = job.find(name='span', class_='company-name').text print(job_title, job_salary, job_company)
總之,找工作需要投入大量的時間和精力,多渠道地搜索和申請職位是關鍵。同時,不斷完善自己的技能和經驗也是非常重要的。
上一篇mysql分組拼接函數
下一篇python 迭疊加程序