Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
command;
- Page 1
Question Answering with YouTube Videos Using RAG in LangChain
Programming
Computer Science
3 Weeks Ago
by usmanmalik57
… the city with no specific destination. ``` ## A
Command
Line YouTube Question Answering Chatbot Now that we know how…related to YouTube videos, we can create a simple
command
-line application for question-answering. To do so,…` list. Thanks to the' chat_history' list, the
command
line application will be able to answer follow-up questions…
Retrieval Augmented Generation with Hugging Face Models in LangChain
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
… install the rest of the libraries via the following pip
command
. ``` !pip install -q -U transformers==4.38.0 !pip install…
Re: how to create a simple elevator simulation?
Programming
Software Development
2 Weeks Ago
by trueframe
To make a basic elevator simulation, first, identify the floors and the elevator's capacity. Then, use loops and conditionals in programming to mimic its movement. Include buttons for users to call the elevator and select floors. Test thoroughly for accuracy.
ABC for Github-programs and Python
Programming
Software Development
1 Month Ago
by Audun
…a bunch of Python-tools. When I run this
command
in "Python 3.12", which looks …basic functionality needed for the virtual environment. Running the
command
below will create a virtual environment named "openai… the current folder you have selected in your terminal /
command
line: python -m venv openai-env" The instructions…
Re: ABC for Github-programs and Python
Programming
Software Development
1 Month Ago
by Reverend Jim
… in `D:\apps\MyVirtual`. To do this I open a
command
shell and do D:\>cd apps D:\apps>… MyVirtual\scripts\activate.bat and deactivate by either closing the
command
shell, or running MyVirtual\scripts\deactivate.bat They really just…
Paris Olympics Ticket Information Chatbot with Memory Using LangChain
Programming
Computer Science
1 Month Ago
by usmanmalik57
…-up question. ## Putting it All Together - A
Command
Line Chatbot To create a simple
command
-line chatbot, we will instantiate an empty…
Retrieval Augmented Generation (RAG) with Google Gemma From HuggingFace
Programming
Computer Science
2 Months Ago
by usmanmalik57
… passing your HuggingFace access token in response to the following
command
. ``` !huggingface-cli login ``` Next, we will import the tokenizer and…
Re: Online subission forms not sending emails of submitted info
Programming
Web Development
1 Month Ago
by david.tigner
…must download Composer. In order to install Composer, need a
Command
Line PHP.exe file. I do not have one of…the timeline is matching). Question: how does one get the
Command
Line PHP.exe file needed to install Composer ? In Composer… Setup, this
Command
Line PHP.exe file would be added to the 'PATH'.
Re: A module that comes with Python, doesn´t register?
Programming
Web Development
1 Month Ago
by Reverend Jim
…When a project requires the installation of packages, the pip
command
for that package should ALWAYS be included. For example,… the
command
to install the opencv package was not given and …is pip install opencv-python The only pip
command
that was given was for Pytessaract. Seems sloppy to…
Re: ASUS Laptops - my experience
Hardware and Software
1 Month Ago
by toneewa
… a USB or external DVD, will let you use the
Command
prompt. Here, you can delete partitions, repair, [convert](https://www…://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/reagentc-
command
-line-options?view=windows-11), and [bootrec](https://support.microsoft…
Re: How Do I address ERROR: access violation writing 0x0000000000005140,
Programming
Web Development
2 Months Ago
by rproffitt
… but if this was mine I'd place a logging
command
in my python script at each step so I could…
Re: ASUS Laptops - my experience
Hardware and Software
1 Month Ago
by Reverend Jim
… a USB or external DVD, will let you use the
Command
prompt. I actually tried this as well, running diskpart.exe…
Re: Read file properties of video files in C++
Programming
Software Development
1 Month Ago
by Thomasio
… from there, I do believe Windows must have some API
command
for that, but of course I'm not sure. I…
Re: ABC for Github-programs and Python
Programming
Software Development
1 Month Ago
by Reverend Jim
I have developed a number of GUI applications in python. I found that the wxpython package was far better than tkinter. wxpython is based on wxwidgets which is essentially windows controls. Because wxwidgets are compiled for each major system, controls rendered by wxpython look like the native controls for whatever system is hosting.
Re: Command line parameter parsing
Programming
Software Development
12 Years Ago
by raptr_dflo
Command
-line argument handling is certainly a challenge, especially if you …
command line Execution?
Programming
Software Development
13 Years Ago
by b1izzard
… a button in toolbar provided if its compiler location and
command
to compile is specified. e.g [CODE] c:\cob>….cob" stats = Shell("cmd.exe /k " &
command
& app_param & file_name, vbNormalFocus) [/CODE] In the Cmd prompt…
Re: command line Execution?
Programming
Software Development
13 Years Ago
by b1izzard
I Got it solved [CODE]
command
= app_param & " " & file_name 'cobol num.cob ChDir (app_path) 'compiler path stats = Shell("cmd.exe /k " &
command
, vbNormalFocus) [/CODE]
Re: command line Execution?
Programming
Software Development
13 Years Ago
by b1izzard
I Got it solved [CODE]
command
= app_param & " " & file_name 'cobol num.cob ChDir (app_path) 'compiler path stats = Shell("cmd.exe /k " &
command
, vbNormalFocus) [/CODE]
Re: Command Line Arguments
Programming
Software Development
15 Years Ago
by Ancient Dragon
command
line arguments are entered into your program via main() function. … characters that contain the strings that you put on the
command
line, separated by spaces or tabs. argv[0] is always… of the program. So if you typed this on the
command
line your program would bet four arguments [icode]c:>…
Re: command line arguments
Programming
Software Development
13 Years Ago
by TrustyTony
Command
line arguments you can access like normal list, just import … item in sys.argv: print item [/CODE] You run
command
from
command
window with parameters: [CODE] D:\Python Projects\Tests>pyparams…
Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by mohana88
… an application where in I am using both forms and
command
line arguments. I have tried using Environment.getCommandLineArgs(). But it… only one argument, the path of the exe file. The
command
line arguments are first read and if present they are…
Re: Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by ddanbe
If you open the properties of your console app and open the debug tab in the window that shows, you can set some
command
line arguments to test things out. Strange that you have to use some weird thing like a CmdParser, when all the
command
line arguments are passed to you via the args string array as Momerath already pointed out. :-/
Re: Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by Momerath
The first line of your program is probably [icode]static void Main(string[] args)[/icode]. args contains the
command
line arguments.
Re: Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by mohana88
… args. I tried executing the exe as follows in the
command
prompt: setup.exe -darg1 -farg2 ...... I am using the switch…
Re: Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by Momerath
… s in args) { Console.WriteLine(s); } }[/code] Displays all the
command
line arguments I can throw at it. You'll have…
Re: Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by Momerath
Since it's the code that reads the arguments it most definatly is the problem. Again, I have no problems reading multiple
command
line arguments in either windows or console application.
Re: Command line arguments for Windows application
Programming
Software Development
13 Years Ago
by mohana88
I checked the length of the arguments before passing the same to the cmdLineParser. It showed 1. It is not reading the arguments i guess. Can u pls tell me the syntax for the code execution with
command
line arguments???? May be the syntax is wrong. I have to pass 9 parameters along with the exe file during execution
Re: Command line help please
Programming
Software Development
12 Years Ago
by JeoSaurus
… something like this, but you could also easily put your
command
line arguments into an array, and do a bubble sort… ways to do this, however, would be to write your
command
line integer parameters to a temporary file and then '[url…
Re: command line parameters
Programming
Software Development
12 Years Ago
by Tellalca
Command
line arguments are passed to programs automatically when you use … is almost never done if you are not using a
command
line based Linux OS. What you do to run a… program on
command
line, you call it like "myprogram.exe". If…
Re: Command Prompt compiling error help
Programming
Software Development
12 Years Ago
by NormR1
Here's how to copy the
command
prompt so it can be posted allowing copy and paste of the contents into further comments. To copy the contents of the
command
prompt window: Click on Icon in upper left corner Select Edit Select 'Select All' - The selection will show Click in upper left again Select Edit and click 'Copy' Paste here.
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC