What is the best way to provide package version when releasing using Github Action? /u/Haunting_Ad_8730 Python Education

What is the best way to provide package version when releasing using Github Action? /u/Haunting_Ad_8730 Python Education

So currently I have a GitHub repository with Actions setup to publish to PyPI. However, I have to manually bump the version in the pyproject.toml (or __version__ variable) before releasing. What would be the most suitable way to do this? I will be doing releases from GitHub only and want the same version numbers on both.

submitted by /u/Haunting_Ad_8730
[link] [comments]

​r/learnpython So currently I have a GitHub repository with Actions setup to publish to PyPI. However, I have to manually bump the version in the pyproject.toml (or __version__ variable) before releasing. What would be the most suitable way to do this? I will be doing releases from GitHub only and want the same version numbers on both. submitted by /u/Haunting_Ad_8730 [link] [comments] 

So currently I have a GitHub repository with Actions setup to publish to PyPI. However, I have to manually bump the version in the pyproject.toml (or __version__ variable) before releasing. What would be the most suitable way to do this? I will be doing releases from GitHub only and want the same version numbers on both.

submitted by /u/Haunting_Ad_8730
[link] [comments]  So currently I have a GitHub repository with Actions setup to publish to PyPI. However, I have to manually bump the version in the pyproject.toml (or __version__ variable) before releasing. What would be the most suitable way to do this? I will be doing releases from GitHub only and want the same version numbers on both. submitted by /u/Haunting_Ad_8730 [link] [comments]

Read more

How much dictionary or particular topic question one should practice? /u/Former_Appearance659 Python Education

How much dictionary or particular topic question one should practice? /u/Former_Appearance659 Python Education

Hello, I have started learning python for data analytics and data science I am a Product support guy learning python side by side to clean the csv excel sheets and other small tasks and long way I see doing some data science work so while practicing especially solving the problems from geeks of geeks platform I came across huge number of problems so how much I should stay on a topic such as dictionary? as there are numerous other topics beside programming to cover?

any advice would be helpful!!:)

submitted by /u/Former_Appearance659
[link] [comments]

​r/learnpython Hello, I have started learning python for data analytics and data science I am a Product support guy learning python side by side to clean the csv excel sheets and other small tasks and long way I see doing some data science work so while practicing especially solving the problems from geeks of geeks platform I came across huge number of problems so how much I should stay on a topic such as dictionary? as there are numerous other topics beside programming to cover? any advice would be helpful!!:) submitted by /u/Former_Appearance659 [link] [comments] 

Hello, I have started learning python for data analytics and data science I am a Product support guy learning python side by side to clean the csv excel sheets and other small tasks and long way I see doing some data science work so while practicing especially solving the problems from geeks of geeks platform I came across huge number of problems so how much I should stay on a topic such as dictionary? as there are numerous other topics beside programming to cover?

any advice would be helpful!!:)

submitted by /u/Former_Appearance659
[link] [comments]  Hello, I have started learning python for data analytics and data science I am a Product support guy learning python side by side to clean the csv excel sheets and other small tasks and long way I see doing some data science work so while practicing especially solving the problems from geeks of geeks platform I came across huge number of problems so how much I should stay on a topic such as dictionary? as there are numerous other topics beside programming to cover? any advice would be helpful!!:) submitted by /u/Former_Appearance659 [link] [comments]

Read more

I am trying to learn how to raise Custom Errors in Python. I want to write a program which doesn’t raise Custom Error when the value is any integer or “quit” but when I enter string other than “quit” it does raise Custom Error.(Beginner) /u/FewNectarine623 Python Education

I am trying to learn how to raise Custom Errors in Python. I want to write a program which doesn’t raise Custom Error when the value is any integer or “quit” but when I enter string other than “quit” it does raise Custom Error.(Beginner) /u/FewNectarine623 Python Education

a = input(“Enter your value between 6 and 9 or value should be quit:”)
if a==”quit” or int(a)>6 and int(a)<9:
print(a)
else:
raise ValueError(“Your entered value is invalid”

I could write only this. But in my program if I enter any integer which doesn’t lie between 6 & 9 it still raises error? How to fix that? i.e. if a = 100,we get Custom Error which I don’t want.

submitted by /u/FewNectarine623
[link] [comments]

​r/learnpython a = input(“Enter your value between 6 and 9 or value should be quit:”) if a==”quit” or int(a)>6 and int(a)<9: print(a) else: raise ValueError(“Your entered value is invalid” I could write only this. But in my program if I enter any integer which doesn’t lie between 6 & 9 it still raises error? How to fix that? i.e. if a = 100,we get Custom Error which I don’t want. submitted by /u/FewNectarine623 [link] [comments] 

a = input(“Enter your value between 6 and 9 or value should be quit:”)
if a==”quit” or int(a)>6 and int(a)<9:
print(a)
else:
raise ValueError(“Your entered value is invalid”

I could write only this. But in my program if I enter any integer which doesn’t lie between 6 & 9 it still raises error? How to fix that? i.e. if a = 100,we get Custom Error which I don’t want.

submitted by /u/FewNectarine623
[link] [comments]  a = input(“Enter your value between 6 and 9 or value should be quit:”) if a==”quit” or int(a)>6 and int(a)<9: print(a) else: raise ValueError(“Your entered value is invalid” I could write only this. But in my program if I enter any integer which doesn’t lie between 6 & 9 it still raises error? How to fix that? i.e. if a = 100,we get Custom Error which I don’t want. submitted by /u/FewNectarine623 [link] [comments]

Read more

Angela Yu “100” days /u/DaPiGa Python Education

Angela Yu “100” days /u/DaPiGa Python Education

Hi all, I am on day 8 on the 100 days course of Angela Yu. As I’m a beginner without having any prior experience in programming I struggle to finish each “day” in a day. I started to google if im the only one as I was thinking that I’m a special kind of ultra stupid. Luckily I found out that a lot of people have trouble finishing a lesson each day.

That’s reassuring BUT I am still a bit frustrated and hope to find some advice here. The thing I struggle with are the coding exercises. Angela explains each topic thoroughly but when it comes to the exercises it is a whole different thing.

It is frustrating to start an exercise just to find out you need to use brand new and unseen features. (.count on day 8 for example) I feel like she draws and outline an image and as “exercise” you need to draw the rest of the effing owl.

How do you guys manage to succeed the exercises? Do you guys google a lot? Search stackoverflow constantly? Find the answer just because?

How am I supposed to know how to code the exercise if I need to use unseen and thus unknown features?

I apologize for the rant/vent I’m just looking for guidance in this regard

submitted by /u/DaPiGa
[link] [comments]

​r/learnpython Hi all, I am on day 8 on the 100 days course of Angela Yu. As I’m a beginner without having any prior experience in programming I struggle to finish each “day” in a day. I started to google if im the only one as I was thinking that I’m a special kind of ultra stupid. Luckily I found out that a lot of people have trouble finishing a lesson each day. That’s reassuring BUT I am still a bit frustrated and hope to find some advice here. The thing I struggle with are the coding exercises. Angela explains each topic thoroughly but when it comes to the exercises it is a whole different thing. It is frustrating to start an exercise just to find out you need to use brand new and unseen features. (.count on day 8 for example) I feel like she draws and outline an image and as “exercise” you need to draw the rest of the effing owl. How do you guys manage to succeed the exercises? Do you guys google a lot? Search stackoverflow constantly? Find the answer just because? How am I supposed to know how to code the exercise if I need to use unseen and thus unknown features? I apologize for the rant/vent I’m just looking for guidance in this regard submitted by /u/DaPiGa [link] [comments] 

Hi all, I am on day 8 on the 100 days course of Angela Yu. As I’m a beginner without having any prior experience in programming I struggle to finish each “day” in a day. I started to google if im the only one as I was thinking that I’m a special kind of ultra stupid. Luckily I found out that a lot of people have trouble finishing a lesson each day.

That’s reassuring BUT I am still a bit frustrated and hope to find some advice here. The thing I struggle with are the coding exercises. Angela explains each topic thoroughly but when it comes to the exercises it is a whole different thing.

It is frustrating to start an exercise just to find out you need to use brand new and unseen features. (.count on day 8 for example) I feel like she draws and outline an image and as “exercise” you need to draw the rest of the effing owl.

How do you guys manage to succeed the exercises? Do you guys google a lot? Search stackoverflow constantly? Find the answer just because?

How am I supposed to know how to code the exercise if I need to use unseen and thus unknown features?

I apologize for the rant/vent I’m just looking for guidance in this regard

submitted by /u/DaPiGa
[link] [comments]  Hi all, I am on day 8 on the 100 days course of Angela Yu. As I’m a beginner without having any prior experience in programming I struggle to finish each “day” in a day. I started to google if im the only one as I was thinking that I’m a special kind of ultra stupid. Luckily I found out that a lot of people have trouble finishing a lesson each day. That’s reassuring BUT I am still a bit frustrated and hope to find some advice here. The thing I struggle with are the coding exercises. Angela explains each topic thoroughly but when it comes to the exercises it is a whole different thing. It is frustrating to start an exercise just to find out you need to use brand new and unseen features. (.count on day 8 for example) I feel like she draws and outline an image and as “exercise” you need to draw the rest of the effing owl. How do you guys manage to succeed the exercises? Do you guys google a lot? Search stackoverflow constantly? Find the answer just because? How am I supposed to know how to code the exercise if I need to use unseen and thus unknown features? I apologize for the rant/vent I’m just looking for guidance in this regard submitted by /u/DaPiGa [link] [comments]

Read more

Splitting Pandas Dataframe based on row difference /u/brian890 Python Education

Splitting Pandas Dataframe based on row difference /u/brian890 Python Education

Forgive the poor title.

am working on a small program and need some guidance.

Basically I am trying to read a CSV, put the attributes into a data frame and filter where “video = 1”. This has been done.

What I cant figure out to do is splitting this data frame into multiple data frames. In the image below, I am looking to split it into two data frames when either the “count” is greater than 1, or the “Time” is greater than 100. Basically these are different recordings in the same log I need to split apart for analysis.

It might not happen in each log, it could happen 2+ times. I am thinking of a For Loop to determine if the previous row is greater than the values I mentioned above, but I cant figure out making it work.

https://imgur.com/a/WNpukCc

Any help is appreciated.

submitted by /u/brian890
[link] [comments]

​r/learnpython Forgive the poor title. am working on a small program and need some guidance. Basically I am trying to read a CSV, put the attributes into a data frame and filter where “video = 1”. This has been done. What I cant figure out to do is splitting this data frame into multiple data frames. In the image below, I am looking to split it into two data frames when either the “count” is greater than 1, or the “Time” is greater than 100. Basically these are different recordings in the same log I need to split apart for analysis. It might not happen in each log, it could happen 2+ times. I am thinking of a For Loop to determine if the previous row is greater than the values I mentioned above, but I cant figure out making it work. https://imgur.com/a/WNpukCc Any help is appreciated. submitted by /u/brian890 [link] [comments] 

Forgive the poor title.

am working on a small program and need some guidance.

Basically I am trying to read a CSV, put the attributes into a data frame and filter where “video = 1”. This has been done.

What I cant figure out to do is splitting this data frame into multiple data frames. In the image below, I am looking to split it into two data frames when either the “count” is greater than 1, or the “Time” is greater than 100. Basically these are different recordings in the same log I need to split apart for analysis.

It might not happen in each log, it could happen 2+ times. I am thinking of a For Loop to determine if the previous row is greater than the values I mentioned above, but I cant figure out making it work.

https://imgur.com/a/WNpukCc

Any help is appreciated.

submitted by /u/brian890
[link] [comments]  Forgive the poor title. am working on a small program and need some guidance. Basically I am trying to read a CSV, put the attributes into a data frame and filter where “video = 1”. This has been done. What I cant figure out to do is splitting this data frame into multiple data frames. In the image below, I am looking to split it into two data frames when either the “count” is greater than 1, or the “Time” is greater than 100. Basically these are different recordings in the same log I need to split apart for analysis. It might not happen in each log, it could happen 2+ times. I am thinking of a For Loop to determine if the previous row is greater than the values I mentioned above, but I cant figure out making it work. https://imgur.com/a/WNpukCc Any help is appreciated. submitted by /u/brian890 [link] [comments]

Read more

I don’t know where to start. /u/Alubor Python Education

I don’t know where to start. /u/Alubor Python Education

I’ve been searching the internet and reading Reddit for a while and heard stories about people learning Python by themselves and landed a job. I’m happy for everyone that have worked hard and hopefully now living their dream.

I’m in a change in my life where I want to start coding and I just started the 100days of coding challenge on Udemy. I’ve also downloaded the book “automate the boring stuff” by Al Sweigart.

I want to land a programming job. I love what I’ve been doing so far and I’m really looking forward to learn more. But I don’t know how to navigate, it all feels overwhelming.

I’ve been working as a treatment coordinator at a resident home for 8 years and my social skills are very good. I want to work with something that still allows me to be social, but I still want to continue learning coding and working with code.

Does anyone have any tips or other insights ?

I thank everyone in advance who is replying. I appreciate you.

submitted by /u/Alubor
[link] [comments]

​r/learnpython I’ve been searching the internet and reading Reddit for a while and heard stories about people learning Python by themselves and landed a job. I’m happy for everyone that have worked hard and hopefully now living their dream. I’m in a change in my life where I want to start coding and I just started the 100days of coding challenge on Udemy. I’ve also downloaded the book “automate the boring stuff” by Al Sweigart. I want to land a programming job. I love what I’ve been doing so far and I’m really looking forward to learn more. But I don’t know how to navigate, it all feels overwhelming. I’ve been working as a treatment coordinator at a resident home for 8 years and my social skills are very good. I want to work with something that still allows me to be social, but I still want to continue learning coding and working with code. Does anyone have any tips or other insights ? I thank everyone in advance who is replying. I appreciate you. submitted by /u/Alubor [link] [comments] 

I’ve been searching the internet and reading Reddit for a while and heard stories about people learning Python by themselves and landed a job. I’m happy for everyone that have worked hard and hopefully now living their dream.

I’m in a change in my life where I want to start coding and I just started the 100days of coding challenge on Udemy. I’ve also downloaded the book “automate the boring stuff” by Al Sweigart.

I want to land a programming job. I love what I’ve been doing so far and I’m really looking forward to learn more. But I don’t know how to navigate, it all feels overwhelming.

I’ve been working as a treatment coordinator at a resident home for 8 years and my social skills are very good. I want to work with something that still allows me to be social, but I still want to continue learning coding and working with code.

Does anyone have any tips or other insights ?

I thank everyone in advance who is replying. I appreciate you.

submitted by /u/Alubor
[link] [comments]  I’ve been searching the internet and reading Reddit for a while and heard stories about people learning Python by themselves and landed a job. I’m happy for everyone that have worked hard and hopefully now living their dream. I’m in a change in my life where I want to start coding and I just started the 100days of coding challenge on Udemy. I’ve also downloaded the book “automate the boring stuff” by Al Sweigart. I want to land a programming job. I love what I’ve been doing so far and I’m really looking forward to learn more. But I don’t know how to navigate, it all feels overwhelming. I’ve been working as a treatment coordinator at a resident home for 8 years and my social skills are very good. I want to work with something that still allows me to be social, but I still want to continue learning coding and working with code. Does anyone have any tips or other insights ? I thank everyone in advance who is replying. I appreciate you. submitted by /u/Alubor [link] [comments]

Read more

Python to a 12-year-old /u/Berwark Python Education

Python to a 12-year-old /u/Berwark Python Education

Hey guys, as stated in the title, I’m 12 and want to learn python for free, but simply. Any advice is welcome.

I’ve tried Mimo but I have to pay, and that sucks.

submitted by /u/Berwark
[link] [comments]

​r/learnpython Hey guys, as stated in the title, I’m 12 and want to learn python for free, but simply. Any advice is welcome. I’ve tried Mimo but I have to pay, and that sucks. submitted by /u/Berwark [link] [comments] 

Hey guys, as stated in the title, I’m 12 and want to learn python for free, but simply. Any advice is welcome.

I’ve tried Mimo but I have to pay, and that sucks.

submitted by /u/Berwark
[link] [comments]  Hey guys, as stated in the title, I’m 12 and want to learn python for free, but simply. Any advice is welcome. I’ve tried Mimo but I have to pay, and that sucks. submitted by /u/Berwark [link] [comments]

Read more

Would it be possible to create a custom numbered pendulum simulation in matplotlib? /u/Ovremn Python Education

Would it be possible to create a custom numbered pendulum simulation in matplotlib? /u/Ovremn Python Education

I need the simulation to my project, so im eager to learn if it is possible to do such thing. The idea in my head is that the user inputs a value A, the value A means the program will run an A numbered pendulum.

So if the value is 2, then it is a double pendulum, if its 3 then its a triple pendulum.

Dear pyhtoners please tell me if that is far too complex to be written or not thank you

submitted by /u/Ovremn
[link] [comments]

​r/learnpython I need the simulation to my project, so im eager to learn if it is possible to do such thing. The idea in my head is that the user inputs a value A, the value A means the program will run an A numbered pendulum. So if the value is 2, then it is a double pendulum, if its 3 then its a triple pendulum. Dear pyhtoners please tell me if that is far too complex to be written or not thank you submitted by /u/Ovremn [link] [comments] 

I need the simulation to my project, so im eager to learn if it is possible to do such thing. The idea in my head is that the user inputs a value A, the value A means the program will run an A numbered pendulum.

So if the value is 2, then it is a double pendulum, if its 3 then its a triple pendulum.

Dear pyhtoners please tell me if that is far too complex to be written or not thank you

submitted by /u/Ovremn
[link] [comments]  I need the simulation to my project, so im eager to learn if it is possible to do such thing. The idea in my head is that the user inputs a value A, the value A means the program will run an A numbered pendulum. So if the value is 2, then it is a double pendulum, if its 3 then its a triple pendulum. Dear pyhtoners please tell me if that is far too complex to be written or not thank you submitted by /u/Ovremn [link] [comments]

Read more