Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,471
» Latest member: iloveimg3
» Forum threads: 38,578
» Forum posts: 174,808

Full Statistics

Online Users
There are currently 757 online users.
» 1 Member(s) | 753 Guest(s)
Bing, Google, Yandex, snippsat

Latest Threads
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 217
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 164
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,346
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 123
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 423
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,231
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 379
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 456
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
May-14-2025, 01:12 AM
» Replies: 2
» Views: 1,006
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 285

 
  Multiprocessing
Posted by: DPaul - Feb-25-2023, 07:12 AM - Forum: Bar - Replies (3)

Hi,
Thanks to info gathered on this site, we have been able to speed up OCR activities considerably.
We have processed over 320.000 documents in a mon..... More

Print this item

  Video recording with Raspberry Pi - What´s wrong with my python code?
Posted by: Montezuma1502 - Feb-24-2023, 03:39 PM - Forum: General Coding Help - Replies (3)

Dear everyone,

for an ecological study I recorded insects in front of a nesting aid with a Raspberry Pi. I wrote a simple python code to do this w..... More

Print this item

  The INSERT permission was denied on the object
Posted by: Steven5055 - Feb-24-2023, 12:42 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to use Python to insert data into a SQL Server. pyodbc
I'm basically using python to export data from Server1 & Import into Server 2...... More

Print this item

Question Linear Programming Problem
Posted by: Axel_LF - Feb-23-2023, 10:59 PM - Forum: General Coding Help - No Replies

Hello everyone,

I am currently learning how to use Python to solve linear programming problems.

I wrote an algorithm to calculate the quantities pro..... More


Attached Files

.csv   Demande_table.csv (Size: 375 bytes / Downloads: 225)
.csv   Donnees_prod_table.csv (Size: 172 bytes / Downloads: 195)
.py   OGP_ExoProdVerres.py (Size: 3.68 KB / Downloads: 230)
Print this item

  Problem with virtual environment
Posted by: standenman - Feb-23-2023, 06:35 PM - Forum: General Coding Help - Replies (2)

I think I have failed to set up my virtual environment correctly. I am now unable to access any pip installed packages. I have the following direc..... More

Print this item

  Array dimension don't match
Posted by: asja2010 - Feb-23-2023, 04:21 PM - Forum: General Coding Help - No Replies

Hey, I have this set of data:

[python]Date
2022-01-05 -0.012684 -0.011469 -0.013368 -0.004848
2022-01-0..... More

Print this item

  Impementing a client that connects to the server
Posted by: input - Feb-23-2023, 11:59 AM - Forum: News and Discussions - No Replies

I don't know if this is the good place to ask my question but I have some problems installing the Python module socketio in Windows 10.

I have this..... More

Print this item

  search file by regex
Posted by: SamLiu - Feb-23-2023, 11:18 AM - Forum: General Coding Help - Replies (1)

Hi all,

Search specific string name file in folder. How to config regular match.

folder include files as below:
Check_noise#3_P020_20211220_094..... More

Print this item

  List all possibilities of a nested-list by flattened lists
Posted by: sparkt - Feb-23-2023, 06:46 AM - Forum: General Coding Help - Replies (1)

S = [['he', 'she'], 'has', ['1', '2'], 'watch']

A list inside the list S indicates a possibility of a statement.
So there are four possibilities ..... More

Print this item

  Queuing Theory in Python
Posted by: NOLA_Saints - Feb-22-2023, 11:42 PM - Forum: General Coding Help - No Replies

I work for a contact center that has used Erlang for our capacity planning for some time now. However, we have found that Erlang can be incredibly unr..... More

Print this item

  Library scope
Posted by: mike_zah - Feb-22-2023, 11:09 PM - Forum: General Coding Help - Replies (2)

I've written a program that uses the SERIAL library. The program seems to work just fine. I have a question about the scope of the methods, such as se..... More

Print this item

  How to create a plot with line graphs and vertical bars
Posted by: devansing - Feb-22-2023, 08:14 PM - Forum: Data Science - Replies (6)

Hi,

I am trying to figure out how to create a graph similar to the following:

[Image: LHt8r.png]

where the x axi..... More


Attached Files

.csv   sample_data.csv (Size: 1.69 KB / Downloads: 5)
.py   recession_graph.py (Size: 599 bytes / Downloads: 3)
Print this item

  I cannot able to see output of this code
Posted by: ted - Feb-22-2023, 08:06 PM - Forum: General Coding Help - Replies (1)

[python]import sqlite3

conn = sqlite3.connect('emaildb.sqlite')
cur = conn.cursor()
cur.execute('DROP TABLE IF EXISTS Counts')
cur.execute('CREA..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cannot find py credentials file
Posted by: standenman - Feb-22-2023, 06:58 PM - Forum: General Coding Help - Replies (5)

I have run this code successfully and now it has stopped. I simply do not understand what is going on.

[python]from adobe.pdfservices.operation.au..... More

Print this item

  tuple indices must be integers or slices, not str
Posted by: cybertooth - Feb-22-2023, 06:18 PM - Forum: General Coding Help - Replies (16)

I am trying to make a Tkinter GUI with PyMuPDF. however I am geting the error[error]Traceback (most recent call last):
File "C:\Users\INDIAN\Deskt..... More

Print this item

  Cannot get started
Posted by: standenman - Feb-22-2023, 03:05 PM - Forum: General Coding Help - Replies (4)

I cannot get started with my python project. I have installed python311 and I have included the path in my environmental variables. In command promp..... More

Print this item

  connecting to FTPS server help
Posted by: tfboy - Feb-22-2023, 10:02 AM - Forum: General Coding Help - Replies (2)

First post here so I hope I've put everything I need. Thanks in advance!

I'm new to Python and trying to get my head around some basics.
I have a ..... More

Print this item

  string index
Posted by: DPaul - Feb-22-2023, 08:00 AM - Forum: Bar - No Replies

Hi,
Tesseract has a few methods to OCR prayer cards, and for a particular type of document,
I need to use a combination of two methods. It presents a ..... More

Print this item

  I am confused with the key and value thing
Posted by: james1019 - Feb-22-2023, 04:46 AM - Forum: General Coding Help - Replies (3)

[python]responses = {}
polling_active = True

while polling_active:
name = input("\nWhat is your name? ")
response = input("Which mountai..... More

Print this item

  Python venv and PIP version issue
Posted by: JanOlvegg - Feb-21-2023, 08:06 PM - Forum: General Coding Help - Replies (2)

My work computer runs windows and I do not have admin rights. The computer however does allow install of Python using the company's package manager. T..... More

Print this item

  Need help with creating dynamic columns with for loops for stock prices
Posted by: PaDat - Feb-21-2023, 07:27 PM - Forum: General Coding Help - Replies (2)

Dear All,

I have a bunch of stock prices (about 100) and I want to dynamically compute their moving average, daily returns etc and have them in 1) ..... More

Print this item

  Node Flow Generation in Python
Posted by: Linenloid - Feb-21-2023, 07:09 PM - Forum: General Coding Help - No Replies

Hey all,

I was working on a project (code included). I wanted to simulate the flow of several nodes. Each node can go to several other nodes. This ..... More

Print this item

  Fill PDF and merge with another PDF
Posted by: CoPython - Feb-21-2023, 11:51 AM - Forum: General Coding Help - No Replies

Good day,

I'm still new and I also realize that some codes could really be easier. I'm still trying out the python part and learning more about it...... More

Print this item

  Looking for an IDE
Posted by: StevenT - Feb-21-2023, 10:53 AM - Forum: News and Discussions - Replies (1)

I will be doing some electrical simulations and plotting the results. I want a GUI for input and output.

I am considering Spyder.

Print this item

  Why does graph look different in Codecademy and Jupyter Notebook
Posted by: abc123456 - Feb-21-2023, 09:58 AM - Forum: Data Science - Replies (1)

It's part of Codecademy's premium content so I can't post the entire code but in their software I produce a graph that looks like this:

[img]https:..... More

Print this item

  need help rounding
Posted by: joseph202020 - Feb-21-2023, 06:23 AM - Forum: General Coding Help - Replies (7)

How do I round the float in last line to 2 places = x.xx instead of x.xxxxxxxxxx
it won't do it most of the time but it will with certain entered c..... More

Print this item

  How to horizontally align and display images side-by-side in an email using Python?
Posted by: shantanu97 - Feb-21-2023, 05:50 AM - Forum: General Coding Help - No Replies

How can I horizontally align and display two images side-by-side using Python and HTML in an email? I've tried adding the images using HTML code, but ..... More

Print this item

  post disappeared then re-appeared
Posted by: Skaperen - Feb-21-2023, 12:30 AM - Forum: Board - No Replies

i tried to post a new thread and nothing showed up. so i typed it all again and both showed up. since i can't delete my own posts i just edited it t..... More

Print this item

  creating an unlinked invisible file, writing it, then linking it
Posted by: Skaperen - Feb-21-2023, 12:16 AM - Forum: News and Discussions - Replies (2)

in C on Linux (maybe also on POSIX) i can create a regular file on a specific filesystem that has no link and no inode (it is in memory, not on disk) ..... More

Print this item

  invisible temporary files that become linked permanent
Posted by: Skaperen - Feb-20-2023, 11:55 PM - Forum: News and Discussions - No Replies

this post did not show up after i tried to post it.

Print this item

  A question about setting up Python
Posted by: JanOlvegg - Feb-20-2023, 10:06 PM - Forum: General Coding Help - Replies (1)

Hi, I am new to Python development and have a question about setting up the python development and best practices. I currently have Python install on ..... More

Print this item

  Flask error sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint
Posted by: pythonpaul32 - Feb-20-2023, 07:34 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi all,

I have been trying to built a web app that's a book store for ecommerce website. I finally think I got the SQLAlchemy db working. Items an..... More

Print this item

  Save and Close Excel File
Posted by: avd88 - Feb-20-2023, 07:08 PM - Forum: General Coding Help - No Replies

Hello,

I'm not an expert in regards to coding but I've been coding for a bit and leverage that skillset in my day to day work.

Recently started lear..... More

Print this item

  Python3 - How to deny access to users without api key using localhost and postman
Posted by: Alan2023 - Feb-20-2023, 02:48 PM - Forum: Web Scraping & Web Development - No Replies

Hi everybody,
I am using python and Flask, and I need to deny access for not authorized users, users without an api key will not be allowed to access..... More

Print this item

  Merging multiple csv files with same X,Y,Z in each
Posted by: Auz_Pete - Feb-20-2023, 12:31 AM - Forum: General Coding Help - Replies (3)

As the name suggests, looking for help building a script to merge multiple csv files. Each file has; X, Y, Z and Value(W). I am wanting to match the x..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
Most views
  The best Prog... 564926
  Tutorial Requ... 454759
  Web Scraping ... 429894
  Newbie with P... 365627
  Thread remain... 337950
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
iloveimg3 Yesterday
ishaD Yesterday
fitobar43 Yesterday
AymanNassar 05-16
Shailesh 05-15

User Panel Messages

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