Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Script Path
Post: RE: Script Path

Hello Everyone, Looks like I managed to run any .py I want now. I changed working directory to my directory where the .py files are stored and now to run any py I right click the tab on the .py and ...
tfernandes General Coding Help 8 2,220 Jul-07-2022, 09:48 PM
    Thread: Script Path
Post: RE: Script Path

(Jul-07-2022, 12:35 PM)deanhystad Wrote: Please ignore my previous post. Do you want to know how to automatically load the correct virtual environment to run the Python script loaded in the editor?...
tfernandes General Coding Help 8 2,220 Jul-07-2022, 01:28 PM
    Thread: Script Path
Post: RE: Script Path

(Jul-06-2022, 10:12 PM)deanhystad Wrote: Most command shells have tools for doing this sort of thing. A bash shell script #!/bin/bash for py_file in $(find /Users/myusername/PycharmProjects folder...
tfernandes General Coding Help 8 2,220 Jul-07-2022, 07:58 AM
    Thread: Script Path
Post: RE: Script Path

(Jul-05-2022, 09:14 PM)snippsat Wrote: Look at Configure a Python interpreter Then Setting the default interpreter. For default folder Settings | Appearance & Behaviour | System Settings | Defa...
tfernandes General Coding Help 8 2,220 Jul-06-2022, 08:19 PM
    Thread: Script Path
Post: Script Path

Hi All, I'm quite new to python. I did a default installation of PyCharm on Mac OS and also installed python latest version on Mac. Whenever I run a .py I need to add that PY name to script path i...
tfernandes General Coding Help 8 2,220 Jul-05-2022, 08:31 PM
    Thread: User input & Dictionary
Post: RE: User input & Dictionary

(Mar-28-2020, 10:07 AM)buran Wrote: You want to do if month in monthConversions: print(monthConversions[month]) else: print("Wrong Value ")however,there is more pythonic ways to do it one ...
tfernandes General Coding Help 5 3,656 Apr-03-2020, 07:12 PM
    Thread: User input & Dictionary
Post: RE: User input & Dictionary

(Mar-28-2020, 09:38 AM)ndc85430 Wrote: You're checking whether month is equal to the dictionary monthConversions, which will obviously never be True - values of different types are never equal. What...
tfernandes General Coding Help 5 3,656 Mar-29-2020, 12:08 PM
    Thread: User input & Dictionary
Post: User input & Dictionary

Hi All, I'm just learning python. I need user to enter Month and the print statement should print the complete Month e.g. Input = Jan Output = January #print(monthConversions[month]) works for...
tfernandes General Coding Help 5 3,656 Mar-28-2020, 09:33 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020