Skip to main content

Questions tagged [scripting]

In computer programming, a script is a program or sequence of instructions that is interpreted or carried out by another program rather than by the computer processor (like a compiled program is).

Filter by
Sorted by
Tagged with
3 votes
1 answer
253 views

I'm having trouble with managing the working directory in Jupyter Notebook. For example, I have a .py script that requires me to change the working directory to its directory to run it properly. I've ...
newbie's user avatar
  • 47
4 votes
1 answer
470 views

I'm making an interpreter (currently in python but later I'll remake it in C++) and I wondered how I could use a C/C++ function in my language so when somebody wants to write an extension for my ...
Oliver JT's user avatar
0 votes
1 answer
237 views

Hypothetically, consider a social photo platform - each pic gets its own url, this page contains the image, text about the image, buttons for the user to click, related pics, and some user-specific ...
ahron's user avatar
  • 165
3 votes
1 answer
1k views

To improve my command lines scripts, I want to add some optional console output, mainly for logging purposes. In my PowerShell modules, I use Write-Verbose for this (but it should be clear this isn't ...
Alex_P's user avatar
  • 171
1 vote
2 answers
107 views

The Issue When I'm fixing a bug during web development projects, I often find myself cleaning out the existing (tainted) database records, clearing out log files, etc. I do this so that I can start ...
Soobeen Park's user avatar
0 votes
2 answers
334 views

I come across the need to do a lot of one time scripts (related to API evaluations, data extraction, experiments etc.) that have the potential only to be used very rarely in the future. These could be ...
c00der's user avatar
  • 125
50 votes
5 answers
12k views

According to my experience, Wikipedia and prior answers, a scripting language is vague category of languages which are high-level (no manual memory management) and interpreted. Popular examples are ...
Seanny123's user avatar
  • 663
2 votes
1 answer
384 views

I'm trying to pass a point to my team whereas there are two different kind of "programs" we can serve : applications and executables/librairies. An application in this sense is dependent on other ...
Pobe's user avatar
  • 153
1 vote
3 answers
3k views

To automate tasks, I have only heard of people using scripting languages. Why don't people use compiled languages to automate tasks? What can scripting languages do for automating tasks that ...
Niko Gambt's user avatar
4 votes
5 answers
788 views

I am a sole developer and I recently wrote a new web application in the form of a API with Swagger and front-end. This was customers could use the API on their own, usually forscripting. It is ...
Victorio Berra's user avatar
2 votes
2 answers
747 views

I am a self-taught programmer, and started my job as a PHP developer,in a small company. I then got some work to write python script. I didn't have any senior with proper Python experience. So I ...
kadamb's user avatar
  • 173
-4 votes
1 answer
104 views

Imagine a table T, with 2 columns containing data. Everyday, one row is added the table. Now you add 3rd column to the table (After adding this column too, one row will be added the table everyday)....
Karthikeyan Palanisamy's user avatar
0 votes
1 answer
2k views

I am making an application that will allow user to store and execute simple scripts using Web GUI. Web GUI is ASP.NET MVC and scripts can be of any kind (Python, Perl, AWK, CMD, PowerShell ect. User ...
Roman Artemov's user avatar
0 votes
2 answers
458 views

I'm interested in whether there is such a thing as a pseudo-compiler that can create a kind of binary or bytecode version of a plaintext script file, which can only be accessed by a proprietary piece ...
thisisanon's user avatar
6 votes
2 answers
10k views

Is there any standard/encouraged Windows batch file coding style? I would think that if I want my batch files to be easy to read/mantain, I should care about this, but searching the web I found very ...
carlossierra's user avatar
  • 1,425
1 vote
1 answer
533 views

I learnt about the check testing framework today that seems good. This far I've scripted tests that uses valgrind so that the tests both display output from the tests and from valgrind. Is there a ...
Niklas Rosencrantz's user avatar
3 votes
1 answer
135 views

At my new job, they are currently spending scores of labor hours that we don't have to do manual QA testing after every build. Nothing is automated at all. (We can only afford three developers, and ...
TBridges42's user avatar
-1 votes
2 answers
79 views

I've got a group of scripts to run and I'd like to batch them all together. Rather than write a .cmd/.bat file to run the lot it feels to me like there ought to be something similar to a playlist (e.g....
timB33's user avatar
  • 191
3 votes
4 answers
1k views

I'm working on a medium size C++ project (will probably end up around 50k lines) and I have to provide an interactive terminal interface. The program produces scientific data as an output and the ...
Goobley's user avatar
  • 191
7 votes
1 answer
3k views

I have a script which starts from cron with regular interval and sources in around 10 variables. Should I keep those 10 variables in one configuration file in file system or is it a better practice to ...
Martin's user avatar
  • 189
1 vote
1 answer
421 views

Webhooks can be a very powerful thing when you try to automate or integrate software, however, handling their deployment in a controlled environment can suck in terms of security and deployment alone. ...
dukeofgaming's user avatar
1 vote
2 answers
2k views

I need to program a C++ application which will basically work as a script interpreter, but with extremely basic and limited scripts. The scripts will have a format like this: processedA = doProcessA(...
m fran's user avatar
  • 131
0 votes
1 answer
126 views

I have this software package which installs itself to /usr/local/mypackge, with a bunch of subdirs. In bin/ I have linked code, as ELF executables, in /share/doc I have documents, etc. Now suppose I'...
einpoklum's user avatar
  • 2,808
2 votes
2 answers
358 views

Situation Mobile application store owners are known to explicitly forbid some application extensibility scenarios. Apple: 2.7 Apps that download code in any way or form will be rejected 2.8 ...
Den's user avatar
  • 4,887
2 votes
2 answers
307 views

I have java application which takes a file, which is created by a process running on terminal. I start the process using a small shell script. Then run the Java application and it reads the file ...
saccu's user avatar
  • 23