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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,275
» Latest member: eastnoob
» Forum threads: 38,790
» Forum posts: 175,867

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 29 Guest(s)
Bing, Google

Latest Threads
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
1 hour ago
» Replies: 2
» Views: 69
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
8 hours ago
» Replies: 0
» Views: 17
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
10 hours ago
» Replies: 11
» Views: 5,964
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
10 hours ago
» Replies: 2
» Views: 4,278
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:34 PM
» Replies: 3
» Views: 277
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 127
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 199
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,105
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 238
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 164

 
  stats model OLS question/issue
Posted by: russoj5 - Aug-04-2020, 04:52 PM - Forum: Data Science - Replies (3)

Good Afternoon All,

I am a newbie with Python and coding and trying to model something. I am importing a CSV file and trying to use the OLS function ..... More

Print this item

  remove widget from other class
Posted by: issac_n - Aug-04-2020, 04:44 PM - Forum: GUI - Replies (2)

How to remove widget from other class?
I have code below and wanted to use the "Remove" button to remove "fig_view2"??
the button and the fig_view2 ..... More

Print this item

  Looking for a Python developer in London
Posted by: salesource - Aug-04-2020, 04:20 PM - Forum: Jobs - Replies (4)

Company: SaleSource
Role: C-level Python developer/CTO
Location: London
Tech Stack: Python, Flask, Django, AWS
Brief intro:
eCommerce SaaS start..... More

Print this item

  Moving Rows From Different Data Frames
Posted by: JoeDainton123 - Aug-04-2020, 03:54 PM - Forum: General Coding Help - Replies (1)

Hello all

I was hoping someone could help me with the following issue.

I want to append a row from one data frame to another data frame.

The ..... More

Print this item

  string problem
Posted by: Mathisdlg - Aug-04-2020, 03:32 PM - Forum: General Coding Help - Replies (6)

Hello everyone,
I'm a french programmer and I have a big problem.
I want to take only one side of this string but I don't now how to do.
[python]
..... More

Print this item

  Great Expectations Getting Started Webinar (oss data validation/profiling tool)
Posted by: keaton8630 - Aug-04-2020, 01:42 PM - Forum: News and Discussions - No Replies

Hello Everyone!

I’m the community manager over in the Great Expectations Slack (http://greatexpectations.io[url=https://python-forum.io/thread-28814.html]..... More

Print this item

  Reading txt files in ssh server.
Posted by: selverek - Aug-04-2020, 01:37 PM - Forum: General Coding Help - Replies (6)

Connected to my SSH server with paramiko. I can write files to there remotely. But can't read any txt files from there. Can i read data from txt file?

Print this item

  How to change a value in one box change another too
Posted by: GMCobraz - Aug-04-2020, 12:39 PM - Forum: GUI - Replies (3)

Dear all,

I got one question.
There are 3 rows.
First row refer to self.bat_loss, QlineEdit
Second row is self.factor, QDoublespinbox
Third row..... More

Print this item

  loc / iloc / ix used with () or []
Posted by: JoeDainton123 - Aug-04-2020, 12:27 PM - Forum: General Coding Help - No Replies

Hello all

I was wondering if anyone knew whether there was ever a case where if your using a data frame and are using either:-
1) loc
2) iloc
3)..... More

Print this item

  [split] SyntaxError when trying to execute code on Windows
Posted by: nehaya - Aug-04-2020, 10:54 AM - Forum: General Coding Help - Replies (2)

I would be happy to help me.
when I running this code :
[python]print("""
_ _
| | | |
| |__| | __ _ _ __ __ _ _ __ ___ __ _ _ __
| __ |/ _..... More

Print this item

  How to determine how many variables are referring the same id in python?
Posted by: divyansh - Aug-04-2020, 10:41 AM - Forum: General Coding Help - Replies (5)

consider the python code below
[python]
divyansh = 22
jhon = 22
# below are id's
id(divyansh)
id(jhon)
id(22)
# al..... More

Print this item

  httplib2 - how to see credentials added by add_credentials?
Posted by: MSV - Aug-04-2020, 10:15 AM - Forum: General Coding Help - Replies (2)

environment: OS xUbuntu 18.04.4; Python 3.6.9; httplib2==0.9.2

I'm using httplib2 in such Python code (for some REST POST-request testing):

[pyt..... More

Print this item

  How can I export or query all hospitals from Open Street Map?
Posted by: apollo - Aug-04-2020, 08:37 AM - Forum: Web Scraping & Web Development - Replies (4)

dear experts good day,


okay - this is not a simple python-question - but we can do this with python as well i suppose.

[b]How can I export or..... More

Print this item

  CaveWorld – text game with RPG elements and ASCII graphic
Posted by: Remek953 - Aug-04-2020, 07:37 AM - Forum: Code Review - Replies (2)

Video Link: https://www.youtube.com/watch?v=lC0-QKd3ffc

Github Link: https://github.com/Remek953

I started learning Python a few months ago an..... More

Print this item

  Iterate through google sheet
Posted by: alcz - Aug-04-2020, 06:58 AM - Forum: General Coding Help - No Replies

Hi!

I am using some salesforce script to get gsheet data and insert it into salesforce.

My problem is how to proper iterate through my cells.
..... More

Print this item

  Need your opinions on my experimental library based on RxPy
Posted by: mysticfall - Aug-04-2020, 06:49 AM - Forum: Code Review - Replies (1)

Hi, everyone! My first post here :)

I need opinions on my experimental library that I've been working, and it'd be great if I could get a few advic..... More

Print this item

  Nested loop indexing
Posted by: Morte - Aug-04-2020, 04:51 AM - Forum: General Coding Help - Replies (4)

Basically, I'm just trying to understand the logic for the nested loop inputs and outputs. The first nested loops seems to append either a # or a spac..... More

Print this item

  Fig.savefig saving wrong graph
Posted by: wxcoding - Aug-04-2020, 04:24 AM - Forum: General Coding Help - No Replies

I am attempting to graph and save temperature and humidity daily data here, which appears to be working fine. Though a extra graph pops up before the ..... More

Print this item

  Python Scrapy
Posted by: tr8585 - Aug-04-2020, 02:27 AM - Forum: Web Scraping & Web Development - Replies (2)

For some reason I am getting the output for "date" returns one character at a time instead of the full date for each row. I have been committed to lea..... More

Print this item

  operator overloading won't work
Posted by: MaartenRo - Aug-04-2020, 02:03 AM - Forum: General Coding Help - Replies (1)

Hi,

When i run this code i get

(0) + (1) = (2)
while i should get
[python]Rood Groen Blauw + Geel Paars Cyaan = Rood Groen Blauw ..... More

Print this item

  Flask formatting into HTML
Posted by: engineer_geek - Aug-04-2020, 12:40 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello. I have a python script that SSH's (Netmiko) into a Cisco switch, runs an "show interface status" command and outputs it to the screen. When r..... More

Print this item

  Trying to change font size w/o changing button size
Posted by: python63 - Aug-03-2020, 11:15 PM - Forum: GUI - Replies (3)

I hope my formatting is proper.
My code:
[python]
from tkinter import *
from tkinter import font

root = Tk()
root.geometry('500x500')
root.ti..... More

Print this item

  Visual Studio Code help
Posted by: aaronrousch - Aug-03-2020, 11:09 PM - Forum: General Coding Help - Replies (4)

Good Evening,

i am new to Python so i am taking an online course that will help me learn how to code Python and add it to my skill set

followin..... More

Print this item

  Iterating Through Data Frame Rows
Posted by: JoeDainton123 - Aug-03-2020, 09:20 PM - Forum: General Coding Help - Replies (2)

Hello all

I have a dataframe which i have imported from excel.

It has column headings and below the column headings it has all of my data in row..... More

Print this item

  Error with SpeechRecognition module
Posted by: glittergirl - Aug-03-2020, 08:59 PM - Forum: General Coding Help - Replies (3)

I am following this tutorial to transcribe audio.

First, I installed all the modules and prog..... More

Print this item

  change a text file
Posted by: Blue Dog - Aug-03-2020, 08:19 PM - Forum: General Coding Help - Replies (5)

Hello,
I have a text file that is full of emails. Their are many rows and columns of them.
I want to just have a list one email on a line. Can that ..... More

Print this item

  maintain a postgresql database using osm2pgsql
Posted by: apollo - Aug-03-2020, 05:48 PM - Forum: General Coding Help - Replies (1)

hi there good day dear Python-friends,


I am trying to maintain a postgresql database using osm2pgsql to maintain my database.

idea: I want to tra..... More

Print this item

  Files to store configuration and steps for a industrial process control application
Posted by: Danieru - Aug-03-2020, 05:22 PM - Forum: General Coding Help - Replies (1)

Hi everyone this is my first post Smile . I am a beginner in python and interested in industrial application. I have had some previous experience..... More

Print this item

  Center align
Posted by: Kristenl2784 - Aug-03-2020, 04:09 PM - Forum: General Coding Help - Replies (1)

Hello,

Is there a way to center align ws3 cells as the values from ws1 get written into the ws3?


[python]

ws3[f'A{i+2}']=ws1['A1'].valu..... More

Print this item

  Extracting Rows From Data Frame and Understanding The Code
Posted by: JoeDainton123 - Aug-03-2020, 04:08 PM - Forum: General Coding Help - No Replies

Hello all

I have a data frame which i want to extract.

I am using the following code:-

[python]
Weekly_Report.iloc[:,0] == 75G2G2T8
[/pytho..... More

Print this item

  how can we record a video file from our program output (moving object)
Posted by: Zhaleh - Aug-03-2020, 02:47 PM - Forum: General Coding Help - No Replies

Hi everybody. I've created a moving object and now I need to record it as a video to use it in another website. I looked youtube videos but I couldn't..... More

Print this item

  Help with Tkinter
Posted by: djwilson0495 - Aug-03-2020, 01:42 PM - Forum: GUI - Replies (3)

[python]
from tkinter import *

num_list = []

def add_num():
number = num_box1.get()
if number.isdigit() == True:
num_list.ap..... More

Print this item

  Error in Int object is not subscript-able. How to debug this ?
Posted by: yanDvator - Aug-03-2020, 01:30 PM - Forum: General Coding Help - Replies (1)

[python]for j in range(len(index)):
if index[j] < i:
line_id = humid[index[j]][i] - 1
else:
line_id = humi..... More

Print this item

  How to print array indexes?
Posted by: Mark17 - Aug-03-2020, 01:30 PM - Forum: General Coding Help - Replies (6)

Is there a way I can get a numpy array to print out with index numbers like this? Thanks!


Attached Files

Thumbnail(s)
   
Print this item

  syntaxerror when entering a constructor
Posted by: MaartenRo - Aug-03-2020, 01:19 PM - Forum: General Coding Help - Replies (2)

Hi,

I am working on an assignment for Python for Dummies and i have to enter a code but somehow it doesn't work. What am i doing wrong? And should ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] [BeautifulSoup] ... 1 hour ago Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 8 hours ago ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 10 hours ago temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 10 hours ago Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... Yesterday, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
Most views
  The best Prog... 579176
  Tutorial Requ... 511786
  Web Scraping ... 442131
  Newbie with P... 386202
  New Users Int... 378992
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
eastnoob Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18
DataScientist071 11-18
aminrony1999 11-17

User Panel Messages

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