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,538
» Latest member: mayukun
» Forum threads: 38,663
» Forum posts: 175,201

Full Statistics

Online Users
There are currently 51 online users.
» 2 Member(s) | 44 Guest(s)
Bing, Yandex, Baidu, Mojeek, Google, snippsat, mayukun

Latest Threads
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 30
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
3 hours ago
» Replies: 8
» Views: 55,187
A penny doubled every day...
Forum: Homework
Last Post: walterliz
3 hours ago
» Replies: 6
» Views: 678
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
3 hours ago
» Replies: 3
» Views: 1,188
While loop is terminating...
Forum: Homework
Last Post: walterliz
3 hours ago
» Replies: 3
» Views: 420
Custom Sorting List of Di...
Forum: Homework
Last Post: walterliz
3 hours ago
» Replies: 3
» Views: 187
Unable to define function...
Forum: Homework
Last Post: walterliz
3 hours ago
» Replies: 2
» Views: 51
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 671
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
Yesterday, 09:36 AM
» Replies: 3
» Views: 162
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 01:32 AM
» Replies: 1
» Views: 114

 
  Read the Processor . . .
Posted by: JohnnyCoffee - Feb-26-2023, 07:14 PM - Forum: General Coding Help - Replies (1)

Hello
I'm using the platform module with the function ( machine ), which returns the architecture of the processor, but I need to know how many ( Cor..... More

Print this item

  My first project as a beginner
Posted by: lil_e - Feb-26-2023, 04:58 PM - Forum: General Coding Help - Replies (4)

Hi.

I'm trying to learn Python by reading the book called "Automate the boring stuff", and have written my first project which I have copied from ..... More

Print this item

  Polyhedral Dice Problem
Posted by: DaCodingSpider - Feb-25-2023, 09:45 PM - Forum: Homework - Replies (4)

I get these PowerPoints based around certain python coding subjects, it gives us a basic tutorial and then gives us prompts to solve. I tried to make ..... More

Print this item

  Can I get some clarification on importing functions from external files.
Posted by: wh33t - Feb-25-2023, 06:40 PM - Forum: General Coding Help - Replies (3)

I'm familiar with programming syntax and constructs but very new to Python. I am trying to figure out how to modularize some functions into separate f..... More

Print this item

  Impementing a client that connects to the server
Posted by: input - Feb-25-2023, 09:05 AM - Forum: Code sharing - No Replies

I have a cllient and webserver running but when connecting I receive a 404:not found error.
[python]
import socketio
sio = socketio.Client()
@sio...... More

Print this item

  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: 255)
.csv   Donnees_prod_table.csv (Size: 172 bytes / Downloads: 204)
.py   OGP_ExoProdVerres.py (Size: 3.68 KB / Downloads: 239)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip3 install certifi fail... 2 hours ago rb9594 Pedroski55 General Codin...
  My first python game : Ti... 3 hours ago ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 3 hours ago esoyboy walterliz Homework
  Exercise on reading a chu... 3 hours ago Nit_Picker walterliz Homework
  While loop is terminating... 3 hours ago jumpsworthnow walterliz Homework
  Custom Sorting List of Di... 3 hours ago aryasinner walterliz Homework
  Unable to define function... 3 hours ago gmonroe walterliz Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
  processing nested json da... Yesterday, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt 07-13, 11:23 vmars316 Pedroski55 General Codin...
Most views
  The best Prog... 572689
  Tutorial Requ... 485721
  Web Scraping ... 437145
  Newbie with P... 380094
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12073
buran 8174
snippsat 7352
deanhystad 6857
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
mayukun Today
richardkrt Today
SAHIL54554 Today
walterliz Today
rb9594 Today

User Panel Messages

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