GIMP Chat http://gimpchat.com/ |
|
python file ? http://gimpchat.com/viewtopic.php?f=8&t=2563 |
Page 1 of 1 |
Author: | Lorri [ Wed Sep 14, 2011 5:19 am ] |
Post subject: | python file ? |
GIMP Version: 2.6.11 Operating System: Windows OS Version: Windows 7 (64-bit) GIMP Experience: Beginner Level Sorry for so many questions on smc's i need to make that i have out them in the right places. I have 2 py files but not sure where to put them, there is no smc with them just file. Ant ideas where to put them please |
Author: | molly [ Wed Sep 14, 2011 5:20 am ] |
Post subject: | Re: python life ? |
Is it a .py extension? |
Author: | Lorri [ Wed Sep 14, 2011 5:25 am ] |
Post subject: | Re: python file ? |
no i just says python file nothing else |
Author: | rich2005 [ Wed Sep 14, 2011 6:28 am ] |
Post subject: | Re: python file ? |
the files should have a .py extension, Windows by default does not generally show extensions. Dangerous, especially in Win to dabble with unknown files, but if they are python plugins open one with notepad - they are text files - and the first line should be. #!/usr/bin/env python where do they go, your local gimp plugins directory as per http://i.imgur.com/FcMPI.png edit: Just a thought, you do have python installed? |
Author: | Lorri [ Wed Sep 14, 2011 6:52 am ] |
Post subject: | Re: python file ? |
I've tried to opn them but a flash black screen comes up then it goes it only last a less of a second. I've just right clicked it to open it some where else and the name file color_balance_2wp_quick_py is that any help to ya Yes I do but I haven't got plug-ins listed on the left of the menu as same as you. I did plug-ins some where but can't remember where it is |
Author: | molly [ Wed Sep 14, 2011 6:59 am ] |
Post subject: | Re: python file ? |
If you go to your folder options, check the general tab > Hidden files and folders > show hidden files, folders, and drives. This should be checked with a dot beside it. |
Author: | Lorri [ Wed Sep 14, 2011 7:04 am ] |
Post subject: | Re: python file ? |
the plug-ins is in 2.0 list just found it |
Author: | PhotoComix [ Wed Sep 14, 2011 8:04 am ] |
Post subject: | Re: python file ? |
@ Lorri if you don't want get crazy (not only when using gimp )better you change Explorer options: humm i 'm using the laptop here and run with 7, to check exctly how to do with XP i must go back to my home desktop i just give a generic hint now, ...if not sufficent ask in case i will add details later 1 From Explorer (FILE explorer not I.E.) or from Search, search in the menu "option" there search "option for file and folder" OK if you are there 1) UNcheck "hide extension for commune file" (or "commune file format" or "commune format" not sure of exact english spelling, but you can't mistake ,only 1 option has that meaning) 2) CHECK show hidden and system files about 2 : see hidden or system files can't do any harm, (only harm may come to EDIT or DELETE such Files, BUT systems files are displayed in a different colors, usually blue On the other hand XP tend to hide to yourself some of you own files making search a nightmare about 1 Hide extension is pure idiocy and even dangerous (i.e. you may click on a crapware installer thinking that is a image or a test |
Author: | PhotoComix [ Wed Sep 14, 2011 8:10 am ] |
Post subject: | Re: python file ? |
About open py file, the humble MS notepad may do it , but nothing will happen just clicking on the file You should go in Windows/All programs/Accessories/ Notepad , start the notepad, and from notepad file/open... But , again to make your life easier grab this http://notepad-plus-plus.org/ once installed you should be able to automatically open the file just clicking on it, and will display the file in a much more readable way |
Author: | Lorri [ Wed Sep 14, 2011 8:11 am ] |
Post subject: | Re: python file ? |
I haven't got xp I've got win7 I've typed in the program area and clicked on python plugins a black screen came up then it went again that went in a flash |
Author: | molly [ Wed Sep 14, 2011 8:27 am ] |
Post subject: | Re: python file ? |
Lorri, maybe you should change the info in the help post, You have windows XP listed there as your OS, where you should have Windows 7 (64-bit). There is a difference to where you install things. |
Author: | Lorri [ Wed Sep 14, 2011 8:33 am ] |
Post subject: | Re: python file ? |
where do i change that Molly please |
Author: | molly [ Wed Sep 14, 2011 8:43 am ] |
Post subject: | Re: python file ? |
you can edit your own posts, I think you can change it by clicking edit, and changing it from there. |
Author: | Lorri [ Wed Sep 14, 2011 8:47 am ] |
Post subject: | Re: python file ? |
No you can't but I'll have a look on the new topic bit |
Author: | PhotoComix [ Wed Sep 14, 2011 9:54 am ] |
Post subject: | Re: python file ? |
Hy wait a second i am just replying to your previous question for 7 i may help now But again may be no strictly needed if you install Notepad++ (link in my previous) message , Don't worry if NOtepad++ may look complex, you don't need to dig in the complexity but just use it as you will use ythe most simple text editor Anyway and this will help not only to run python script: go to Start/Control Panel/Folder options Attachment: control panel.jpg [ 103.46 KiB | Viewed 1118 times ] there click "View" tab Attachment: control Panel2.jpg [ 102.64 KiB | Viewed 1118 times ] almost at beginning you will see "Hidden Files and Folder" and below "Don't display hidden files and folder " UNMark that box very last, scroll down a bit Attachment: control panel3.jpg [ 105.06 KiB | Viewed 1118 times ] Uncheck "hide System files" (Ignore the warning that will pop out, you WISH that) And even more important the option just below "hide file extension" CLICK APPLY and then OK to exit Now you will be able to know what the heck is in your computer, if a file is .py , .scm. jpg. or a exe or whatelse And you will discover if the file is py, or as happen usually for Py plugin downloaded from the plugin registry (for a nasty bug in the side) it become .py.txt...in case just remove ".txt" , ignore any warning (=YES you want change file extension). About opening py still i have no bclear why you wish open it, if you place in the right place is Gimp that will RUN the file once you click the right menu entry Anyway as i wrote if you have Notepad ++ installed you should be able to open the file just clicking on it If not open the more cheap MS notepad (aka block note) , and open the file from the file menu NOTE WELL i wrote notepad NOT WORD !! ########################################### About last question that say that your firewell may block a component of python even if that component will not do anything dangerous, so will be better for you put Python in the Firewall WHITE-list But if i remember well you may not care less about the warning, because that component should not be required to use python script from gimp |
Author: | rich2005 [ Wed Sep 14, 2011 10:39 am ] |
Post subject: | Re: python file ? |
This is a 5 min video I made for someone else, the first 2 mins is about installing python in win7 (and its out of date) so just ignore that bit, the last 3 mins might be some use to you. http://www.youtube.com/watch?v=P5G3U1hKlxo |
Author: | Rod [ Wed Sep 14, 2011 11:06 am ] |
Post subject: | Re: python file ? |
That screen is showing you which version of Python you have installed. The rest is telling you you are connected to Python in idle mode. That is the good news command (DOS) screen telling you Python 2.6.4 is installed, and available. Now it is just waiting for a command.For instance mine looks like this. (it doesn't have the firewall info as i do not have one operating at the moment). By the way i sent you a PM. Have fun with all the cool python filters! may i suggest LayerFX and bevel-2.1 for starters. |
Author: | Lorri [ Wed Sep 14, 2011 12:16 pm ] |
Post subject: | Re: python file ? |
ok thanks I sort that out later Rod |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |