this is the code on pyhton e_mail=input(“enter your mail adress”).strip().lower() print(f”hello your name is {e_mail[:e_mail.index(“@”)].capitalize()}”) print(f””Email Service Provider Is {e_mail[e_mail.index(“@”)+1:e_mail.index(“.”)]}”) print(f””Top Level Domain Is {e_mail[e_mail.index(“.”)+1:]}”) this is ereur msg print(f”hello your name is {e_mail[:e_mail.index(“@”)].capitalize()}”) ^ SyntaxError: f-string: unmatched ‘(‘ visual-studio-code indexing printing slice New contributor Bahaeddine Dhahbi is a new contributor to this site. Take…
Keep getting the error “No Python at” for this login program i made on python
the file will not even run it just shows that “No Python at” then tells me the location of the file i don’t know why.
GSAP animations useGSAP hook triggering simultaneously in Next.js
I’m encountering an issue while migrating a React project to Next.js. In the original React project, I used GSAP animations with the useGSAP hook from the @gsap/react library. The animations in each component would start only when the component scrolled into view. However, after converting the project to Next.js, all the animations in each component start simultaneously when the page loads, instead of triggering individually upon scrolling into view.
Filtering algorithm working on one machine but not on other
I have a certain filtering routine
I’m looking for graphql query for cognite api which will do the query fetch data from 2 views
{ “with”: { “Property”: { “nodes”: { “filter”: { “and”: [ { “hasData”: [ { “type”: “view”, “space”: “slb-pdm-dm-governed”, “externalId”: “Property”, “version”: “1_6” } ] }, { “equals”: { “property”: [ “node”, “externalId” ], “value”: “Entity:L660V486LL11142:f4b7cd41-031d-4621-8332-b0461113c572” } } ] } } }, “TimeSeriesProeprtyType”: { “nodes”: { “from”: “Property”, “through”: { “view”: { “type”: “view”, “space”: “slb-pdm-dm-governed”, “externalId”: “TimeseriesPropertyType”, “version”: “1_9” }, “identifier”: “f4b7cd41031d46218332b0461113c572” }, “filter”: { “and”: [ { “in”: { “property”: [ “slb-pdm-dm-governed”, “TimeseriesPropertyType/1_9”, “externalId” ], “values”: [ { “space”: “slb-pdm-dm-governed”, “name”: “SWITCH_STATUS” } ] } } ] } } } }, “select”: { “Property”: { “sources”: [ { “source”: { “type”: “view”, “space”: “slb-pdm-dm-governed”, “externalId”: “Property”, “version”: “1_6” }, “properties”: [ “*” ] } ] } }, “includeTyping”: false }
not able to make the smart app banner for android show
I am trying to put a smart banner for android devices.
I have followed following links already, have tried the “smartbanner” plugin as well, but nothing works.
reference of links followed:
stack question 1
Creating an android smart app banner
How to simulate the behaviors of isError/isSuccess/data of useQuery Rtk Query using Typescript?
I’d like to build a custom hook useGetUserProfile like so:
How to extract the quadratic fit from stat_smooth when using a transformed axis
I am trying to extract the line for my quadratic fit so that I can work out the x coordinate at y = 0.1 but the lm() and the stat_smooth are giving me different fits because of the log transformation on my y axis.
Beautifulsoup web scraping outputs ‘[ ]’
I’m incredibly new to web scraping, I have tried to scrape simple data from websites with succes and now wanted to try and scrape bookies odds for sports gambling, this is when I stumbled upon a problem. With using the exact code that worked on other sites (just changing the class name to one that’s on the new site) the output now just says ‘[ ]’. There might just be a very simple solution that i’m missing but I just don’t see it.
@TestPropertySource(locations={“classpath: application -test.properties”}) is not reading the properties file values
I am using junit to write the test cases, but am not able to read the property file values