Questions tagged [pyscripter]

PyScripter is a free and open-source Python integrated development environment (IDE) for Windows. It is built in Object Pascal and released under the MIT license.

191 questions
40
votes
2 answers

UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 34: ordinal not in range(128)

I have been working on a program to retrieve questions from Stack Overflow. Till yesterday the program was working fine, but since today I'm getting the error "Message File Name Line Position Traceback
Aaron Misquith
  • 621
  • 1
  • 7
  • 11
16
votes
3 answers

Explicitly declaring a variable type in Python

I use pyscripter for coding, it supports auto-completion. So, when I say: a = [] a. It gives me all the list functions. similarly with strings I do b=''. But for the file type, I have to use file. and choose the function and write its arguments…
lalli
  • 6,083
  • 7
  • 42
  • 55
16
votes
6 answers

Running code in PyCharm's console

Are there any smooth way to run Python scripts in the PyCharm's console? My previous IDE - PyScripter - provides me with that nice little feature. As far as I know PyCharm has 2 ways of running script in console: 1) Select a bunch of code and press…
night_bat
  • 3,212
  • 5
  • 16
  • 19
11
votes
3 answers

Changing PyScripter to work with different Python Versions

I'm using PyScripter for writing python programs and I can't figure out how to make it work with Python26 on my computer. When I installed ArcGIS, by default it installs Python26. I then installed PyScripter which found that installation and it…
djq
  • 14,810
  • 45
  • 122
  • 157
8
votes
4 answers

How to change the version of python that pyscripter uses

I am a newb with python and just learning what to do. I am using pyscripter and have been for a while whilst learning. I am now going through an online course which is taught in 2.6, yet my pyscripter uses the latest. I need to know how to change it…
user2494706
7
votes
2 answers

PyScripter - change highlighting options/color scheme Python

Just wondering if anyone else is using PyScripter as a Python editing app. I've been runnign my python IDLE in a black background and now find the default white of PyScripter to be blinding. For the life of me I can't find the menu to change the…
PPTim
  • 1,346
  • 6
  • 18
  • 33
6
votes
1 answer

import * only allowed at module level. Python 3.3 using Pyscripter

I'm fairly new to programming in general and I just started using python to try and make a simple game using pygame. If I run the following code in the Python IDLE shell it works fine but if I use Pyscripter I get the error: SyntaxError: import *…
user3189015
  • 63
  • 1
  • 6
6
votes
1 answer

PyScripter - Run Multiple instances of the same python 2.7 64 bit

PyScripter is easily the best IDE I have come across for interactive work - especially with its ability to connect to remote engines. It allows me to open multiple instances of pyscripter, each is tied to a different version (I have 3.3, 2.7 64 bit…
pythOnometrist
  • 6,531
  • 6
  • 30
  • 50
6
votes
3 answers

Is there a Mercurial or Git version control plugin for PyScripter?

I'm using Python 3.x and PyScripter to write my scripts. I really miss a version control feature in PyScripter - I got spoiled by Qt and MpLab X (I believe this is a subversion of Eclipse). Things were easy back than. Now I don't have any version…
dccharacter
  • 421
  • 1
  • 4
  • 14
5
votes
4 answers

How do I make PyScripter work? Says it cant find python26.dll

I installed PyScript to try it out but it just wont start. It only gives me the error: "Error126: Could not open Dll "python26.dll" followed by: "Python could not be properly initialized. We must quit." I think this may have something to do with the…
Alex
  • 731
  • 1
  • 11
  • 24
4
votes
3 answers

Receiving AttributeError from os.path.isfile() function

Receiving the below error when running my script: Traceback (most recent call last): File "HC_Main.py", line 54, in setup_exists = os.path.isfile(config_file) AttributeError: 'function' object has no attribute 'isfile' Sample code…
WR7500
  • 417
  • 1
  • 3
  • 12
4
votes
1 answer

PyScripter Rpyc

maybe somebody could give me a couple guidelines how to install Rpyc to PyScripter. I use PyScripter 1.9.9.7 with Python 2.6. I have tried to google it and found some instructions, but still have not succeeded... Thanks!
spacemonkey
  • 797
  • 2
  • 8
  • 7
4
votes
4 answers

WindowsError: [Error 193] %1 is not a valid Win32 application in Python

I wish to import liblas module in Python 2.7 on window 64bit. If I import the module with IDLE (Python GUI) I have no problem. If I use PyScripter "PyScripter-v2.5.3-x64-Setup.exe" I get this error message. >>> import liblas Traceback (most recent…
Gianni Spear
  • 7,033
  • 22
  • 82
  • 131
4
votes
0 answers

Python json import 'module' object has no attribute 'loads'

I'm using PyScripter on Windows with Python 2.7.3 and I'm trying to import json. It seems to work if I use the interpreter directly, but when saved in a file and run I get 'module' object has no attribute 'loads'. import json j = '{"one": 1,…
user1414464
  • 41
  • 1
  • 2
3
votes
1 answer

How to debug Google App Engine scripts with PyScripter

The situation is as follows: I have downloaded the Google App Engine SDK. I have written my "helloworld" app that runs locally in my computer. I have to use PyScripter as IDE. I can't use Eclipse, that would not be a valid solution to my problem.…
cjanssen
  • 156
  • 2
  • 6
1
2 3
12 13