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,961
» Latest member: naalieswifto9264
» Forum threads: 38,729
» Forum posts: 175,539

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 47 Guest(s)
Google, Bing, AOL, Apple

Latest Threads
i need help pls
Forum: Game Development
Last Post: naalieswifto9264
19 minutes ago
» Replies: 3
» Views: 6,638
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 239
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 661
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 755
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 4,992
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,647
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,691
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 315
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 541
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,990

 
  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

  Syntax error
Posted by: Blaedel - Aug-03-2020, 12:46 PM - Forum: General Coding Help - Replies (3)

Hi guys,

struggling to learn. Why is there a syntax error in the following:

[quote]
combinations_amounts = []

for amount_100 in range (0, 10..... More

Print this item

  scrollbar in tab
Posted by: issac_n - Aug-03-2020, 12:42 PM - Forum: GUI - Replies (1)

I wanted to create a scrollbar(pyqt5) into tab, base on example in link below I did some changes to fit my need but the scrollbar didn't show on tab a..... More

Print this item

  Looking for a Python Developer
Posted by: MarioInter - Aug-03-2020, 12:36 PM - Forum: Jobs - Replies (4)

Hi Community!

For our software house in Warsaw, we are looking for an experienced Python Developer.

It's also possible to work remotely.

All..... More

Print this item

  Change IP adress with Python
Posted by: samuelbachorik - Aug-03-2020, 08:09 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello please can you help me with changing IP address in Python ? I am trying to make web scrapping bot and every time he do something i need to chang..... More

Print this item

  Converting string to hex triplet
Posted by: menator01 - Aug-03-2020, 06:02 AM - Forum: General Coding Help - Replies (4)

Been racking my brain on how to convert string color to hex triplet.
Example convert gold to ffd700.
I know that for rgb this is ff(red) d7(green) ..... More

Print this item

  Learning python SyntaxError: 'return' outside function
Posted by: Grale1953 - Aug-03-2020, 02:49 AM - Forum: General Coding Help - Replies (3)

Here is my code:

[python]import string
letters_guessed = ['x', 'i', 'k', 'p', 'r', 's', 'z', 'h', 'b']
alpha = string.ascii_lowercase
availabl..... More

Print this item

  newbie here - general advice reqd
Posted by: gonzo01 - Aug-03-2020, 02:21 AM - Forum: General Coding Help - Replies (2)

Te only coding I have ever done was related to a n sql database more than 35 years ago

I'm currently usin MX Linux 19.2 and wish to try my hand at ..... More

Print this item

  Output CSV file with filepath and file contents
Posted by: glittergirl - Aug-03-2020, 12:00 AM - Forum: General Coding Help - Replies (1)

I want to output a CSV file with the filepath and file content in the directory. I tried the following code, but it only iterates through files in the..... More

Print this item

  I cannot figure out this error
Posted by: ErnestTBass - Aug-02-2020, 11:24 PM - Forum: General Coding Help - Replies (8)

[code]
#!/usr/bin/python
# -*- coding: utf-8 -*-
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
i..... More


Attached Files

.zip   plays-m.zip (Size: 17.2 KB / Downloads: 477)
Print this item

  what pip command can list installed files for a name package?
Posted by: Skaperen - Aug-02-2020, 10:25 PM - Forum: News and Discussions - Replies (3)

what pip command can list installed files for a name package?

Print this item

  KeyError
Posted by: ajtsystems - Aug-02-2020, 08:58 PM - Forum: General Coding Help - Replies (1)

I have a Keyerror since I have added an new key to my MSG_TXT array. I can't see any format errors in MGS_TXT and when I remove this part the code st..... More

Print this item

  Dropping Rows From A Data Frame Based On A Variable
Posted by: JoeDainton123 - Aug-02-2020, 08:23 PM - Forum: Data Science - Replies (1)

Hi all

I have a data frame which i want rows to be removed.

I am using the command:-

data_frame_current.drop(index=b)
..... More

Print this item

  search interface description
Posted by: kobilevi - Aug-02-2020, 07:34 PM - Forum: Networking - No Replies

Hello I am trying to find a way that through code with Python I can search for the description of the interface in the switch. This can be a type of e..... More

Print this item

  Indentation Error With If Else Statement
Posted by: JoeDainton123 - Aug-02-2020, 07:26 PM - Forum: General Coding Help - Replies (3)

Hello all

I was hoping someone could help with the following issue.

I keep getting an indentation error when using an If else statement, my code..... More

Print this item

  Web Scraping
Posted by: alexcuba75 - Aug-02-2020, 06:06 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys,

I would like to open a new tab in my opened browser and then read the content, I have tried with Selenium but I cannot find the way to ..... More

Print this item

  IRC Message Parsing
Posted by: cyberchron - Aug-02-2020, 05:56 PM - Forum: Networking - No Replies

Hey all I am pretty much brand new to coding. I figured a fun way to learn would be to start doing coding challenges online.
For one of my challenges ..... More

Print this item

  serial still udefined
Posted by: anne - Aug-02-2020, 05:44 PM - Forum: General Coding Help - Replies (3)

See attached.
I did install pyserial in to python3.5 , restated Eclipse and it shows as installed .
What did I missed ?
.pdf   1_SERIAL.pdf (Size: 276.78 KB / Downloads: 464)

PS I am..... More

Print this item

  Help with Tkinter
Posted by: djwilson0495 - Aug-02-2020, 04:41 PM - Forum: GUI - Replies (2)

[python]
from tkinter import *

total = 0
num = 0

def click():
number = num_box1.get() # defines number variable as number entered into bo..... More

Print this item

  What does QApplication do?
Posted by: anne - Aug-02-2020, 04:41 PM - Forum: GUI - Replies (4)

OK, if this is out of python subject just ignore it .

I am beginning to understand strange "indented" philosophy of python syntax.
I even got ..... More

Print this item

  Get html body of URL
Posted by: rama27 - Aug-02-2020, 04:14 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
I have a following issue. I would like to get HTML body of a webpage. I am beginning with Python, so to be clear - I need the same output as I ge..... More

Print this item

  Accessing values in list of dictionaries
Posted by: pythonnewbie138 - Aug-02-2020, 03:36 PM - Forum: General Coding Help - Replies (2)

I'm struggling with iterating over a list of dictionaries to access keys/values based on a user selection.

The first loop works as expected to prin..... More

Print this item

  how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ????
Posted by: lsepolis123 - Aug-02-2020, 03:29 PM - Forum: General Coding Help - Replies (4)

how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ????

I want to skip assertion... how?

a = input("enter a number: ")

assert int(..... More

Print this item

  output label
Posted by: just_me - Aug-02-2020, 03:21 PM - Forum: GUI - No Replies

Hi everyone,

I'm new to kivy and I'm trying to do something very simple that I can't get right and can't find any information anywhere. All I want ..... More

Print this item

  saving output to a video file
Posted by: Zhaleh - Aug-02-2020, 02:59 PM - Forum: Game Development - Replies (1)

Hi everybody. I've just created a simple moving object and now I need to save it as a video file. Can anybody tell me how can I save the output and wh..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [PyGame] i need help pls 19 minutes ago augusto_A naalieswifto9264 Game Developm...
  Unable to resolve FileNot... 3 hours ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
Most views
  The best Prog... 577072
  Tutorial Requ... 499882
  Web Scraping ... 440815
  Newbie with P... 384806
  New Users Int... 368948
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
naalieswifto9264 Today
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday
GnomeSweetGnome 09-25

User Panel Messages

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