Please help!
IDLE color codes only the shell, not the open files! How can I solve
this? 2 8225
On Nov 5, 12:33 pm, "ram.rac...@gma il.com" <ram.rac...@gma il.com>
wrote:
Please help!
IDLE color codes only the shell, not the open files! How can I solve
this?
My first guess is that idle is opening files without the .py
extension. If that isn't it, what operating system are you using?
What version of python and idle are you using?
James Howard
On Nov 5, 9:41 pm, JamesHoward <James.w.How... @gmail.comwrote :
On Nov 5, 12:33 pm, "ram.rac...@gma il.com" <ram.rac...@gma il.com>
wrote:
Please help!
IDLE color codes only the shell, not the open files! How can I solve
this?
My first guess is that idle is opening files without the .py
extension. If that isn't it, what operating system are you using?
What version of python and idle are you using?
James Howard
Thank you James, from the bottom of my heart :)
Now I just need to get around to controlling pygame... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gary Feldman |
last post by:
Since I prefer to keep all my installed programs in one place, I went ahead
and installed Python in Program Files/Python. The command line shell seems
to work just fine, and I'm able to import things like urllib and its
dependencies.
However, I can't get Idle to startup. When I try running it manually (i.e.
python ...idle.py), I get
E:Program: can't open file 'Files\Python\python.exe
Obviously this is an error in in parsing the path...
|
by: Kerry Neilson |
last post by:
For the past couple of months, Idle won't start when I invoke it. I
am at a complete loss for why this is. When this happens, they python
command line still starts, and python works fine otherwise.
Most interesting to me is that a reboot won't fix the problem. But if
I just try it again sometime later it will work. Anyone have any
ideas? I'm running python 2.3 on windows 2000 professional.
|
by: Aubrey Hutchison |
last post by:
### this will test if your version of IDLE on windows is a MATURE program
design ###
print "Hello world, If Python IDLE is a mature program design it will
output this"
Save this simple single line program as "select.py" and try to run it.
Then exit IDLE and try to restart IDLE.
|
by: Brian van den Broek |
last post by:
Hi all,
IDLE refuses to launch, and I believe it is because I attempted to
define a custom key-binding that it doesn't like.
I was recently defining a custom keybinding in IDLE 1.1 under Python
2.4 on WinMe. (I was using the simpler of the two binding definition
interfaces.) When done, I hit the buttons for 'OK' (or however it is
labelled -- I cannot currently check), but the definition dialog
remained open. After several tries, I hit...
|
by: Jonathan Polley |
last post by:
I have one account on a WindowsXP machine that refuses to run IDLE (or
any other python script that uses Tk). Other people can login to that
PC and IDLE runs just fine, so it is not an installation issue. When
the person who has the problem logs into another PC the problem follows
them. Any ideas as to what might me wrong?
This is the traceback from IDLE:
C:\Python20\Tools\idle>..\..\python.exe idle.py
Traceback (most recent call...
| |
by: n00m |
last post by:
When I double-click on "some.py" file console window appears just for a
moment and right after that it's closed. If this script is started from
inside of IDLE (F5 key) then it executes as it should be (e.g.
executing all its print statements).
Any ideas? OS: Windows; Python 2.3.4. Thanks.
|
by: John Salerno |
last post by:
If I want to write my code in a separate text editor (I like UltraEdit)
but then press a single button to have that code run in the IDLE
environment, is that possible? I know that you can configure UE to run
external tools, but I can't figure out how to run IDLE this way, because
when I check on its properties to find it's file path, it is just the
Python directory itself.
So not only do I not know where to find the actual file to run...
|
by: MrBlueSky |
last post by:
Hi, I'm trying to use IDLE to develop My First Python App and my head
hurts...
I've a file called spalvi.py with this in it:
from Test import *
firstTest("Mike")
And a file called Test.py with this in it:
def firstTest(name):
print "Yo",name
|
by: rocco.rossi |
last post by:
I'm using IDLE for my Python programming. I can't seem to solve one
issue though. Whenever I try to indent a region of code, I simply
select it and hit the tab key, as I usually do in most editors, like
GEdit or Geany on Linux, for instance, and it works fine. But, if I
try to unindent a region of code, which i would do by pressing Shift-
Tab in other editors, it just won't work, and I can't find any
combination that will.
Anybody know...
|
by: W. Watson |
last post by:
After simply trying to write a program with help(MakeQTE), a module, and
having it fail with socket errors, I decided to restart IDLE, thinking I
knew the cause. I'm now getting msgs like: "IDLE's subprocess didn't make
connection. ... firewall may be blocking the connection." I doubt the FW
connection. There's a small X warning dialog that says "Socket Error:
Connection refused." Is there a way to reset IDLE?
--
Wayne Watson (Nevada...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |