I got an error message stating that I couldn’t save in Python, I didn’t have permission. I programmed the macro with the following path I found another video, explaining how to use the Plug-ins for Notepad and the programming of a macro. I uninstalled the Microsoft Visual Studio version, thinking it was the problem and went with the version from. At the advice of various individuals and a few of my own ideas, I tried all of the following:Ĭ:\ProgramFiles(x86)\MicrosoftVisualStudio\Shared\Python36_64\Lib\idlelib-r “$(FULL_CURRENT_PATH)”Ĭ:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\idlelib-i “$(FULL_CURRENT_PATH)”Ĭ:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\idlelib\idle.bat-r “$(FULL_CURRENT_PATH)”Ĭ:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\idlelib\idle.bat-i “$(FULL_CURRENT_PATH)”Ĭ:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\idlelib\idle.py-r “$(FULL_CURRENT_PATH)”Ĭ:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\idlelib\idle.py-i “$(FULL_CURRENT_PATH)”Ĭ:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\idlelib\idle.py “$(FULL_CURRENT_PATH)” I was trying to understand from my Google searches and use the f5 feature in Notepad to run my code. I hope you can appreciate where I am coming from. I do want to learn and I am willing to put forth the effort, but the particular set of problems I have, seem to be a major road block to even trying to learn. I also read that IDE’s are the way to go, once you know how to code and are looking to save time. I had read that a code editor is easier to understand and doesn’t offer shortcuts, which can hinder the education of green programmers. I did take the time, prior to the original post of mine, to attempt to figure out the answers to the questions I seek. While I want to understand file paths,permissions, etcetera, I wasn’t looking forward to being bogged down by them. If Atom doesn’t have a simple run function, it isn’t better in my opinion. I had only been using Notepad , since I already had it. Sure, there is PyQT (QT is really written for c ) and there is Kivy, but it still doesn’t make python the best pick for a GUI app Something else, i wouldn’t pick python for GUI apps if i had pick in language. The scriptname is both the path and the name of the file Its a bit tricky at first, but i also opened a good opportunity to google this, with some time and effort you would have figured out how the pieces fit togetherĭoing python would indeed give the IDLE, doing python scriptname.py would execute the script. The interpreter is also called python, and the the program you download also ships with IDLE, which is great for trying small thingsĪ text-editor (like notepad , but i would pick atom, which in my opinion is better), and then run the python interpreter from the command line to execute the scripts you wrote with the text-editor.Ī full fledged IDE which can also handle running scripts, so you don’t have to bother with what i described at point 1 I don’t want too many crutches or short cuts. I am interested in ultimately creating my own free standing GUI, so knowing how to fully utilize an IDE would be theīest, but I am interested in starting off some what simple. Would anyone please help me solve either of these problems ? I would prefer to understand how to solve all of them and have Sort of problems both exist and how it is reasonably expected for “green” programmers to figure these things out on their own. Won’t let me highlight and change, or delete anything I have typed, once it is in the editor. I tried using IDLE, from the 3.6.4 download package, which lets you run code with the simple press of the enter key, but it I also learned how to set a macro using plug ins and Run pop-up box and have had problems with permissions and file paths. I have tried setting the file path in the I have tried to use Notepad and had nothing but problems trying to “Run” my code. They are two separate problems causing me the same basic That have been driving me mad and are really impeding my progress. I have downloaded Python 3.6.4, from the site. I am new here and very new to programming.
0 Comments
Leave a Reply. |