Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
py
- Page 1
Re: Cannot run exe from asp.net
Programming
Web Development
2 Weeks Ago
by lennyli
…Run the Server**: - On the target computer, run `server.
py
`: ```bash python server.
py
``` 2. **Run the Client**: - On your controlling …computer, run `client.
py
`: ```bash python client.
py
``` - Replace `'REMOTE_IP_ADDRESS'` in `client.
py
` with the actual IP address of the…
Re: Cannot run exe from asp.net
Programming
Web Development
2 Weeks Ago
by lennyli
> > When I run the command "python server.
py
" on the server pc, it held for a second, ….2 successfully, but as i said disappointingly the python server.
py
command didnt output any text before returning control to command…
Re: Cannot run exe from asp.net
Programming
Web Development
2 Weeks Ago
by Salem
> When I run the command "python server.
py
" on the server pc, it held for a second, …
Need currency pound symbol before amount calculation
Programming
Web Development
2 Months Ago
by ianhaneybs
… code I currently have <th class="text-right
py
-1 px-2 grand-total">0</th…
Re: Need currency pound symbol before amount calculation
Programming
Web Development
2 Months Ago
by Salem
https://stackoverflow.com/questions/44969852/javascript-number-tolocalestring-currency-without-currency-sign Maybe use style 'currency' rather than style 'decimal' ?
Re: Need currency pound symbol before amount calculation
Programming
Web Development
2 Months Ago
by Dani
Yes, but you might want to also add `currency: 'GBP'`, as so: $('table#list tfoot .grand-total').text(parseFloat(grand_total).toLocaleString('en-gb', { style:'currency', currency: 'GBP', maximumFractionDigit:2 }))
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by Biiim
Since Dani did the best standard-correct answer I will do the botch-job answer: $('table#list tfoot .grand-total').text('£'+parseFloat(grand_total).toLocaleString('en-gb', {style:'decimal',maximumFractionDigit:2})); $('[name="amount"]').val('£'+parseFloat(grand_total)); may also want to use £ to display in …
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by gediminas.bukauskas.7
JS has a function for the formatting currencies. Read the 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat' article. You will find code samples there.
Re: Need currency pound symbol before amount calculation
Programming
Web Development
1 Month Ago
by gottaloveit
[Currency.js](https://currency.js.org/) also works very well for this
py Files On Mac
Programming
Software Development
17 Years Ago
by dedekind87
Hello everyone, I'm a python beginner, and I've installed MacPython on my Mac. I'd like to know how I can run .
py
files from the Mac terminal without having to make them executable. I'd like to write a command line like this one: [ICODE]python file.
py
other_inputs[/ICODE] Thanks a lot!!
Py Lame????
Programming
Software Development
16 Years Ago
by Stefano Mtangoo
… suitable lame bindings. After loooong googling and metacrawling, I found
py
-lame. The problem is, when I try to compile it…
py 2 exe with tkinter
Programming
Software Development
15 Years Ago
by Mensa180
Hi all, I can convert my .
py
or .pyw files into EXE no problem. The thing is …
.py to .pbp
Programming
Software Development
14 Years Ago
by lucksoar
Hello, I was curious to know if there was some way to change a .
py
file to a .pbp file. I know that I can easily make an .exe file with py2exe, is there something like that for pbp?
py output as web page
Programming
Software Development
13 Years Ago
by vlady
Hello I try to get
py
output (s_subject) to a web bage table using html code. …
py output to tables (html)
Programming
Software Development
13 Years Ago
by vlady
Hello! I try to get
py
output to html table tag. I have a problem to …
Re: .py page just for variables
Programming
Software Development
3 Years Ago
by Husoski
…. A simple example: # This is "my_app_globals.
py
" MY_APP_NAME = "My Application" MY_APP_VERSION … something like: # This is "main.
py
" import my_app_globals print("App Name:"…default) the source file name without the .
py
suffix. (The compilation part will be skipped…
Python manage.py giving MysqlDB error
Programming
Software Development
15 Years Ago
by sandeep.m
…Traceback (most recent call last): File "manage.
py
", line 12, in <module> …lib/python2.5/site-packages/django/utils/translation/trans_real.
py
", line 209, in activate _active[currentThread()]…/python2.5/site-packages/django/utils/translation/trans_real.
py
", line 198, in translation default_translation = …
Pyinstaller: raise ImportError, while importing scapy in .py file
Programming
Software Development
14 Years Ago
by ak_barik
…<module> File "C:\automation\pyinstaller\iu.
py
", line 436, in importHook mod = _self_doimport(nm…, in _import_star File "C:\automation\pyinstaller\iu.
py
", line 455, in importHook raise ImportError?, &… in command line to convert
py
to exe: python Configure.
py
python Makespec.
py
-o C:\automation\createexe …
Auto Static Server with web.py
Programming
Software Development
11 Years Ago
by james.lu.75491856
…"C:\Python27\lib\site-packages\web\wsgi.
py
", line 55, in runwsgi server_addr = …', 'SLASHfaviconDOTicoserver', 'C:/Users/James/Desktop/server\\server.
py
', 'SLASHserverDOTpyserver') Traceback (most recent call last): File…"C:\Python27\lib\site-packages\web\wsgi.
py
", line 55, in runwsgi server_addr = …
How to use 2to3.py conversion, output text to scrollable window
Programming
Software Development
12 Years Ago
by TrustyTony
…F:\Python27\Tools\Scripts>copy \test\output_window_tk.
py
\test\output_window_tk2.
py
1 tiedosto(a) on kopioitu. F:\Python27\…Skipping implicit fixer: ws_comma RefactoringTool: Refactored \test\output_window_tk.
py
--- \test\output_window_tk.
py
(original) +++ \test\output_window_tk.
py
(refactored) @@ -1,5 +1,5 @@…
Runing: xrced.py, I get the following errors in IDLE:
Programming
Software Development
16 Years Ago
by vmars
…\wx-2.6-msw-unicode\wx\tools\XRCed\xrced.
py
", line 23, in <module> …\wx-2.6-msw-unicode\wx\tools\XRCed\globals.
py
", line 7, in <module>…;C:\Python26\wx-2.6-msw-unicode\wxPython\__init__.
py
", line 10, in <module> import…;C:\Python26\wx-2.6-msw-unicode\wx\_core.
py
", line 4, in <module> import…
Redhat 5.5 error while trying to import YumSorter Class from yuminstall.py
Hardware and Software
Linux and Unix
14 Years Ago
by karthick_dani
…yuminstall import YumSorter File "/usr/lib/anaconda/yuminstall.
py
", line 31, in ? from packages import …recreateInitrd File "/usr/lib/anaconda/packages.
py
", line 19, in ? import iutil File …;/usr/lib64/python2.4/site-packages/block/device.
py
", line 195, in MPNameCache MemoryError Please let…
Trouble with .py files
Programming
Software Development
14 Years Ago
by Enorym
…'m new to Python and having difficulty opening my .
py
file (ex1.
py
). In the command prompt I cd to the folder…") 4. I have also tried typing "python ex1.
py
" 5. The prompt does nothing, just returns with the… by typing "python", I can edit the
py
file (ex1.
py
) but for some reason it will not execute within…
Re: Auto Static Server with web.py
Programming
Software Development
11 Years Ago
by james.lu.75491856
Thanks, and now all I need to do know is to ignore server.
py
and web.
py
Re: Auto Static Server with web.py
Programming
Software Development
11 Years Ago
by Gribouillis
Use startpage ! Here is a [related discussion](https://github.com/webpy/webpy/pull/195). You should try and modify net.
py
according to the last suggestion.
Re: need help for py2exe - setup.py
Programming
Software Development
16 Years Ago
by mm013
… gpy2exe before, but how can i include other .
py
files using its GUI? And yes, currently, I… am trying to use setup.
py
, but I am a newbie at python, so …I'm not sure how to include those other .
py
files. Currently, I have created a lib folder…something like this GameFolder->lib->game1.
py
The main file would be in Gamefolder, and…
Bug in latest version of plot.py (wx version 2.8)...
Programming
Software Development
15 Years Ago
by JasonHippy
…"C:/Documents and Settings/Jason/Desktop/wxPythonStuff/usingPlot2.
py
", line 60, in <module> …quot;C:/Documents and Settings/Jason/Desktop/wxPythonStuff/usingPlot2.
py
", line 53, in __init__ plot_canvas.SaveFile(…packages\wx-2.8-msw-unicode\wx\lib\plot.
py
", line 642, in SaveFile dlg1.Destroy() AttributeError…
Running a program from within a py script...
Programming
Software Development
18 Years Ago
by danizzil14
…Traceback (most recent call last): File "C:\csuite\startup.
py
", line 14, in <modul choises(choise) File… (most recent call last): File "C:\csuite\startup.
py
", line 14, in <module> choises(choise…) File "C:\csuite\startup.
py
", line 11, in choises os.execv("C:\…
Using sitecustomize.py to modify sys.path
Programming
Software Development
16 Years Ago
by bitmaster20
… in the file system. I added [B]sitecustome.
py
[/B] to "Lib/site-packages", however…INDENT][INDENT]net/[/INDENT][/INDENT] [INDENT][INDENT][INDENT]url.
py
[/INDENT][/INDENT][/INDENT] [INDENT][INDENT]lib/[/INDENT][/INDENT] …[INDENT][INDENT][INDENT]xml.
py
[/INDENT][/INDENT][/INDENT] P.S.: I understand that …
need help for py2exe - setup.py
Programming
Software Development
16 Years Ago
by mm013
…subdirectories (1 folder for images, 1 for other .
py
files etc). Now, I would like to use …Desktop\\game\\dist\\game.exe\\lib/*.*' And within my setup.
py
, i got this: setup(options = {"py2exe&…;bundle_files": 1}}, zipfile=None, windows=["game.
py
"], data_files=[("Data",glob.glob("Data/*.*"…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
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
© 2025 DaniWeb® LLC