Would anyone be able to tell me a bit about what my career will be like? And anything I should look out for in the near future in general? Thanks!

2022.01.18 13:59 Ok-Instance8141 Would anyone be able to tell me a bit about what my career will be like? And anything I should look out for in the near future in general? Thanks!

Would anyone be able to tell me a bit about what my career will be like? And anything I should look out for in the near future in general? Thanks! submitted by Ok-Instance8141 to astrologyreadings [link] [comments]


2022.01.18 13:59 213374U Memory Leak - Selenium Script

Hello,
I made what was to me, significant process on a selenium script I am using to scrape customer information from a CRM. First, Chromedriver was eating tons of memory and I finally successfully configured it to run in headless mode. This fixed my issue of exhausting memory in Chrome.
However, now I have a memory leak within Python itself. The longer the script runs it consumes more and more RAM until Python crashes.
I attempted to use tracemalloc but I really have no idea what I am doing or what I am looking at when I get the output.
Any insight or help would be greatly appreciated!

# https://sites.google.com/a/chromium.org/chromedrivedownloads from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time import pandas as pd import csv #Create csv outfile = open("customers.csv","w",newline='') writer = csv.writer(outfile) #define dataframe df = pd.DataFrame(columns=['FirstName','MiddleName','LastName','Address','City','State','Zip','Office Phone','HomePhone','MobilePhone','WorkEmail','PersonalEmail']) chrome_options = Options() chrome_options.add_argument("--disable-extensions") chrome_options.add_argument("--window-size=1920,1080") chrome_options.add_argument("--headless") driver = webdriver.Chrome(chrome_options=chrome_options) driver.implicitly_wait(15) driver.maximize_window() driver.get("WEBSITE ADDRESS HERE") # Go to the login page assert "Login" in driver.title username = driver.find_element_by_id("__BVID__13_") username.clear() username.send_keys("USERNAME HERE") # Enter the username on the login page password = driver.find_element_by_id("__BVID__15_") password.clear() password.send_keys("PASSWORD HERE") # Enter the password for the login driver.find_element_by_xpath("/html/body/div/div/div/div[2]/div/div/div/div/div/button").click() # The above line clicks the login button for the website. time.sleep(5) # Give the browser 5 seconds to finish logging in and load before going to the custromer page driver.get("website.com/customelist") # Pulls up the customer records page WebDriverWait(driver, 20).until(EC.invisibility_of_element((By.CSS_SELECTOR, "div.white-overlay"))) # Wait for the loading div to go away before we attempt to click so the other element does not receive the click. allbutton = WebDriverWait(driver, 15).until( EC.element_to_be_clickable((By.XPATH, '//div/div/div/label[3]')) ) allbutton.click() # Click the all customer radio button searchbutton = WebDriverWait(driver, 15).until( EC.element_to_be_clickable((By.XPATH, '/html/body/div[1]/div/div/div/main/div/div[1]/div/div[2]/div/button[1]')) ) searchbutton.click() # Clicks the search button to return all customers in the CRM WebDriverWait(driver, 20).until(EC.invisibility_of_element((By.CSS_SELECTOR, "div.white-overlay"))) # Waiting for the white overlay div to go away so our element below receives the click. lastupdated = WebDriverWait(driver, 15).until( EC.element_to_be_clickable((By.XPATH, '//th[6]')) ) lastupdated.click() # Sorts by last updated. This sorts customers from the oldest customer records to newest that a salesperson has interacted with. WebDriverWait(driver, 20).until(EC.invisibility_of_element((By.CSS_SELECTOR, "div.white-overlay"))) # Waiting for the white loading div to go away again. for i in range(0,4597): for i in range(1,51): WebDriverWait(driver, 20).until(EC.invisibility_of_element((By.CSS_SELECTOR, "div.white-overlay"))) driver.find_element_by_xpath("//tr["+str(i)+"]/td[3]/a").click() # The above line brings up the individual customer's record from the table with the pertinent information I am trying # to extract. WebDriverWait(driver, 20).until(EC.invisibility_of_element((By.CSS_SELECTOR, "div.white-overlay"))) time.sleep(0.1) # Waiting for the customer record to finish loading so I can extract the information I need. FirstName = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[1]/div[1]/div[2]/input').get_attribute("value") print("This should be the First name " + (FirstName)) # Selects the first input field with the information I am trying to extract. MiddleName = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[1]/div[2]/div[2]/input').get_attribute("value") print("This should be the middle name " + (MiddleName)) # Selects the second input field with the information I am trying to extract. LastName = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[1]/div[3]/div[2]/input').get_attribute("value") print("This should be the last name " + (LastName)) # Selects the third input field with the information I am trying to extract. Address = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[2]/div[1]/div[2]/input').get_attribute("value") print("This should be the street address " + (Address)) # Selects the fourth input field with the information I am trying to extract. City = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[2]/div[2]/div[2]/input').get_attribute("value") print("This should be the City " + (City)) # Selects the fifth input field with the information I am trying to extract. State = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[2]/div[3]/div[2]/input').get_attribute("value") print("This should be the State " + (State)) # Selects the sixth input field with the information I am trying to extract. Zip = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[2]/div[4]/div[2]/input').get_attribute("value") print("This should be the Zip Code " + (Zip)) # Selects the seventh input field with the information I am trying to extract. OfficePhone = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[3]/div[1]/div[2]/input').get_attribute("value") print("This should be the Office Phone " + (OfficePhone)) # Selects the eighth input field with the information I am trying to extract. HomePhone = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[3]/div[2]/div[2]/input').get_attribute("value") print("This should be the Home Phone " + (HomePhone)) # Selects the ninth input field with the information I am trying to extract. MobilePhone = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[3]/div[3]/div[2]/input').get_attribute("value") print("This should be the Mobile Phone " + (MobilePhone)) # Selects the tenth input field with the information I am trying to extract. WorkEmail = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[4]/div[1]/div[2]/input').get_attribute("value") print("This should be the Work Email " + (WorkEmail)) # Selects the eleveneth input field with the information I am trying to extract. PersonalEmail = driver.find_element_by_xpath('/html/body/div[5]/div[2]/div[2]/div/div[2]/div[1]/div[1]/div/div/div[2]/div[2]/div[4]/div[2]/div[2]/input').get_attribute("value") print("This should be the Personal Email " + (PersonalEmail)) # Selects the twelvth input field with the information I am trying to extract. closebutton = WebDriverWait(driver, 15).until( EC.element_to_be_clickable((By.XPATH, '/html/body/div[5]/div[1]/div/a')) ) closebutton.click() # This closes the individual customer record before moving onto the next record. #Add new rows to dataframe df2 = pd.DataFrame([[FirstName,MiddleName,LastName,Address,City,State,Zip,OfficePhone,HomePhone,MobilePhone,WorkEmail,PersonalEmail]],columns=['FirstName','MiddleName','LastName','Address','City','State','Zip','Office Phone','HomePhone','MobilePhone','WorkEmail','PersonalEmail']) df = df.append(df2,ignore_index=True) # Above adds the news rows to the dataframe driver.execute_script("window.scrollTo(0,document.body.scrollHeight)") #Scrolls to the bottom of the page to avoid the unanswered SMS button in the bottom right corner driver.find_element_by_xpath("/html/body/div[1]/div/div/div/main/div/div[1]/div/div[3]/div/ul/li[8]/button").click() # This clicks the button to go to the next page and continue the loop # driver.execute_script('window.localStorage.clear();') # driver.execute_script('window.sessionStorage.clear();') #save to CSV df.to_csv('customers.csv') outfile.close() driver.quit() 
submitted by 213374U to learnpython [link] [comments]


2022.01.18 13:59 msichana_mrefu Car for 300k?

As the post title suggests, I'm looking for a car. Any recommendations for a good car I can get at this price? I'm a noob when it comes to cars. Just want something well kept that can get me from point A to B and my long legs can fit in comfortably 😂
submitted by msichana_mrefu to Kenya [link] [comments]


2022.01.18 13:59 RedEyeBunn Does delaying a speeding ticket case really save on insurance?

I received a speeding ticket in a well-known speed trap in 2020. Due to COVID, my case has not been tried yet over 18 months later. I am doubtful I was speeding as much as the officer suggested.
I'm trying to determine if there is any benefit to the fact that my case is being delayed, as so many traffic ticket paralegals claim.
If convicted, my internet research suggests it stays on my Driver's Record for 2 years from the date of the offence. I also understand insurance companies may charge increased premiums for up to 3 years following the conviction.
Traffic paralegals claim that the ticket stays on your record for 2 years from the date of the offence, and thus that there is benefit to delaying your case. This means that if my case isn't resolved in the next 6 months, it will never show up on my Driver's Record since that will be over 2 years, and thus won't impact my insurance. Is this correct? Or even if it stays on your record for 3 years, Since it occured in 2020, I'd only have 1 year of it negatively impacting my record.
submitted by RedEyeBunn to ontario [link] [comments]


2022.01.18 13:59 GroundbreakingPen925 Confused as to where exactly I am in the asexual spectrum.

I think I'm either greysexual or demisexual.
Most often, my attraction to someone is non-sexual — even if I am in a relationship with that person. I am most attracted to their personality and shared interests. Their physical traits, I can also find non-sexually attractive as well. I can find someone beautiful, but not feel an urge to have sex with them. However, not as often, I can find someone sexually attractive... but don't have an urge to have sex with them. This is true regardless if I am in a relationship with them or not.
In order for me to have sex with someone, I need to be dating them... but, of course, this also doesn't mean I'll only be wanting sex in the relationship from then on. Sex is barely at the front of my mind. For me to be willing to date someone, I need to have a deep, platonic relationship with that person as well.
submitted by GroundbreakingPen925 to Asexual [link] [comments]


2022.01.18 13:59 Kab_Evo Oh sorry to interrupt you Blahaj...

Oh sorry to interrupt you Blahaj... submitted by Kab_Evo to BLAHAJ [link] [comments]


2022.01.18 13:59 BamboozledRacoon QUICK NFT GIVEAWAY FIRST 100 🏆🎁

QUICK NFT GIVEAWAY FIRST 100 🏆🎁 submitted by BamboozledRacoon to NFTExchange [link] [comments]


2022.01.18 13:59 SpeakerIntelligent49 bro w h a t

bro w h a t submitted by SpeakerIntelligent49 to shitposting [link] [comments]


2022.01.18 13:59 AmberDombroski Just read Silencio by AkashaTheKitty for the first time… (no outright spoilers, but some very general comments about the ending)

I’m freaking WRECKED. My heart was in my stomach for most of this read, either because the angst was so good or the hurt was so deep. This fic is now one of my favorites, even without having a happy ending (which is usually a must for me).
I was on chapter 14, and did NOT see how the fic could end with one chapter left… then BAM- it’s over and I’m crying. Then to find out the the sequel is still a WIP? So sad and so excited to see what happens in Secrets… Anyone else share these feelings??
submitted by AmberDombroski to Dramione [link] [comments]


2022.01.18 13:59 SufficientSlip8242 Kemei 1971

was wondering if it's worth buying as a guy who's cutting his hair bald last few years.
my question is, can i use this to cut the small hair that grows again after 2-3 days? Thanks for any replies , sorry for english, using googletranslate.
submitted by SufficientSlip8242 to Barber [link] [comments]


2022.01.18 13:59 Material_Height6940 Will there be a chapter this friday?

Ik is that’s it been only a week since the last chapter, but he submitted the last chapter a week before hand, or does he usually give the company one week to publish it?
submitted by Material_Height6940 to OnePunchMan [link] [comments]


2022.01.18 13:59 No-Pizza-9423 After Further Analysis

i was wrong
Cameras/Good Ones Go is hands down, Undisputed, miles ahead of the rest, the greatest drake song of all time.
Have a nice day.
submitted by No-Pizza-9423 to Drizzy [link] [comments]


2022.01.18 13:59 flexbarker Dieser Song geht gerade aus guten Gründen viral: https://www.youtube.com/watch?v=O0vGijvPvps Aber angefangen hat er bereits im Jahr 1997, 1997 gab er seinen Beruf als Briefträger auf und widmete sich der Musik.

Dieser Song geht gerade aus guten Gründen viral: https://www.youtube.com/watch?v=O0vGijvPvps Aber angefangen hat er bereits im Jahr 1997, 1997 gab er seinen Beruf als Briefträger auf und widmete sich der Musik. submitted by flexbarker to nwone [link] [comments]


2022.01.18 13:59 FloorGang-R2 This scene looks so damn good for no reason

This scene looks so damn good for no reason submitted by FloorGang-R2 to IttoMains [link] [comments]


2022.01.18 13:59 asanefeed Trump Backs Boosters. Clearly, Someone Did the Math for Him: Trump is losing hundreds of voters a day to Covid — far more than the margins in the swing states

Trump Backs Boosters. Clearly, Someone Did the Math for Him: Trump is losing hundreds of voters a day to Covid — far more than the margins in the swing states submitted by asanefeed to politics [link] [comments]


2022.01.18 13:59 abidly Andy Murray - BiH Link

Andy Murray - BiH Link submitted by abidly to bihlink [link] [comments]


2022.01.18 13:59 tangerine-bears (TW) my pregnancy led to an ED

I have never posted on Reddit so please forgive me for mistakes. Also if someone could tell me how to add a trigger warning tag that would be appreciated.
I (21f) found out I was pregnant March 2020. It was about a week before everything shut down. I ended the relationship with the guy I had been dating almost immediately because I was ready to grow up and he wasn’t. (and still hasn’t) He sees our son maybe 3-4 times a month.
I am on disability and live with my parents. Half goes to bills and the other half to my son’s needs. His father does not contribute at all, his mother enables this and buys everything my ex needs at their house, and I can’t go to court and make him help because child support payments will take away SSI ones that also provide me health insurance. (at least in the state I am in, not sure about others) I am completely stuck where I am unless I go to work, which even then, I cannot afford childcare to do so.
My ex and I had a heart to heart when dating, I told him that him watching porn made me insecure. He agreed and said that he would stop because I was more than enough. He was lying though. I found he had been watching it on a device we frequently shared. (He lived with me at the time) I asked him why, and he told me that I didn’t look like I did in high school anymore and that he was getting from porn what he couldn’t from me. (Someone skinnier than me)
I have always been insecure about my weight, even though I have never been overweight. And I have had eating disorder habits? I guess. (Which he had known about so it made his comment hurt even worse) It never lasted until now.
Being pregnant, I had morning sickness for a little while. But even after it went away, I couldn’t stop making myself throw up. I used being pregnant to hide it, and I have still gotten away with it. I practically only gained the weight of the baby and placenta. No one suspected anything and they still don’t notice. My family thinks I am just dropping baby weight, even though I am far below where I was when I got pregnant.
I have BPD. I think that doing this is my way of coping because this is the only thing I can feel completely in control of. Everything around me, my whole life, feels so out of my control. I can’t afford my own place without a job, I can’t get a job without money for childcare, and I can’t get my ex to help without losing the money & insurance I need for myself and my son. It feels like my whole life is being put on hold, and I don’t know if I’ll ever be able to get on my own feet.
I don’t want to get better. I don’t want to lose this tiny bit of control I have. I don’t even care about the weight aspect anymore. I just can’t bring myself to let go. I feel so stuck.
submitted by tangerine-bears to Vent [link] [comments]


2022.01.18 13:59 Dark_demon7 My first Brush tip marker drawing , Deoxys

submitted by Dark_demon7 to pokemonanime [link] [comments]


2022.01.18 13:59 Estou_cansada3108 I have nothing to do so... make some assumptions about me, based on this image

I have nothing to do so... make some assumptions about me, based on this image submitted by Estou_cansada3108 to teenagers [link] [comments]


2022.01.18 13:59 MashalShy Best Dropshipping Courses in 2021/22 💰📚

Best Dropshipping Courses in 2021/22 💰📚 submitted by MashalShy to DropShippingNetwork [link] [comments]


2022.01.18 13:59 cbvv1992 🔥50% Off Code – $5.49 Car Net Pocket 3 Layer for Backseat Kids Dogs or Pets

🔥50% Off Code – $5.49 Car Net Pocket 3 Layer for Backseat Kids Dogs or Pets submitted by cbvv1992 to DealAndSale [link] [comments]


2022.01.18 13:59 Lvarnen question about Vistani fated allies

submitted by Lvarnen to CurseofStrahd [link] [comments]


2022.01.18 13:59 toothless0001 Build Suggestion

I'm looking for a good gaming computer, is this a good choice?
https://pcpartpicker.com/b/PcWbt6
I'd want to play games like CSGO, Rocket League, COD, Minecraft & Valorant.
submitted by toothless0001 to buildapc [link] [comments]


2022.01.18 13:59 haidouken Positive unvaxxed

I’m well over 100lbs overweight and for me this was no more than a common cold and I lost my taste and smell.
I have been dodging it for a while but symptoms started last Monday 10/1 with a pretty bad headache, woke up on the Tuesday with a cold and thought nothing more of it until Saturday I couldn’t taste or smell a thing so took a test and was positive
Already testing negative as of today and smell and taste returning, glad it’s all done with and maybe I’m lucky but this was not a bad illness at all.
submitted by haidouken to COVID19positive [link] [comments]


2022.01.18 13:59 kraal42 Germany’s Nuclear-Power Phaseout Ignores Energy Realities

Germany’s Nuclear-Power Phaseout Ignores Energy Realities submitted by kraal42 to dezwo [link] [comments]


http://kudaby.ru