How can I write a "python code" in "pycharm"? please someone help me. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

How can I write a "python code" in "pycharm"? please someone help me.

Running python codes

8th May 2018, 12:31 PM
Saeed Mozaffari
Saeed Mozaffari - avatar
6 Réponses
+ 5
BEN10MZF I told you you might get better answers this way....😉
8th May 2018, 2:59 PM
Karan Kumar
Karan Kumar - avatar
+ 3
1. Setup a new project 2. Go to "File" option on menu bar, and select "New" 3. Select "Python file" 4. Assign a name to your Python file, click "Ok" button and start coding right away! As far as i remember, the coding procedure as same as is followed here on code playground. What's more, PyCharm also takes care of code indentation. edit: BEN10MZF - This link might help ( I might have been erroneous ) --> https://youtu.be/JLfd9LOdu_U
8th May 2018, 12:45 PM
Rahul George
Rahul George - avatar
+ 3
To run your code press ctrl+shift+F10 or just right click at the top of your code window, where there's your codename.py and on the drop down list Hit run.
8th May 2018, 1:05 PM
Jima
+ 2
Rahul George Thank you so much, Rahul. But finally you should run the code pycharm or anything else. right?
8th May 2018, 12:55 PM
Saeed Mozaffari
Saeed Mozaffari - avatar
+ 2
BEN10MZF : for running your Python code saved in file first_trial.py (say), follow the trips mentioned in this link: https://www.google.co.in/url?sa=t&source=web&rct=j&url=https://www.jetbrains.com/help/pycharm/quick-start-guide.html&ved=2ahUKEwjp5qHclfbaAhWCpY8KHbuGAlgQFjABegQIAhAB&usg=AOvVaw2PH7fqCYw6o19y28lQ-_s6 Not working on PyCharm at the moment, so can't tell you the exact steps that I'd followed. Check under the "Run" drop-down list on the menu bar.
8th May 2018, 1:06 PM
Rahul George
Rahul George - avatar
+ 1
Rahul George Thank you🙏🙏🙏
8th May 2018, 1:19 PM
Saeed Mozaffari
Saeed Mozaffari - avatar