Communities around monitoring Robin Stocks / Robinhood API? /u/Just_Language_41 Python Education

Communities around monitoring Robin Stocks / Robinhood API? /u/Just_Language_41 Python Education

I’m trying to build an app using the Robin Stocks library to make trades with Robinhood’s API. Recently I had to download the robin stocks GitHub repo to get the most recent changes since the version available through pip wasn’t working. I’m wondering if anyone has suggestions on how to stay on top of such changes in an API or if anyone knows of communities which are already doing this.

The best I could think of is to test my code regularly, and to set up notifications for the Robin Stocks GitHub repo.

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

​r/learnpython I’m trying to build an app using the Robin Stocks library to make trades with Robinhood’s API. Recently I had to download the robin stocks GitHub repo to get the most recent changes since the version available through pip wasn’t working. I’m wondering if anyone has suggestions on how to stay on top of such changes in an API or if anyone knows of communities which are already doing this. The best I could think of is to test my code regularly, and to set up notifications for the Robin Stocks GitHub repo. submitted by /u/Just_Language_41 [link] [comments] 

I’m trying to build an app using the Robin Stocks library to make trades with Robinhood’s API. Recently I had to download the robin stocks GitHub repo to get the most recent changes since the version available through pip wasn’t working. I’m wondering if anyone has suggestions on how to stay on top of such changes in an API or if anyone knows of communities which are already doing this.

The best I could think of is to test my code regularly, and to set up notifications for the Robin Stocks GitHub repo.

submitted by /u/Just_Language_41
[link] [comments]  I’m trying to build an app using the Robin Stocks library to make trades with Robinhood’s API. Recently I had to download the robin stocks GitHub repo to get the most recent changes since the version available through pip wasn’t working. I’m wondering if anyone has suggestions on how to stay on top of such changes in an API or if anyone knows of communities which are already doing this. The best I could think of is to test my code regularly, and to set up notifications for the Robin Stocks GitHub repo. submitted by /u/Just_Language_41 [link] [comments]

Read more

How to toggle a while function? /u/asdasdadsdasd Python Education

How to toggle a while function? /u/asdasdadsdasd Python Education

if keyboard.on_press("F7"): if start == 0: start = 1 elif start == 1: start = 0 while True: if keyboard.on_press("F7"): if start == 0: start = 1 elif start == 1: start = 0 if start == 1: PlaceBlocks() time.sleep(0.1) BreakBlocks() time.sleep(0.1) 

How do I make the script toggleable using the f7 key? This for some reason returns me with an error.
I have Keyboard, pyautogui, time, win32api, win32con imported.

error I get is:
TypeError: ‘str’ object is not callable

Traceback (most recent call last):

File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard_generic.py”, line 22, in invoke_handlers

if handler(event):

File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard__init__.py”, line 474, in <lambda>

return hook(lambda e: e.event_type == KEY_UP or callback(e), suppress=suppress)

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

​r/learnpython if keyboard.on_press(“F7”): if start == 0: start = 1 elif start == 1: start = 0 while True: if keyboard.on_press(“F7”): if start == 0: start = 1 elif start == 1: start = 0 if start == 1: PlaceBlocks() time.sleep(0.1) BreakBlocks() time.sleep(0.1) How do I make the script toggleable using the f7 key? This for some reason returns me with an error. I have Keyboard, pyautogui, time, win32api, win32con imported. error I get is: TypeError: ‘str’ object is not callable Traceback (most recent call last): File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard_generic.py”, line 22, in invoke_handlers if handler(event): File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard__init__.py”, line 474, in <lambda> return hook(lambda e: e.event_type == KEY_UP or callback(e), suppress=suppress) submitted by /u/asdasdadsdasd [link] [comments] 

if keyboard.on_press("F7"): if start == 0: start = 1 elif start == 1: start = 0 while True: if keyboard.on_press("F7"): if start == 0: start = 1 elif start == 1: start = 0 if start == 1: PlaceBlocks() time.sleep(0.1) BreakBlocks() time.sleep(0.1) 

How do I make the script toggleable using the f7 key? This for some reason returns me with an error.
I have Keyboard, pyautogui, time, win32api, win32con imported.

error I get is:
TypeError: ‘str’ object is not callable

Traceback (most recent call last):

File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard_generic.py”, line 22, in invoke_handlers

if handler(event):

File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard__init__.py”, line 474, in <lambda>

return hook(lambda e: e.event_type == KEY_UP or callback(e), suppress=suppress)

submitted by /u/asdasdadsdasd
[link] [comments]  if keyboard.on_press(“F7”): if start == 0: start = 1 elif start == 1: start = 0 while True: if keyboard.on_press(“F7”): if start == 0: start = 1 elif start == 1: start = 0 if start == 1: PlaceBlocks() time.sleep(0.1) BreakBlocks() time.sleep(0.1) How do I make the script toggleable using the f7 key? This for some reason returns me with an error. I have Keyboard, pyautogui, time, win32api, win32con imported. error I get is: TypeError: ‘str’ object is not callable Traceback (most recent call last): File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard_generic.py”, line 22, in invoke_handlers if handler(event): File “C:Users*****AppDataLocalProgramsPythonPython310libsite-packageskeyboard__init__.py”, line 474, in <lambda> return hook(lambda e: e.event_type == KEY_UP or callback(e), suppress=suppress) submitted by /u/asdasdadsdasd [link] [comments]

Read more

AsyncIO or Threading to consume RabbitMQ messages in a web service ? /u/Icy_Zookeepergame201 Python Education

AsyncIO or Threading to consume RabbitMQ messages in a web service ? /u/Icy_Zookeepergame201 Python Education

I am building a Python micro service using FastAPI. I have some basic REST API endpoints, with services, etc.

I would like my application to consume messages from a RabbitMQ message queue. I already wrote my consumer class (with pika) but I was wondering what was the best approach to run the consumer on the application start.

I do not really understand the differences between AsyncIO, Multiprocess and classic Threading in Python. What would be the best way to consume the message without blocking my program ?

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

​r/learnpython I am building a Python micro service using FastAPI. I have some basic REST API endpoints, with services, etc. I would like my application to consume messages from a RabbitMQ message queue. I already wrote my consumer class (with pika) but I was wondering what was the best approach to run the consumer on the application start. I do not really understand the differences between AsyncIO, Multiprocess and classic Threading in Python. What would be the best way to consume the message without blocking my program ? submitted by /u/Icy_Zookeepergame201 [link] [comments] 

I am building a Python micro service using FastAPI. I have some basic REST API endpoints, with services, etc.

I would like my application to consume messages from a RabbitMQ message queue. I already wrote my consumer class (with pika) but I was wondering what was the best approach to run the consumer on the application start.

I do not really understand the differences between AsyncIO, Multiprocess and classic Threading in Python. What would be the best way to consume the message without blocking my program ?

submitted by /u/Icy_Zookeepergame201
[link] [comments]  I am building a Python micro service using FastAPI. I have some basic REST API endpoints, with services, etc. I would like my application to consume messages from a RabbitMQ message queue. I already wrote my consumer class (with pika) but I was wondering what was the best approach to run the consumer on the application start. I do not really understand the differences between AsyncIO, Multiprocess and classic Threading in Python. What would be the best way to consume the message without blocking my program ? submitted by /u/Icy_Zookeepergame201 [link] [comments]

Read more

Zero experience with coding /u/AshPlayzMCBE Python Education

Zero experience with coding /u/AshPlayzMCBE Python Education

Well, not really. I have some experience in HTML and C++ for Arduino, but its so little that I basically have zero experience with coding.

So I want to learn python, and I always found myself the one to learn by doing, so what better way to learn it, by actually coding something with it.

So I ask you guys for advice on what to code. Something simple to help me learn python in which I can also discover for myself what each function does.

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

​r/learnpython Well, not really. I have some experience in HTML and C++ for Arduino, but its so little that I basically have zero experience with coding. So I want to learn python, and I always found myself the one to learn by doing, so what better way to learn it, by actually coding something with it. So I ask you guys for advice on what to code. Something simple to help me learn python in which I can also discover for myself what each function does. submitted by /u/AshPlayzMCBE [link] [comments] 

Well, not really. I have some experience in HTML and C++ for Arduino, but its so little that I basically have zero experience with coding.

So I want to learn python, and I always found myself the one to learn by doing, so what better way to learn it, by actually coding something with it.

So I ask you guys for advice on what to code. Something simple to help me learn python in which I can also discover for myself what each function does.

submitted by /u/AshPlayzMCBE
[link] [comments]  Well, not really. I have some experience in HTML and C++ for Arduino, but its so little that I basically have zero experience with coding. So I want to learn python, and I always found myself the one to learn by doing, so what better way to learn it, by actually coding something with it. So I ask you guys for advice on what to code. Something simple to help me learn python in which I can also discover for myself what each function does. submitted by /u/AshPlayzMCBE [link] [comments]

Read more

which are the most important subjects/courses to study after studying python? (I am 70% through the computer science degree) /u/Takazuke Python Education

which are the most important subjects/courses to study after studying python? (I am 70% through the computer science degree) /u/Takazuke Python Education

I have completed all the math courses so far and also a bunch of computer science related courses such as data structures and and algorithms, basic java, ansi c and assembly programming courses, OS systems and computer organization

I am currently taking two courses, programming and data analysis in python and introduction to Software Testing and python is by far my most liked programming language its not even close

I was wondering if anyone can recommend which courses should i look at if i want python to be my main programming language?

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

​r/learnpython I have completed all the math courses so far and also a bunch of computer science related courses such as data structures and and algorithms, basic java, ansi c and assembly programming courses, OS systems and computer organization I am currently taking two courses, programming and data analysis in python and introduction to Software Testing and python is by far my most liked programming language its not even close I was wondering if anyone can recommend which courses should i look at if i want python to be my main programming language? submitted by /u/Takazuke [link] [comments] 

I have completed all the math courses so far and also a bunch of computer science related courses such as data structures and and algorithms, basic java, ansi c and assembly programming courses, OS systems and computer organization

I am currently taking two courses, programming and data analysis in python and introduction to Software Testing and python is by far my most liked programming language its not even close

I was wondering if anyone can recommend which courses should i look at if i want python to be my main programming language?

submitted by /u/Takazuke
[link] [comments]  I have completed all the math courses so far and also a bunch of computer science related courses such as data structures and and algorithms, basic java, ansi c and assembly programming courses, OS systems and computer organization I am currently taking two courses, programming and data analysis in python and introduction to Software Testing and python is by far my most liked programming language its not even close I was wondering if anyone can recommend which courses should i look at if i want python to be my main programming language? submitted by /u/Takazuke [link] [comments]

Read more

About using pipx /u/ArkenLunk Python Education

About using pipx /u/ArkenLunk Python Education

Greetings!

I’ve recently wanted to return to Python after not having had the need to use it for university. However, I’ve found plenty of changes: mainly, that I cannot use pip3 normally. I understand that there are security risks, and I should use pipx, but I’m not understanding it. Please keep in mind that I’m no expert but I’d really like to learn how to work with it.

What I’m finding are lots of errors which I don’t quite understand. First, when I install some packages like matplotlib and numpy, I’m finding ‘symlink missing or pointing to unexpected location’ errors. When running a python file that imports them, they’re not found. Jupyter Notebook does work, but I’d like to use other packages like Manim, and either they’re not found, or when I import matplotlib into their venvs, then it just doesn’t work like it should…

I was so used to everything just working with pip3 that I don’t know how to fix these issues.

Thanks!

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

​r/learnpython Greetings! I’ve recently wanted to return to Python after not having had the need to use it for university. However, I’ve found plenty of changes: mainly, that I cannot use pip3 normally. I understand that there are security risks, and I should use pipx, but I’m not understanding it. Please keep in mind that I’m no expert but I’d really like to learn how to work with it. What I’m finding are lots of errors which I don’t quite understand. First, when I install some packages like matplotlib and numpy, I’m finding ‘symlink missing or pointing to unexpected location’ errors. When running a python file that imports them, they’re not found. Jupyter Notebook does work, but I’d like to use other packages like Manim, and either they’re not found, or when I import matplotlib into their venvs, then it just doesn’t work like it should… I was so used to everything just working with pip3 that I don’t know how to fix these issues. Thanks! submitted by /u/ArkenLunk [link] [comments] 

Greetings!

I’ve recently wanted to return to Python after not having had the need to use it for university. However, I’ve found plenty of changes: mainly, that I cannot use pip3 normally. I understand that there are security risks, and I should use pipx, but I’m not understanding it. Please keep in mind that I’m no expert but I’d really like to learn how to work with it.

What I’m finding are lots of errors which I don’t quite understand. First, when I install some packages like matplotlib and numpy, I’m finding ‘symlink missing or pointing to unexpected location’ errors. When running a python file that imports them, they’re not found. Jupyter Notebook does work, but I’d like to use other packages like Manim, and either they’re not found, or when I import matplotlib into their venvs, then it just doesn’t work like it should…

I was so used to everything just working with pip3 that I don’t know how to fix these issues.

Thanks!

submitted by /u/ArkenLunk
[link] [comments]  Greetings! I’ve recently wanted to return to Python after not having had the need to use it for university. However, I’ve found plenty of changes: mainly, that I cannot use pip3 normally. I understand that there are security risks, and I should use pipx, but I’m not understanding it. Please keep in mind that I’m no expert but I’d really like to learn how to work with it. What I’m finding are lots of errors which I don’t quite understand. First, when I install some packages like matplotlib and numpy, I’m finding ‘symlink missing or pointing to unexpected location’ errors. When running a python file that imports them, they’re not found. Jupyter Notebook does work, but I’d like to use other packages like Manim, and either they’re not found, or when I import matplotlib into their venvs, then it just doesn’t work like it should… I was so used to everything just working with pip3 that I don’t know how to fix these issues. Thanks! submitted by /u/ArkenLunk [link] [comments]

Read more

Trying to Install pydirectinput /u/LIGHT_L_7777 Python Education

Trying to Install pydirectinput /u/LIGHT_L_7777 Python Education

When I try to install it says “invalid syantax” any help???

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

​r/learnpython When I try to install it says “invalid syantax” any help??? submitted by /u/LIGHT_L_7777 [link] [comments] 

When I try to install it says “invalid syantax” any help???

submitted by /u/LIGHT_L_7777
[link] [comments]  When I try to install it says “invalid syantax” any help??? submitted by /u/LIGHT_L_7777 [link] [comments]

Read more

Does a Library exist for TRSC Q8 Drones /u/Objective-Survey5993 Python Education

Does a Library exist for TRSC Q8 Drones /u/Objective-Survey5993 Python Education

Hey everyone!

I recently got a drone from my uncle but the thing is that I’m a very and I mean very bad pilot so I thought that I could just program it to do what I want But I don’t know what to use. Thank you in advance

PS:I guess that it’s time for me to change the propellers

submitted by /u/Objective-Survey5993
[link] [comments]

​r/learnpython Hey everyone! I recently got a drone from my uncle but the thing is that I’m a very and I mean very bad pilot so I thought that I could just program it to do what I want But I don’t know what to use. Thank you in advance PS:I guess that it’s time for me to change the propellers submitted by /u/Objective-Survey5993 [link] [comments] 

Hey everyone!

I recently got a drone from my uncle but the thing is that I’m a very and I mean very bad pilot so I thought that I could just program it to do what I want But I don’t know what to use. Thank you in advance

PS:I guess that it’s time for me to change the propellers

submitted by /u/Objective-Survey5993
[link] [comments]  Hey everyone! I recently got a drone from my uncle but the thing is that I’m a very and I mean very bad pilot so I thought that I could just program it to do what I want But I don’t know what to use. Thank you in advance PS:I guess that it’s time for me to change the propellers submitted by /u/Objective-Survey5993 [link] [comments]

Read more