Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: No module named 'Tkinter'
Post: RE: No module named 'Tkinter'

(Jun-30-2020, 01:42 PM)All_ex_Under Wrote: In the first time, I installed it in D drive, now besides I reinstalled my python in my C drive (during the installation some shadows were telling me that ...
Malt General Coding Help 13 12,544 Jun-30-2020, 02:02 PM
    Thread: Need Outlook send email code using python
Post: RE: Need Outlook send email code using python

Please share your code snippet and detail us the difficulty you are facing.
Malt General Coding Help 3 8,261 Jun-30-2020, 01:57 PM
    Thread: Need Help for my program
Post: RE: Need Help for my program

Can you please let us know which version of Python you are actually using?
Malt General Coding Help 19 6,481 Mar-27-2020, 06:45 PM
    Thread: Importing module from a package results in import error
Post: RE: Importing module from a package results in imp...

If you want to run your program from /home/pkg then you can actually make a call to change your directory path to /home/pkg using os.chdir() in client.py
Malt General Coding Help 2 2,403 Mar-27-2020, 06:42 PM
    Thread: tkinter canvas help
Post: RE: tkinter canvas help

Please paste the complete trace with appropriate tag
Malt GUI 5 3,374 Dec-23-2019, 08:32 AM
    Thread: Python convert multi line into single line formatted string
Post: RE: Python convert multi line into single line for...

What is the behavior you are observing and what is your expectation?
Malt General Coding Help 2 9,451 Dec-23-2019, 06:48 AM
    Thread: Help with Python&Pycharm BUG
Post: RE: Help with Python&Pycharm BUG

You would have changed default application to any compiler like Python/any equivalence for text/doc files
Malt General Coding Help 4 2,474 Dec-23-2019, 06:43 AM
    Thread: Detect end of line in text file including line breaks
Post: RE: Detect end of line in text file including line...

You can better use regex and there you can include new line/break for message text
Malt General Coding Help 4 3,191 Dec-18-2019, 11:57 AM
    Thread: Using Python to search through a list of urls
Post: RE: Using Python to search through a list of urls

You are getting parsed values from for loop right? that you need to write to csv file in parallel For ex: with open('data.csv','w+') as f: for url in get_next_url(start_page, end_page): ...
Malt General Coding Help 4 2,876 Dec-18-2019, 11:52 AM
    Thread: Mysql and data manipulation
Post: RE: Mysql and data manipulation

So your ask is, you are having table called X which already has data. In that you additionally wants to add 100 more records, otherwise you want to move those 100 records to a new table. Is it right? ...
Malt Data Science 5 58,683 Dec-18-2019, 06:49 AM
    Thread: Mp3 To Wav
Post: RE: Mp3 To Wav

Can you try copying that payload.mp3 to the path from where you are trying to run this script, if it is not already available there
Malt General Coding Help 7 7,277 Dec-18-2019, 06:42 AM
    Thread: Mp3 To Wav
Post: RE: Mp3 To Wav

Is the file path mentioned correctly? From the error, can suspect that script is trying to locate the file where it couldn't find it
Malt General Coding Help 7 7,277 Dec-17-2019, 09:10 AM
    Thread: Mysql and data manipulation
Post: RE: Mysql and data manipulation

Your table value explanation is not clear to me. Please explain it better Per my understanding, your table named x is having few columns and rows and where the 100 range number value is mapped. Is i...
Malt Data Science 5 58,683 Dec-17-2019, 07:34 AM
    Thread: can i raise an exception in a try clause?
Post: RE: can i raise an exception in a try clause?

If my in-take is correct then your ask is try: <condition> raise <exception> except <exception>: <do whatever you want>If this is the case then we can add it even for...
Malt General Coding Help 14 5,744 Dec-17-2019, 07:29 AM
    Thread: How can I Open and close .py file from python scripts
Post: RE: How can I Open and close .py file from python ...

(Dec-13-2019, 01:11 AM)SayHiii Wrote: so if I use popen.kill() It can close the specific python file name right? I mean It will close only test1.py,test2.py and test3.py Right? I don't understand cl...
Malt General Coding Help 9 5,760 Dec-17-2019, 06:10 AM
    Thread: How can I Open and close .py file from python scripts
Post: RE: How can I Open and close .py file from python ...

But to close Popen process, why you using taskkill option?. You can use Popen.kill()
Malt General Coding Help 9 5,760 Dec-12-2019, 11:59 AM
    Thread: Removing items from list
Post: RE: Removing items from list

you can try like, for values in passwords: if websitetodelete in values: passwords.remove(values)This would remove [website,password] list from the passwords list
Malt Homework 8 4,439 Dec-12-2019, 08:37 AM
    Thread: Chat bot
Post: RE: Chat bot

@akanowhere, you have to print the global exceptions that you are catching to see the actual error. So, please change line # 32,33 as except Exception as e: print(e) Line #43, 44 except Excep...
Malt General Coding Help 16 5,888 Dec-12-2019, 06:19 AM
    Thread: I need to get only string datatype and report in excel file.
Post: RE: I need to get only string datatype and report ...

So, you want to log the following things to a csv file, s='3', SetRTEConfig,Done,,,LogTestertName,Passed,,<S t='n' c='GT' s='7',{PowerUpBed}VerifyBedCurrentDraw,Passed,Amps,RMS,,<S t='s' c='Igno...
Malt General Coding Help 3 2,369 Dec-12-2019, 06:03 AM
    Thread: How can I Open and close .py file from python scripts
Post: RE: How can I Open and close .py file from python ...

If you are task killing Python process itself, it is expected to close all the Python thread. How you are opening all the python files? Using subprocess?
Malt General Coding Help 9 5,760 Dec-12-2019, 05:55 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020