Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: UnicodeEncodeError - Dealing with Japanese Characters
Post: RE: UnicodeEncodeError - Dealing with Japanese Cha...

Perfect - working now! Very Very much appreciated
fioranosnake General Coding Help 2 2,355 Jul-07-2022, 08:43 PM
    Thread: UnicodeEncodeError - Dealing with Japanese Characters
Post: UnicodeEncodeError - Dealing with Japanese Charact...

Hi All, Ive got a small Python app that sends a bunch of codes to a checking API and returns the results. Im getting errors when the the app tries to right non-english characters to a "results.csv" ...
fioranosnake General Coding Help 2 2,355 Jul-07-2022, 04:30 PM
    Thread: Server Folder Error : WinError5 Access Denied
Post: Server Folder Error : WinError5 Access Denied

Hi, One of our users has created a small Pycharm app on Server A (win 2012) to create new folders on a separate server Server B (win 2012) but when it is run it produces a WinError5 : Access Denied ...
fioranosnake General Coding Help 1 1,093 Jun-21-2022, 01:36 PM
    Thread: Code to check folder and sub folders for new file and alert
Post: Code to check folder and sub folders for new file ...

Hi Experts! Can anyone advise if there is any way to scan a folder and sub folders for example, every hour, and send an email via SMTP with the filename and location? Many thanks, Fiorano
fioranosnake General Coding Help 2 1,878 Jan-06-2022, 09:24 AM
    Thread: Export AWS Cognito Users
Post: Export AWS Cognito Users

HI, Ive found the following solution : https://medium.com/@serkhazov/export-use...57a128a9fe Im new to Python coding and wondered if anyone has done something similar? I need to automate this to ...
fioranosnake General Coding Help 0 1,205 Jun-07-2021, 02:50 PM
    Thread: Notify when a new file lands in a directory
Post: Notify when a new file lands in a directory

Hi, We have an SFTP server and would like to be able to receive an email/SMS when a new file lands in a directory structure. Is there a python solution that can cater for this please? Many thanks, ...
fioranosnake General Coding Help 1 1,869 Jul-16-2020, 11:12 AM
    Thread: Getting an .exe to run from Task Scheduler
Post: Getting an .exe to run from Task Scheduler

Hi, I have created an exe using pyinstaller. The exe runs just fine if I run it manually. However, If I try and schedule it using a basic task in Task Scheduler then it doesn't run at all. any thou...
fioranosnake General Coding Help 2 2,975 Dec-06-2019, 12:07 PM
    Thread: Strange Characters in JSON returned string
Post: RE: Strange Characters in JSON returned string

(Dec-02-2019, 03:56 PM)DeaD_EyE Wrote: You read a file, which has a UTF8 encoding with Byte Order Mark: EF BB BF Use as encoding utf-8-sig when you read the file. Then the BOM is stripped away. Th...
fioranosnake General Coding Help 4 5,121 Dec-02-2019, 07:25 PM
    Thread: Strange Characters in JSON returned string
Post: RE: Strange Characters in JSON returned string

It seems as though its due to the encoding of my source txt file. By default it is output from my source app as a UTF-8 file. If I open and save this as an ANSI text file the process works. Is ther...
fioranosnake General Coding Help 4 5,121 Dec-02-2019, 02:10 PM
    Thread: Strange Characters in JSON returned string
Post: Strange Characters in JSON returned string

Hi, I'm getting some strange characters at the beginning of an string that I am setting up for a request payload. In this example I am trying to read a text file containing one data item and then en...
fioranosnake General Coding Help 4 5,121 Nov-22-2019, 01:12 PM
    Thread: [split] API in Python and Postman
Post: RE: [split] API in Python and Postman

Hi again, The app is working great.. but.. due to the number of items being posted its beginning to crash the service. The code currently looks like import requests import json import os import cs...
fioranosnake General Coding Help 26 7,892 Nov-20-2019, 07:30 PM
    Thread: Developed App in VS2019 - Help with pyinstaller
Post: Developed App in VS2019 - Help with pyinstaller

HI, I have developed a simple app in vs2019. if I 'run' it - it works as expected. There is a single .py file in the solution. If I try and create an executable using pyinstaller the and try and ru...
fioranosnake General Coding Help 0 1,573 Nov-11-2019, 09:12 PM
    Thread: Load and format a CSV file
Post: RE: Load and format a CSV file

(Oct-29-2019, 10:09 PM)snippsat Wrote: (Oct-29-2019, 09:29 PM)fioranosnake Wrote: Hi, I there a straight forward way to write the pprint output to a text file?with open('numb.csv') as f,open('out....
fioranosnake General Coding Help 11 4,416 Oct-30-2019, 10:45 AM
    Thread: Load and format a CSV file
Post: RE: Load and format a CSV file

Hi, I there a straight forward way to write the pprint output to a text file? Thanks
fioranosnake General Coding Help 11 4,416 Oct-29-2019, 09:29 PM
    Thread: Load and format a CSV file
Post: RE: Load and format a CSV file

Hi, If I open my txt file in notepad it looks as follows : 1231241231 1235135135 5457345345 4577865568 8654563848 and so on. If I format the text file to look like : 1231241231,1235135135,545734...
fioranosnake General Coding Help 11 4,416 Oct-29-2019, 03:48 PM
    Thread: Load and format a CSV file
Post: RE: Load and format a CSV file

(Oct-28-2019, 07:23 PM)Gribouillis Wrote: There is also >>> dict(enumerate(data, 1)) Hi, Thanks for this response. This only appears to format the first row (headings)... can it skip this ...
fioranosnake General Coding Help 11 4,416 Oct-29-2019, 09:53 AM
    Thread: Load and format a CSV file
Post: Load and format a CSV file

HI, I have a csv file with a single 'column' Code ABC DEF GHI JKL MNO Is it possible to read and format this into a single string placing an ID before each row eg: {1:ABC,2:DEF,3:GHI,4:JKL,5:MNO}...
fioranosnake General Coding Help 11 4,416 Oct-28-2019, 05:35 PM
    Thread: Loop through folder of Excel Files and extract single column
Post: RE: Loop through folder of Excel Files and extract...

Thanks a great help
fioranosnake General Coding Help 2 4,479 Oct-28-2019, 05:19 PM
    Thread: Loop through folder of Excel Files and extract single column
Post: Loop through folder of Excel Files and extract sin...

Hi, I have a folder contain multiple folders. Each of these subfolders contains an excel file. Is it possible to loop through each subfolder and create a single CSV from the data from a particular...
fioranosnake General Coding Help 2 4,479 Oct-28-2019, 12:18 PM
    Thread: [split] API in Python and Postman
Post: RE: [split] API in Python and Postman

great stuff once again!
fioranosnake General Coding Help 26 7,892 Oct-25-2019, 04:59 PM

User Panel Messages

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