Re: ABC for Github-programs and Python Programming Software Development by Reverend Jim I have an apps folder on D: where I keep all my portable/homegrown software. Let's say I want to create a virtual enviromnent in `D:\apps\MyVirtual`. To do this I open a command shell and do D:\>cd apps D:\apps>python -m venv MyVirtual If I install any packages in this session, they will be installed in the virtual python. … GCC Fails to Recognize Parameters Programming by snah19 RE: ffmpeg-4.4 Andrew Wu DJGPP CROSS COMPILER, GCC v12.2.0 Host Macbook Pro, macOS Monterey [Click Here](https://ffmpeg.org/platform.html#DOS) DJGPP Cross Compiler 12.2.0 Fails to Recognize "certain" Parameters in FFmpeg Source Code Hi, I am using the DJGPP cross compiler 12.2.0, developed by Andrew Wu, github, to build the … Devin Might Be Fake, Yet AI's Threat to Jobs Is Real. Community Center by Johannes C. **The creators of an automated software engineer tout their AI's capability to independently tackle complete coding projects, including actual tasks from Upwork. While skepticism is warranted regarding Devin's authenticity, the risk of AI displacing professionals across numerous fields is undeniable.** ![will-code-for-food.jpg](https://static.… Re: i donĀ“t understand this syntax error when using OpenCV Programming Databases by Reverend Jim What happens if you open a python shell and just type "import cv2"? As I said in your other thread, the problem might be with python 3.12. It imports ok under 3.10. Re: GCC Fails to Recognize Parameters Programming by Reverend Jim I can't offer any suggestions other than to just download the compiled app for your system instead of building it yourself. Re: GCC Fails to Recognize Parameters Programming by rproffitt Here's another problem. When we change the OS not only must we setup the compiler, environment and such but sometimes an OS API could be deprecated or removed. You made mention of a possible OS change so that's a possibility. You obtained this code from somewhere. Go back there and see if they updated it for your new OS. Re: GCC Fails to Recognize Parameters Programming by toneewa While I haven't used DJGPP for a couple decades, I decided to install the ffmpeg library and do a test program another way. For me, the declarations worked changing: #include "os_support.h" #include "avformat.h" #include "internal.h" #if CONFIG_NETWORK #include "network.h" #… self programming code Programming Software Development by DustinS The "exec" function seems to literally execute strings as code in a Python shell: >>> exec("a=2") >>> a 2 >>> However, when I tried this function from within a tkinter form, the variables were no longer accessible via their original names: a=1 #initialize the variable "a" exec(… PHP Stop/Start Script Programming Web Development by DomainBeans Hello! I've got a script that runs for most of the day in a screen on my centOS linux box, however I'd like a way to be able to stop and start this with a button within my panel (php). I've read about shell exec however I've not been able to get this to work? What's the best way to do this? Any help appreciated. Re: Backup database empty file Programming Web Development by pzuurveen I don't think ` or die(mysql_error()` works here because you access the mysql not though php but though the shell. to get te result back from the shell exec('command', $result); var_dump($result); Re: What to choose after being done with Html and CSS Programming Web Development by veedeoo **Disclaimer!** I really don't know how to code in cold fusion. I was never and will probably not learn it. However, besides PHP, I know how to code in C++, C#, C, python, ruby, a little of PERL, and some robotics programming in ROM. I spent most of my time writing and experimenting with OOP PHP for calculator applications ( I have this vision … Re: help with php file reader app Programming Web Development by veedeoo This is pretty easy... all you have to do is make sure you have the proper php extension installed.. For text reading use.. [fread function](http://php.net/manual/en/function.fread.php). For PDF reading make sure you have http://www.foolabs.com/xpdf/about.html installed as php extension. For DOC reading use this http://www.winfield.demon.nl/... … Re: Can we execute command line cmds from a php file?? Programming Web Development by DanceInstructor [url]http://us.php.net/manual/en/function.shell-exec.php[/url] Re: How to run C++ program from a website Programming Software Development by hacker9801 If you're using PHP, see [url="http://www.php.net/manual/en/function.shell-exec.php"]shell_exec()[/url]. Re: Get process id for a php file Programming Web Development by blocblue Try the [URL="http://php.net/manual/en/function.shell-exec.php"]shell_exec[/URL] function. But use it with caution. R. Re: 100% CPU Usage problem on my console application Programming Software Development by Reverend Jim If you want to do the same without using AutoIt you can still do it with vbScript by do titles = GetTitles() if Contains(titles,"TextPad") Then wscript.Echo now, "TextPad is active" end if wscript.Sleep 1000 loop Function GetTitles () Dim cmd: cmd = "tasklist /v /fi ""WINDOWTITLE ne N/A"… Shell Script Tasks Programming Software Development by Icostyle Shell Script Tasks This is a homework assignment to create the below described shell scripts. I need the scripts so I can complete my university education. If you would like to help me and can create these scripts, please send them in a zip or rar file to my email: [email]technologicbg@yahoo.com[/email] Thank you. Task 1: Compile a script named… Shell Programming Programming Software Development by MAD_DOG Shell Programming for UNIX/Linux is finally over thank god! C/C++/Perl I hate that shit lol it's over and I learned something. 1&>2 = I dont really know if this is right lol or 1>&2 = Something is redirecting something lol Re: Shell Initialization Programming Software Development by thekashyap "shell is uninitialized" means that the files (scripts) listed there (/etc/profile, ...) are NOT executed. So whatever env variables you're setting/updating in those files are not set/updated. Re: Shell function Programming Software Development by Jx_Man shell function used to apply/run other application and sava the task ID of that application as feedback value. so if none application or failed to call then the feedback value is 0. this following code is used sintax : shell(path_Name[,style][,wait][,timeout]) [COLOR="Red"]path_name [/COLOR]= executable file with the full path of the … Re: Shell manager database is corrupt or missing Hardware and Software Microsoft Windows by anandavelu Shell manager database is corrupt or missing Avogadro Number Programming Software Development by man5237 Shell program to check whether a given number is avogadro number or not. Re: How get the Cursor Position Programming Software Development by jim mcnamara shell programming and C/C++ are not the same thing. maybe a moderator will move your post for you. Anyway, in shell there is no way without writing code (the ncurses library provides calls to do this) without resorting to C/C++ code. Plus you have to be in graphics mode.... see for someone with the same probleem.: [url]http://www.unix.com/… Re: little shell scripting help here... Programming Software Development by jbennet Shell scripting is here: [url]http://www.daniweb.com/forums/forum113.html[/url] Re: Quick question on Shell sort complexity Programming Computer Science by radhak shell sort Best case: O(n). It occurs when the data is in sorted order. ... Worst case: O(n^2) if the numbers were sorted in reverse order. Autorun USB to COPY files! Programming Software Development by JavaPrograms shell-scripting @ DaniWeb - Hello fellow members, I would like to ask for your assistance in creating a batch/autorun/exe file which can help me to make an autorun usb. So basically, I would like the USB to do the following: When usb is inserted, it should autorun and copy files from the computer. The files which I would like to be copied would … Re: A script to import MySQL dumps Programming Software Development by griswolf Shell is probably not the ideal tool for an interactive (right click to choose) program. Shell is better suited to a command line interface, where for instance, you would type in (maybe with auto-completion) the name of the .sql file. In this case, I'd likely create a temporary sql file that does steps 3, 4 an 5 and have the MySQL interpreter run… Re: Problem with ImageMagick Programming Web Development by ShawnCplus exec only returns the response code, use shell_exec, that'll get all of the output so if imagemagick is producing errors you'll be able to see them. Re: video file conversion from avi,mpeg to flv with php & ffmpeg Programming Web Development by cereal exec() won't give you TRUE or FALSE on the command executed, will simply return an output, and only if you add a second parameter. For example: [code]<?php echo exec('ls',&$ot) . "\n"; print_r($ot) . "\n"; ?>[/code] So, you need to see what is going on during the conversion. Try to use system(), you will get all the … Re: recursion to iteration Programming Software Development by Adak Shell sort is Insertion sort, with an added outer loop that allows values to be moved a longer distance, in one loop, when it's advantageous. As the gap in the outer loop is reduced, Shell sort becomes more and more like Insertion sort. In it's last time through it's inner loop, it is identical to Insertion sort. Insertion sort is known to be…