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,977
» Latest member: hoki1881
» Forum threads: 38,732
» Forum posts: 175,563

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Mojeek, Google, AOL

Latest Threads
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Today, 07:43 AM
» Replies: 2
» Views: 261
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 894
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 942
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 632
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,970
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,392
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,969
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,404
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,308
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,640

 
  Two Linked Kivy Windows?
Posted by: Exsul1 - Mar-04-2020, 07:32 PM - Forum: GUI - No Replies

Would it be possible to have Kivy launch two windows in Windows 10 that are linked to each other in some way? I have in mind to make a game that woul..... More

Print this item

  error installing requests_html
Posted by: davidm - Mar-04-2020, 05:30 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi, Trying to run: "pip install requests_html" and getting this error
Executed ommand: pip install libxml2-python3
Error occurred: Non-zero exit cod..... More

Print this item

  Simply Calc v2
Posted by: tomcoogs - Mar-04-2020, 04:01 PM - Forum: General Coding Help - Replies (2)

Hi Everyone!

I am new to this but I have seen calculators demo but I am trying to make an easier one to cheese for any symbol.
I am trying not to ..... More

Print this item

  Need to click buttons
Posted by: bogdan1oo - Mar-04-2020, 03:00 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi... I'm a newbie in python and selenium and I want to ask about something.
I have random buttons with numbers from 1.01 to 3.56, and I need a loop ..... More

Print this item

  grep value files
Posted by: enigma619 - Mar-04-2020, 02:21 PM - Forum: General Coding Help - No Replies

Hi

Quick question: for you what is the best way in a python script to grep a word / value in all directory files (reccursively)?

I have seen many me..... More

Print this item

  How do I use pygame.transform.rotate()?
Posted by: noodlespinbot - Mar-04-2020, 01:48 PM - Forum: Game Development - Replies (1)

Hello! I used pygame.transform.rotate() in my code, but it didn't work.
Help!:
[python]
import pygame

pygame.init()

spotlight = pygame.displa..... More

Print this item

  Useless Newbee
Posted by: craigpusey - Mar-04-2020, 01:26 PM - Forum: General Coding Help - Replies (2)

Hi I've just started trying to teach myself Python using one of the "for Dummies" books, I'me using VS Code through Anaconda running Python 3.7. I've ..... More

Print this item

  Mathematical Operators in String
Posted by: AgileAVS - Mar-04-2020, 12:41 PM - Forum: General Coding Help - Replies (1)

Hey this is a very simple question, how do I use mathematical numbers in text such as 1,000.00 and 9,000.00.
For example:
[python]x=float(1,000.00)..... More

Print this item

  How to copy data to clipboard
Posted by: OAP - Mar-04-2020, 12:09 PM - Forum: General Coding Help - Replies (10)

I am trying to copy data from my Python program to the clipboard so that I can paste it into a spreadsheet for graphing and display.
I tried using p..... More

Print this item

  Matplotlib bar chart
Posted by: ollarch - Mar-04-2020, 10:45 AM - Forum: Data Science - No Replies

Hi,

I have a problem trying to display a bar chart.
Using OpenCV "reduce" method I obtain an array (like an histogram). This method computes the v..... More

Print this item

  Gradient background
Posted by: swisha - Mar-04-2020, 03:07 AM - Forum: General Coding Help - No Replies

What code do I use to add a gradient background to a radar chart using matplotlib?


Here is a radar chart example where I would like a gradient ba..... More

Print this item

  Why there is a star inside randn?
Posted by: new_to_python - Mar-04-2020, 01:00 AM - Forum: General Coding Help - Replies (4)

Hi, I have question about generating a linear model from random data. I suppose that by default, the value of size in the dnorm function is one. When ..... More

Print this item

  single-instance class
Posted by: Skaperen - Mar-04-2020, 12:09 AM - Forum: News and Discussions - Replies (3)

none of the argument/options parsers i have seen fit my needs. it appears i need to create my own. this is a case where i need only one instance. i..... More

Print this item

  modifying the origin of an iterator
Posted by: Skaperen - Mar-03-2020, 11:15 PM - Forum: News and Discussions - Replies (4)

suppose i call iter() to create an iterator from a large list. if i subsequently modify that list, will that impact that iterator or is an iterator f..... More

Print this item

  How to hide a FlaskForm IntegerField while retaining its value.
Posted by: danfoster - Mar-03-2020, 10:56 PM - Forum: Web Scraping & Web Development - No Replies

Hi. I have a very small, simple CRUD Web-app that works in every respect but one. Using Flask\SQLAlchemy to connect to a SQLite database. The problem ..... More

Print this item

  Alternative of this mini code without Enumerate and join function.
Posted by: Ace4Benji - Mar-03-2020, 09:57 PM - Forum: Homework - Replies (2)

[python]def display_data():
print("There are", len(Comps), "pupils in the system so far.")

for index in enumerate(Comps):
lst = A..... More

Print this item

  Python html herf to json dump help
Posted by: paulfearn100 - Mar-03-2020, 09:16 PM - Forum: General Coding Help - No Replies

please can you advise or help me on my code, the print out to the screen and csv works, but i would like a json outputfile
that can list all the /07-..... More

Print this item

  Trouble to sum up the values of two functions
Posted by: Jionni - Mar-03-2020, 08:03 PM - Forum: GUI - Replies (1)

With the help of the function sumAbsorptionArea, in Line 301, I want to sum up the two functions: getBottomChoice and getWallChoice. And after that, I..... More

Print this item

  Easy task
Posted by: KumGamer - Mar-03-2020, 06:55 PM - Forum: GUI - Replies (1)

So I am really new to python,i program on my native language wich is Croatian and have a little bit of trouble,i was given a task to make sort of like..... More

Print this item

  my code not working
Posted by: pycoder10 - Mar-03-2020, 06:32 PM - Forum: General Coding Help - Replies (1)

I was messing around in python and I remembered something which my Maths teacher taught me and I turned it into code. So here it is:

[python]TriSi..... More

Print this item

  Library resources and ML procedure
Posted by: nsadams87xx - Mar-03-2020, 03:56 PM - Forum: Data Science - Replies (3)

Hey everyone,

Getting into Tensorflow with my organization and I wanted to know if anyone has a good resource for an overview of all the methods in..... More

Print this item

  How to obtain values under All when the margins of pivot_table is set to True?
Posted by: new_to_python - Mar-03-2020, 02:54 PM - Forum: Data Science - No Replies

Hi, anybody knows how the values under All (both row and column) were calculated. I heard that by setting margins equals to True, the values under All..... More

Print this item

  Look for match in two files and print out in the first file
Posted by: Batistuta - Mar-03-2020, 02:27 PM - Forum: General Coding Help - No Replies

Hi,

I have two files and if Original.csv match in the 3 column it should then add the text Hello in the first file.
If a value in Original.csv doe..... More

Print this item

  Please help with this simple tic tac toe script
Posted by: ErtYwek - Mar-03-2020, 02:21 PM - Forum: Homework - Replies (2)

Please explain why variable"r" doesnt change and how to get tic tac toe game then ...
[python]r = "g1" #zmienna pomocnicza do zarządzania kolejnymi r..... More

Print this item

  How to avoid open and save a url every time I run code
Posted by: davidm - Mar-03-2020, 02:20 PM - Forum: General Coding Help - Replies (4)

Hi I'm new to Python, BeautifulSoup and PyCharm, like to know how to write code so I don't have run this every time I run a test
[python]
import r..... More

Print this item

  reading shared outlook emails
Posted by: zarize - Mar-03-2020, 01:47 PM - Forum: General Coding Help - No Replies

Hi guys,

I have got connected to shared mailbox by 'send new email' -> 'send from' -> 'other email adress'

Thanks to this i am ..... More

Print this item

  dataframe column mean skip na
Posted by: SriRajesh - Mar-03-2020, 01:26 PM - Forum: Data Science - No Replies

Hi,
I have below dataframe:
df:

  c1 c2 c3
A 1  0  0
B    na 1 
C 1  1  1
I use below code:
[python]df.mean(axis = 1, skipna ..... More

Print this item

  Help with applying this instrument monitoring code to multiple inputs.
Posted by: Kid_Meier - Mar-03-2020, 01:22 PM - Forum: General Coding Help - Replies (1)

Hello, world.

I have some working code (below) that communicates with a pressure gauge, takes the reading, saves it to a log file, and displays a l..... More

Print this item

  Dijkstra in PuLP optimisation Problem
Posted by: tarrymarufu - Mar-03-2020, 12:34 PM - Forum: Data Science - Replies (2)

I am learning how to use PuLP for linear optimisation and I am interested in plugging a constrained pathfinding problem (Dijkstra) into my use of PuLP..... More

Print this item

  PIP errors
Posted by: Davy_Jones_XIV - Mar-03-2020, 10:43 AM - Forum: Web Scraping & Web Development - Replies (1)

Hey Peeps,

Is the easiest to fix a PIP problem to uninstall and reinstall and make sure that the PATH box is selected?

I am constantly running i..... More

Print this item

  python-crontab - How to use @reboot
Posted by: micksulley - Mar-03-2020, 10:15 AM - Forum: General Coding Help - Replies (2)

I am trying to use python-crontab to run a program at reboot. From the webpage https://pypi.org/project/python-crontab/ there is a special case @reb..... More

Print this item

  Python editors
Posted by: srm - Mar-03-2020, 10:09 AM - Forum: News and Discussions - Replies (2)

hi there...
I would like to know which one is the best editor for python in terms of intellisense,debugging user interface etc
I am using IDLE but i..... More

Print this item

  pickle image
Posted by: berckut72 - Mar-03-2020, 09:59 AM - Forum: GUI - Replies (1)

Hello!
Please tell me how you can save a dictionary with a picture of pil with pickle.
Without pickle, everything works well, and when I connect pic..... More

Print this item

  Extracting table and table name from PDF
Posted by: vinibhat - Mar-03-2020, 08:44 AM - Forum: General Coding Help - Replies (4)

Hi All,

I am new to Python development. I am working on a project where we need to extract tables and their table names present in the PDF file.
I..... More

Print this item

  newbie: loop, modify dataframe cells
Posted by: expat_th - Mar-03-2020, 05:45 AM - Forum: Data Science - Replies (5)

I really tried to do this myself for hours, and cannot get the hang of it. I simply want to loop through a dataframe, check the value in each cell and..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Integer Factorization Too... Today, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577381
  Tutorial Requ... 500784
  Web Scraping ... 441033
  Newbie with P... 385081
  New Users Int... 369616
Most reputation
buran 581
snippsat 508
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
hoki1881 Today
stephaniehendrix Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

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