Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Sending an email with attachment without using SMTP?
Post: RE: Sending an email with attachment without using...

(May-03-2020, 07:35 PM)ndc85430 Wrote: Perhaps you need to consider some mail sending service, which you may have to pay for if the amount you want to send is quite high. Gmail has an HTTP API, but ...
PythonNPC General Coding Help 5 898 May-05-2020, 07:58 AM
    Thread: Prevent a PDF from being edited using Python?
Post: Prevent a PDF from being edited using Python?

Hello, My question is simple, I am using ReportLab to generate PDFs. My question is that can I encrypt the PDFs in such a way that they can be prevented from editing using Python. Because my applic...
PythonNPC General Coding Help 1 517 May-05-2020, 07:43 AM
    Thread: Sending an email with attachment without using SMTP?
Post: RE: Sending an email with attachment without using...

Bump?
PythonNPC General Coding Help 5 898 May-03-2020, 09:01 AM
    Thread: Sending an email with attachment without using SMTP?
Post: Sending an email with attachment without using SMT...

Hello, I am making an application that generates PDF reports. But my application is on the Raspberry Pi, so the clients need an option that will allow them to send these reports via emails. I can us...
PythonNPC General Coding Help 5 898 Apr-30-2020, 12:50 PM
    Thread: Delete all contents of a file from the fifth line?
Post: Delete all contents of a file from the fifth line?

Hello, I want to delete all the contents of the file from under the fifth line. Is this doable? I don't want to just print the file on the console, I actually want the contents of the file to be del...
PythonNPC General Coding Help 1 565 Apr-18-2020, 08:18 AM
    Thread: Grabbing comma separed values from SQLite and putting them in a list
Post: RE: Grabbing comma separed values from SQLite and ...

(Apr-10-2020, 07:52 AM)buran Wrote: First of all - I don't have information about the whole picture, but even based on the information you have provided so far, I would go for separate table. It's t...
PythonNPC General Coding Help 8 967 Apr-10-2020, 09:29 AM
    Thread: Grabbing comma separed values from SQLite and putting them in a list
Post: RE: Grabbing comma separed values from SQLite and ...

(Apr-10-2020, 06:37 AM)buran Wrote: (Apr-10-2020, 06:28 AM)PythonNPC Wrote: I thought about fixing the DB, but there's can be variable number of floats.In a relational database, you would have sep...
PythonNPC General Coding Help 8 967 Apr-10-2020, 07:39 AM
    Thread: Grabbing comma separed values from SQLite and putting them in a list
Post: RE: Grabbing comma separed values from SQLite and ...

(Apr-08-2020, 02:16 PM)buran Wrote: I understand one cell as single value in table/column/row split the string at commas and cast elements to float/Decimal And why don't fix the DB and have separat...
PythonNPC General Coding Help 8 967 Apr-10-2020, 06:28 AM
    Thread: Grabbing comma separed values from SQLite and putting them in a list
Post: Grabbing comma separed values from SQLite and putt...

Hello, I am really confused about this. Let's say I have a database and one cell contains the following: Quote:334.0,1698.5,26.17,2323.0 I want to convert it into a list like [334.0, 1698.5, 26....
PythonNPC General Coding Help 8 967 Apr-08-2020, 02:04 PM
    Thread: Displaying Data from a database and run a function when clicked?
Post: Displaying Data from a database and run a function...

Hello, I am writing a simple GUI in Tkinter. I want to connect to my database and show the data onto my GUI. There might be more data so a scroll bar needs to appear. And when one of the rows of my...
PythonNPC GUI 1 534 Mar-10-2020, 01:30 PM
    Thread: Interpreter and running a .py file give different outputs
Post: RE: Interpreter and running a .py file give differ...

(Jul-21-2019, 07:25 AM)Gribouillis Wrote: Quote:What are the differences when running on the interpreter and when running a .py file. I already answered a similar question. See here to see if it exp...
PythonNPC General Coding Help 5 925 Jul-21-2019, 01:07 PM
    Thread: Interpreter and running a .py file give different outputs
Post: RE: Interpreter and running a .py file give differ...

Bump.
PythonNPC General Coding Help 5 925 Jul-21-2019, 07:12 AM
    Thread: Interpreter and running a .py file give different outputs
Post: RE: Interpreter and running a .py file give differ...

(Jul-14-2019, 10:14 AM)Larz60+ Wrote: Memory locations are not ever guaranteed to be in the same location. It' assigned at time or operation. Yes, I am aware of that. But every time I run the .py f...
PythonNPC General Coding Help 5 925 Jul-14-2019, 03:08 PM
    Thread: Interpreter and running a .py file give different outputs
Post: Interpreter and running a .py file give different ...

I have written the following code which gives different output when saved as a .py file and run and on the Python interpreter. a=100000 b=a c=100000 print (id(a),id(b),id(c))Output when saving as .py...
PythonNPC General Coding Help 5 925 Jul-14-2019, 05:49 AM

User Panel Messages

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