Is it possible to make a curved cylinder? (VPython on Glowscript) /u/Admirable_Translator Python Education

Is it possible to make a curved cylinder? (VPython on Glowscript) /u/Admirable_Translator Python Education

I am just learning how to code, and while I know how to do projectiles and make shapes, I am not sure where to even begin making it curve. What functions would I use?

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

​r/learnpython I am just learning how to code, and while I know how to do projectiles and make shapes, I am not sure where to even begin making it curve. What functions would I use? submitted by /u/Admirable_Translator [link] [comments] 

I am just learning how to code, and while I know how to do projectiles and make shapes, I am not sure where to even begin making it curve. What functions would I use?

submitted by /u/Admirable_Translator
[link] [comments]  I am just learning how to code, and while I know how to do projectiles and make shapes, I am not sure where to even begin making it curve. What functions would I use? submitted by /u/Admirable_Translator [link] [comments]

Read more

Help with text-based game /u/Shot_Status2339 Python Education

Help with text-based game /u/Shot_Status2339 Python Education

I am trying to make a text based game as a starter project. Right now i got all the input and output via the terminal, but i dont know if i want to keep it like that. Is there any way that i can just transfer the output of the terminal to some kind of window, so it feels like a game more?

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

​r/learnpython I am trying to make a text based game as a starter project. Right now i got all the input and output via the terminal, but i dont know if i want to keep it like that. Is there any way that i can just transfer the output of the terminal to some kind of window, so it feels like a game more? submitted by /u/Shot_Status2339 [link] [comments] 

I am trying to make a text based game as a starter project. Right now i got all the input and output via the terminal, but i dont know if i want to keep it like that. Is there any way that i can just transfer the output of the terminal to some kind of window, so it feels like a game more?

submitted by /u/Shot_Status2339
[link] [comments]  I am trying to make a text based game as a starter project. Right now i got all the input and output via the terminal, but i dont know if i want to keep it like that. Is there any way that i can just transfer the output of the terminal to some kind of window, so it feels like a game more? submitted by /u/Shot_Status2339 [link] [comments]

Read more

“[One UI 7] To be released next year with the new Galaxy” /u/FragmentedChicken Android

“[One UI 7] To be released next year with the new Galaxy” /u/FragmentedChicken Android

https://i.imgur.com/n43r35w.jpeg

“The official version of One UI 7 with all of the game-changing AI features will be released next year with the next Galaxy S series.”

From the Samsung Developer Conference 2024 keynote

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

​r/Android https://i.imgur.com/n43r35w.jpeg “The official version of One UI 7 with all of the game-changing AI features will be released next year with the next Galaxy S series.” From the Samsung Developer Conference 2024 keynote submitted by /u/FragmentedChicken [link] [comments] 

https://i.imgur.com/n43r35w.jpeg

“The official version of One UI 7 with all of the game-changing AI features will be released next year with the next Galaxy S series.”

From the Samsung Developer Conference 2024 keynote

submitted by /u/FragmentedChicken
[link] [comments]  https://i.imgur.com/n43r35w.jpeg “The official version of One UI 7 with all of the game-changing AI features will be released next year with the next Galaxy S series.” From the Samsung Developer Conference 2024 keynote submitted by /u/FragmentedChicken [link] [comments]

Read more

Help with grid and direction problems /u/Abject-Cut7213 Python Education

Help with grid and direction problems /u/Abject-Cut7213 Python Education

I am currently learning Python to prepare for a contest. I have a good grasp of basic concepts and syntaxes. However, I struggle with topics such as grids and graphs. Ex- word searches where I have to use directions to navigate the 2d array.

Please suggest resources from where I can study.

Some of the questions- (last problem of each)

https://cemc.uwaterloo.ca/sites/default/files/documents/2023/2023CCCJrProblemSet.html
https://cemc.uwaterloo.ca/sites/default/files/documents/2022/2022CCCJrProblemSet.html
https://cemc.uwaterloo.ca/sites/default/files/documents/2024/2024CCCJrProblems.html

submitted by /u/Abject-Cut7213
[link] [comments]

​r/learnpython I am currently learning Python to prepare for a contest. I have a good grasp of basic concepts and syntaxes. However, I struggle with topics such as grids and graphs. Ex- word searches where I have to use directions to navigate the 2d array. Please suggest resources from where I can study. Some of the questions- (last problem of each) https://cemc.uwaterloo.ca/sites/default/files/documents/2023/2023CCCJrProblemSet.html https://cemc.uwaterloo.ca/sites/default/files/documents/2022/2022CCCJrProblemSet.html https://cemc.uwaterloo.ca/sites/default/files/documents/2024/2024CCCJrProblems.html submitted by /u/Abject-Cut7213 [link] [comments] 

I am currently learning Python to prepare for a contest. I have a good grasp of basic concepts and syntaxes. However, I struggle with topics such as grids and graphs. Ex- word searches where I have to use directions to navigate the 2d array.

Please suggest resources from where I can study.

Some of the questions- (last problem of each)

https://cemc.uwaterloo.ca/sites/default/files/documents/2023/2023CCCJrProblemSet.html
https://cemc.uwaterloo.ca/sites/default/files/documents/2022/2022CCCJrProblemSet.html
https://cemc.uwaterloo.ca/sites/default/files/documents/2024/2024CCCJrProblems.html

submitted by /u/Abject-Cut7213
[link] [comments]  I am currently learning Python to prepare for a contest. I have a good grasp of basic concepts and syntaxes. However, I struggle with topics such as grids and graphs. Ex- word searches where I have to use directions to navigate the 2d array. Please suggest resources from where I can study. Some of the questions- (last problem of each) https://cemc.uwaterloo.ca/sites/default/files/documents/2023/2023CCCJrProblemSet.html https://cemc.uwaterloo.ca/sites/default/files/documents/2022/2022CCCJrProblemSet.html https://cemc.uwaterloo.ca/sites/default/files/documents/2024/2024CCCJrProblems.html submitted by /u/Abject-Cut7213 [link] [comments]

Read more

Flask and logging – some questions /u/pachura3 Python Education

Flask and logging – some questions /u/pachura3 Python Education

I. When creating a Flask application, where exactly do I initialize logging?
Right before app = Flask(__name__) ?
Right after it?

II. By default, Flask logs HTTP requests in the common format, i.e.

– 127.0.0.1 – – [05/Oct/2024 20:39:49] “GET / HTTP/1.1” 200 –

How can I change it to the following?

Received POST request “/rest/api/1234/567” from IP 192.168.0.1. Content-Type = “application/json”, Content-Length = 12345, User-Agent = “Mozilla 1.2.3”

III. Last but not least, does the development server included with Flask have some shutdown handler that can be registered to? When user presses Ctrl+C to kill it, I would like to perform some final cleanup operations…

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

​r/learnpython I. When creating a Flask application, where exactly do I initialize logging? Right before app = Flask(__name__) ? Right after it? II. By default, Flask logs HTTP requests in the common format, i.e. – 127.0.0.1 – – [05/Oct/2024 20:39:49] “GET / HTTP/1.1” 200 – How can I change it to the following? Received POST request “/rest/api/1234/567” from IP 192.168.0.1. Content-Type = “application/json”, Content-Length = 12345, User-Agent = “Mozilla 1.2.3” III. Last but not least, does the development server included with Flask have some shutdown handler that can be registered to? When user presses Ctrl+C to kill it, I would like to perform some final cleanup operations… submitted by /u/pachura3 [link] [comments] 

I. When creating a Flask application, where exactly do I initialize logging?
Right before app = Flask(__name__) ?
Right after it?

II. By default, Flask logs HTTP requests in the common format, i.e.

– 127.0.0.1 – – [05/Oct/2024 20:39:49] “GET / HTTP/1.1” 200 –

How can I change it to the following?

Received POST request “/rest/api/1234/567” from IP 192.168.0.1. Content-Type = “application/json”, Content-Length = 12345, User-Agent = “Mozilla 1.2.3”

III. Last but not least, does the development server included with Flask have some shutdown handler that can be registered to? When user presses Ctrl+C to kill it, I would like to perform some final cleanup operations…

submitted by /u/pachura3
[link] [comments]  I. When creating a Flask application, where exactly do I initialize logging? Right before app = Flask(__name__) ? Right after it? II. By default, Flask logs HTTP requests in the common format, i.e. – 127.0.0.1 – – [05/Oct/2024 20:39:49] “GET / HTTP/1.1” 200 – How can I change it to the following? Received POST request “/rest/api/1234/567” from IP 192.168.0.1. Content-Type = “application/json”, Content-Length = 12345, User-Agent = “Mozilla 1.2.3” III. Last but not least, does the development server included with Flask have some shutdown handler that can be registered to? When user presses Ctrl+C to kill it, I would like to perform some final cleanup operations… submitted by /u/pachura3 [link] [comments]

Read more