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,935
» Latest member: Baran12332
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 64 online users.
» 0 Member(s) | 54 Guest(s)
Applebot, Bing, AOL, Twitter, Google, AOL

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 343
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,807
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,385
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 716
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,181
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,061
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,288
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,282
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,405
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 965

 
  [newbie] I offer 10 hours/week for free to develop python
Posted by: xsico - Sep-20-2021, 08:12 AM - Forum: Jobs - No Replies

Hello,
i offer 10 hours/week for free to develop on Python on data science libraries (No django).
I did 2 courses on udemy and i love python. So, i'..... More

Print this item

  Too many if statements working as "tags"
Posted by: zeek - Sep-20-2021, 07:47 AM - Forum: General Coding Help - Replies (3)

My code is too long as I'm repeating the same function for every if statement
I'm doing it with BeautifulSoup since it's a web scrapping project
Bas..... More

Print this item

  Installed pip install openpyxl, Requirement already satisfied, but, still have error
Posted by: jonah88888 - Sep-20-2021, 04:25 AM - Forum: General Coding Help - Replies (3)

Hi,

I faced an error when trying to openpyxl. Thus, I install with pip install openpyxl. It was success.

Requirement already satisfied: openpyx..... More


Attached Files

Thumbnail(s)
   
Print this item

  Reddit bot thread
Posted by: Gabriel777 - Sep-20-2021, 02:57 AM - Forum: General Coding Help - No Replies

Ok so I have the following code to make a reddit bot that posts responses to any new comments, but my question is how do I have it post to any posts s..... More

Print this item

  Python requests oauth2 access token
Posted by: herobpv - Sep-20-2021, 02:39 AM - Forum: General Coding Help - Replies (6)

Hi, I am new to python programming and trying to make a RESTful api call and retrieve json payload from a GET method. I am using the below code but I ..... More

Print this item

  Generate a list
Posted by: sasitha96 - Sep-19-2021, 06:15 PM - Forum: General Coding Help - Replies (5)

How to generate a list of all the ‘.exe’ files available in ‘C:\Windows\system32’ directory and store them in a log file created in the C drive with t..... More


Attached Files

Thumbnail(s)
   
Print this item

  Help with WebSocket reading data from anoter function
Posted by: korenron - Sep-19-2021, 09:16 AM - Forum: General Coding Help - No Replies

hello ,
I'm trying to write a code of reading data from canbus and using websocket to read "Live Data"
the web server is up(I can see the "Server ..... More

Print this item

  detecting a generstor passed to a funtion
Posted by: Skaperen - Sep-19-2021, 12:20 AM - Forum: General Coding Help - Replies (9)

what is the appropriate pythonic way for a function to detect that a generator is passed to it? i can do this:
[python]
if type(arg).__name__=='gen..... More

Print this item

  updating pip
Posted by: DoctorDan - Sep-18-2021, 11:21 PM - Forum: News and Discussions - Replies (1)

Every time that I create a new venv I am warned that I should update pip.
I have several questions?
1 - Why would anyone not want to update pip to t..... More

Print this item

  {SOLVED]Help getting formula value in Excel to a csv
Posted by: Pedroski55 - Sep-18-2021, 10:55 PM - Forum: General Coding Help - Replies (1)

I have an Excel file allscoresCLASS.xlsx, where CLASS might be 20BE or similar.

Column 1 is id, column 2 is name, column 3 in studentnr.

Then I..... More

Print this item

  trying to save data automatically from this page
Posted by: thunderspeed - Sep-18-2021, 08:57 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello everyone,
I hope you are all well.

I'm trying to automatically save data from this graphical presentation in this link:

https://weather.c..... More

Print this item

  change string in MS word
Posted by: Mr_Blue - Sep-18-2021, 06:51 PM - Forum: General Coding Help - Replies (8)

hello,
i would like to change a word in a word document.

[python]from docx import Document
document = Document('/path/word_template.docx')
doc =..... More

Print this item

  'int' object is not subscriptable after API call
Posted by: ed8484 - Sep-18-2021, 01:24 PM - Forum: General Coding Help - Replies (1)

I am getting this error when I try to create a DataFrame from an API call. The API call itself is successful and returns data successfully..but not su..... More


Attached Files

Thumbnail(s)
       
Print this item

  Structuring and pivoting corrupted dataframe in pandas
Posted by: gunner1905 - Sep-18-2021, 12:22 PM - Forum: General Coding Help - Replies (2)

I have a dataframe which I read from an excel file. The thing is first 4 columns and its values look good. But after 5th column data seems kind of co..... More


Attached Files

Thumbnail(s)
       
Print this item

  Inconsistent behaviour in output - web scraping
Posted by: Steve - Sep-18-2021, 10:25 AM - Forum: General Coding Help - Replies (6)

Hi all,

I'm not an expert coding in python and have used it a few times to write things like the following example code which is meant to extract s..... More

Print this item

  How delete Qt Layout manager from another method?
Posted by: hobbyist - Sep-18-2021, 10:06 AM - Forum: GUI - Replies (4)

Hello, I use this code https://github.com/Axel-Erfurt/OrthoViewLite/blob/[url=https://python-forum.io/thread-34944.html]..... More

Print this item

  Pandas confused
Posted by: DPaul - Sep-18-2021, 07:26 AM - Forum: General Coding Help - Replies (6)

I use pandas occasionally to read excel files.
I found out that I can also use it to calculate subtotals
using group(...). Works fine. Except when i ..... More

Print this item

  Have to use Python 2.x to find "yesterday' files
Posted by: tester_V - Sep-18-2021, 02:28 AM - Forum: General Coding Help - Replies (6)

Greetings!
I'm trying to identify (and later copy) some files, the problem is the systems I must use have only Python 2.7 installed.
I managed to ge..... More

Print this item

  Run code like cell pycharm
Posted by: arsouzaesilva - Sep-17-2021, 07:00 PM - Forum: General Coding Help - Replies (3)

Hi,

Guys, a friend made some code and this code runs as a cell in Spyder. How do I run the same way on Pycharm. When I run nothing appears

[atta..... More


Attached Files

Thumbnail(s)
   
Print this item

  Simple Distance Between Points Calculator
Posted by: Spade - Sep-17-2021, 02:09 PM - Forum: Homework - Replies (1)

hi im new to coding this is only my seventh or so class for python!
today during my class we were assigned to make a simple distance between the point..... More

Print this item

  convert c code python
Posted by: satyanarayana - Sep-17-2021, 12:12 PM - Forum: General Coding Help - Replies (5)

Hi friends,

Below is my C code
[code]
void WaveFormsBuffer::FillOutputWaveFormBufferData(char *pBuffer,int nBuffsize,uint16_t nConfig)
{
..... More

Print this item

Question In need of insight regarding Python file reading mechanisms.
Posted by: EnfantNicolas - Sep-17-2021, 09:22 AM - Forum: General Coding Help - Replies (7)

I am a novice trying to do a simple thing:

read a huge (80 mb of text, around 500000 lines) database file -> make a copy of it while only changing ..... More

Print this item

  I'm trying to figure out why I always get this error while trying to calculate zonal
Posted by: AndreiDaniel22 - Sep-17-2021, 09:00 AM - Forum: General Coding Help - No Replies

I'm trying to figure out why I always get this error while trying to calculate zonal


[error]
ERROR 5: D:/cadastru2/task1B\ndvi\T35TNK_20210512T..... More

Print this item

  Srno not updating
Posted by: cybertooth - Sep-17-2021, 08:03 AM - Forum: General Coding Help - No Replies

Hi all
I have written this code where the entries are added to the database. when I run the code the srnor is updated to the next available number. I..... More

Print this item

  Form Results onto Page
Posted by: StewartLFI - Sep-17-2021, 07:46 AM - Forum: General Coding Help - Replies (3)

Looking for advice. Would like to make a series of accounts on a based system, where users can input their data on a form and this would be displayed ..... More

Print this item

  tkinter change the text of the checkbox
Posted by: zazas321 - Sep-17-2021, 05:14 AM - Forum: GUI - Replies (1)

Hello. I would like to know whether it is possible to change the text of the checkbox in the middle of the program. Please see the following code:
[c..... More

Print this item

  Help setting up Pycharm & Remote Pi
Posted by: PickyBiker - Sep-16-2021, 05:59 PM - Forum: General Coding Help - Replies (3)

First, I am new to both PyCharm and the tornado web server.
I am trying to setup a configuration to run the tornado web server with PyCharm and a rem..... More

Print this item

  NameError issue with daughter's newb code
Posted by: MrGonk - Sep-16-2021, 12:35 PM - Forum: General Coding Help - Replies (2)

My young daughter has started to learn Python and although I'm from a MF programming background, I'm not much help to her! We have tried moving the ..... More

Print this item

  Python Reminder MSTeams Chatbot
Posted by: ajaymedidi - Sep-16-2021, 07:13 AM - Forum: General Coding Help - No Replies

Hi All,

I am a beginner in python scripting.
I have given a task in my company to include a new feature to our chatops where our internal team m..... More

Print this item

  Newbie - code solution explained
Posted by: Stjude1982 - Sep-15-2021, 11:45 PM - Forum: General Coding Help - Replies (2)

Hi all,

I'm new to Python and working through a book with a project that has example solutions.
Project to create a Math/Binary game and exercise ..... More

Print this item

Star Looking for someone who can do Deep Learning AI,ML,NPL,Keras
Posted by: Calli - Sep-15-2021, 08:17 PM - Forum: Jobs - Replies (3)

If you're good at Deep Learning AI,ML,NPL and Keras please send me a message i have a simple tool which i would like to build using AI and ML.

Payi..... More

Print this item

  I want to scrap a tor site.
Posted by: Blue Dog - Sep-15-2021, 06:15 PM - Forum: Networking - Replies (4)

Hi I been working no this for over a month. I can get some data from this site with requests. I can't get any type of a reply with
BeautifulSoup. here..... More

Print this item

  Break out of nested loops
Posted by: muzikman - Sep-15-2021, 05:47 PM - Forum: General Coding Help - Replies (11)

Greetings,

I am writing a small program that will save an author to a CSV file. However, in the function

get_soup
I had to return ..... More

Print this item

  openpyxl insert list with formulas
Posted by: Irv1n - Sep-15-2021, 01:59 PM - Forum: General Coding Help - Replies (1)

Hello
I have this code:
[python]
wb = Workbook()
ws = wb.active
listf = [[1,1,1,1], [2,2,2,2], [3,3,3,3]]
calc_lst = [['=СЧЁТЕСЛИ(listf[x];"<>")..... More

Print this item

  hyperparameters do not make a difference in prediction
Posted by: jenya56 - Sep-15-2021, 12:53 PM - Forum: General Coding Help - No Replies

I am doing SVM and I always get the accuracy of 0.84 even after tuning my hyperparameters. Even if I play with scaling of the data, it does not seem t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576297
  Tutorial Requ... 497978
  Web Scraping ... 440213
  Newbie with P... 384063
  New Users Int... 366817
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+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday
marineservice Yesterday

User Panel Messages

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