How do I run PHP-scripts in Komodo Editor?
I tried this command to run a script I copied into the editor:
%(php) %F
but then it asks for a php-interpreter. Where is that located? I have installed the latest version of php. Isn't that enough?
Thanks for help!
When I start the Python debugger, how do I enter info via the keyboard (for example, in response to a raw_input() call? I've tried checking the "separate console" option, but although I can see the output, I can't type anything into the window.
Greetings,
I'm using Perl to code a program to collect weather data from specific sites, organize and clean the data, analyze it with statistics, and then upload my results to the web. I've just partitioned my Hdd so that I can begin learning linux, but until I know it well, I'm using ActivePerl on my XP Home OS.
Here are the broad steps of my project:
Topic = Analysis of State College surface weather observations
Languages = Perl for data acquisition (from the web) and results
dissemination (to the web). Fortran for data analysis.
from math import sin, cos, pi
import pygame
displayWidth = 640
displayHeight = 480
fpsLimit = 90
def sinInterpolation(start, end, steps=30):
values = [start]
delta = end - start
for i in range(1, steps):
n = (pi / 2.0) * (i / float(steps - 1))
values.append(start + delta * sin(n))
return values
class RotatingMenu:
def __init__(self, x, y, radius, arc=pi*2, defaultAngle=0, wrap=False):
"""
@param x:
The horizontal center of this menu in pixels.
@param y:
Usually PHP code consists of various chunks of PHP, HTML, CSS or Javascript code. So when I define different default backgrounds for PHP and HTMl (for example), and open some PHP file that has mixed code, can PHP background be as it is defined (default for PHP) and HTML background as defined specifically for HTML. Similarly for CSS, Jvascript also. For me it is must have for editor of this type because I can very easily visually identify chunks of code.
I've been writing a perl script to talk to a perforce server so it will generate a report. I'd like the script to output to two different places, the screen and a file. I found out I need the tee.pm for this to work. I was at CSPAN but I felt like a I was tumbling down the rabbit hole. One module needed another which needed another and so on. Isn't there any easier way to get the tee.pm to work on my windows xp (32bit). I have active perl 5.8.8 installed. The last module I tried to get installed was the ExtUtils but it reported it couldn't find a perl.exe anywhere.
I am very new to ActiveState Perl. I am actually using both ActiveState Perl/ Python for development on Windows based platforms. I would like to role out some of my tools to a group of users. Is there a way to automate or push out the ActiveState Perl install? I would like everything to be automated from a users perspective, just one click everything is taken care of. Does anyone have experience with this, and/ or could you point me to some good documentation?
Thanks.