Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: tables in Excel
Post: tables in Excel
Hi,
I have an Excel workbook with two sheets, called "Sheet1" and "Sheet2" with both 2 columns and 4 rows of data. They also have column headers. I would like to have a python script that creates a n... |
|
MaartenRo |
General Coding Help |
3 |
537 |
Jan-06-2024, 06:35 AM |
|
|
Thread: no module named 'docx' when importing docx
Post: no module named 'docx' when importing docx
When i run
import docxi get
Error:ModuleNotFoundError: No module named 'docx'.
In the windows prompt i executed
Output:(venv) C:\Users\Username>pip install python-docx
Requirement already satisfi... |
|
MaartenRo |
General Coding Help |
1 |
883 |
Dec-31-2023, 08:19 AM |
|
|
Thread: 'pip' not recogmnized in windows prompt
Post: 'pip' not recogmnized in windows prompt
Hi,
I want to add a library in Python by typing Quote:pip install python-docx
in de Windows command promp. I get the resultQuote: 'pip' is not recognized as an internal or external command,
operable... |
|
MaartenRo |
General Coding Help |
1 |
409 |
Dec-21-2023, 08:11 AM |
|
|
Thread: What Python skills for a fraud detective?
Post: RE: What Python skills for a fraud detective?
Thank you for your answer!
Can i also use the os module or pathlib for searching keyword in files with text, like Word, Excel or PDF? Or can i use another module for this? |
|
MaartenRo |
Bar |
3 |
2,018 |
Mar-06-2022, 07:28 AM |
|
|
Thread: What Python skills for a fraud detective?
Post: What Python skills for a fraud detective?
Hi,
I am going to work at a government agency as a financial fraud IT detective. At the agency we confiscate computers from suspected individuals and companies. We create images of these harddrive an... |
|
MaartenRo |
Bar |
3 |
2,018 |
Mar-05-2022, 05:14 AM |
|
|
Thread: saving and loading text from the clipboard with python program
Post: RE: saving and loading text from the clipboard wit...
Thank you, the program now works |
|
MaartenRo |
General Coding Help |
2 |
1,664 |
Jan-22-2022, 05:04 AM |
|
|
Thread: saving and loading text from the clipboard with python program
Post: saving and loading text from the clipboard with py...
Hi,
I am doing an assignment from a python learning book. I have to make a program that saves and loads pieces of text to the clipboard. Somehow, when i type in the Windows shell: mcb.pyw save <ke... |
|
MaartenRo |
General Coding Help |
2 |
1,664 |
Jan-21-2022, 02:58 PM |
|
|
Thread: batch file for running python scipt in Windows shell
Post: RE: batch file for running python scipt in Windows...
Thank you for the info. But what is the purpose of this batch file, as i can already run the .py program from the system shell? |
|
MaartenRo |
General Coding Help |
2 |
1,897 |
Jan-21-2022, 02:36 PM |
|
|
Thread: batch file for running python scipt in Windows shell
Post: batch file for running python scipt in Windows she...
Hi,
I am doing an assignement in a Python learning book in which i have to run my Python script in the Windos shell. It says that i have to make a batch file containing:
Quote:@py.exe C:\yourpath\Py... |
|
MaartenRo |
General Coding Help |
2 |
1,897 |
Jan-21-2022, 07:46 AM |
|
|
Thread: What do i have to type in the IDLE shell to use this password manager program?
Post: RE: What do i have to type in the IDLE shell to us...
Thanks for the info. It works. |
|
MaartenRo |
General Coding Help |
4 |
1,753 |
Jan-15-2022, 02:01 PM |
|
|
Thread: What do i have to type in the IDLE shell to use this password manager program?
Post: What do i have to type in the IDLE shell to use th...
Hi,
I am doing an assignment in a Python exercise book. I have to create a password manager program that can be used with a command line argument that is the account's name like 'email' or 'blog'. Th... |
|
MaartenRo |
General Coding Help |
4 |
1,753 |
Jan-15-2022, 08:15 AM |
|
|
Thread: TypeError: not enough arguments for format string
Post: RE: TypeError: not enough arguments for format str...
Thanks. I didn't realize text files were created. |
|
MaartenRo |
General Coding Help |
6 |
2,944 |
Jan-09-2022, 03:24 PM |
|
|
Thread: TypeError: not enough arguments for format string
Post: RE: TypeError: not enough arguments for format str...
Thank you for your input, i deleted the redundant "%" . If i run the script now i get as result:
= RESTART: C:\Users\Maarten\AppData\Local\Programs\Python\Python310-32\randomQuizGenerator.pyIt restar... |
|
MaartenRo |
General Coding Help |
6 |
2,944 |
Jan-09-2022, 12:05 PM |
|
|
Thread: TypeError: not enough arguments for format string
Post: TypeError: not enough arguments for format string
I am doing an assignement program from a book. I need to write a program that
makes a test with 50 mutliple choice questions asking what the capital is of each state. Somehow i get
Error:Traceback (m... |
|
MaartenRo |
General Coding Help |
6 |
2,944 |
Jan-09-2022, 07:45 AM |
|
|
Thread: AttributeError: 'NoneType' object has no attribute 'group'
Post: RE: AttributeError: 'NoneType' object has no attri...
Thank you, that site for Regex testing is very useful. |
|
MaartenRo |
General Coding Help |
3 |
4,719 |
Jan-02-2022, 07:46 AM |
|
|
Thread: AttributeError: 'NoneType' object has no attribute 'group'
Post: AttributeError: 'NoneType' object has no attribute...
Hi,
I would like my code to return '(415)'. What am i doing wrong?
phoneNumRegex=re.compile(r'(\(\d\d\d\))(\d\d\d-\d\d\d\d)')
mo=phoneNumRegex.search('My phonenumber is (415) 555-4242.')
mo.group(1... |
|
MaartenRo |
General Coding Help |
3 |
4,719 |
Jan-02-2022, 07:04 AM |
|
|
Thread: AttributeError: 'NoneType' object has no attribute 'group'
Post: RE: AttributeError: 'NoneType' object has no attri...
|
MaartenRo |
General Coding Help |
3 |
2,690 |
Jan-01-2022, 04:16 PM |
|
|
Thread: Wrong code in Python exercise
Post: RE: Wrong code in Python exercise
|
MaartenRo |
General Coding Help |
2 |
1,535 |
Jan-01-2022, 04:12 PM |
|
|
Thread: AttributeError: 'NoneType' object has no attribute 'group'
Post: AttributeError: 'NoneType' object has no attribute...
Hi,
My code for finding a certain text in a larger text doesn't work. It should give: " Phone number found: 415-555-4242". What am i doing wrong?
import re
phoneNumRegex=re.compile(r'\d\d\d-\d\d\d-\... |
|
MaartenRo |
General Coding Help |
3 |
2,690 |
Jan-01-2022, 03:46 PM |
|
|
Thread: Wrong code in Python exercise
Post: Wrong code in Python exercise
Hi,
I am practicing Python from a learning book. When i type this code i don't get the expected result. It should return:
" Phone number found: 415-555-1011
Phone number found: 415-555-9999
Done" B... |
|
MaartenRo |
General Coding Help |
2 |
1,535 |
Jan-01-2022, 03:21 PM |