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,963
» Latest member: chaoh1911
» Forum threads: 38,729
» Forum posts: 175,540

Full Statistics

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

Latest Threads
My First App
Forum: Code Review
Last Post: carlbidwell
5 hours ago
» Replies: 8
» Views: 8,415
what does % stand for in ...
Forum: General Coding Help
Last Post: carlbidwell
6 hours ago
» Replies: 3
» Views: 1,802
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 312
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 746
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 819
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,066
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,705
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,747
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 354
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 603

 
  STT: recognition connection failed: [Errno 32] Broken pipe
Posted by: GrahamBerends - Jul-18-2020, 10:57 PM - Forum: General Coding Help - No Replies

Hi All.

I keep getting these broken pipe messages. Some STT conversions work, others don't. So the code basically works.

I imagine that there's a s..... More

Print this item

  Redirection giving faulty results
Posted by: monstrup - Jul-18-2020, 09:32 PM - Forum: General Coding Help - Replies (5)

Hey all. I am working on detectors of fake BTSes. Ive set up my fake BTS using yateBTS and its up and running. Now, I intent to catch the fake BTS so ..... More

Print this item

  os library
Posted by: RenanPereira10 - Jul-18-2020, 08:56 PM - Forum: Homework - Replies (2)

I'm doing a challenge that my code must read lines from a txt file and create others files inside a new directory ,they'll be named with the lines fro..... More

Print this item

  Create a 3D volume with some properties.
Posted by: Rosendo - Jul-18-2020, 08:20 PM - Forum: General Coding Help - No Replies

[b][size=small][font=Arial, Helvetica, sans-serif]Hi,I would like to create a 3D volume and, simulate how will get deformed under some stress applied...... More

Print this item

  periodic boundary contions
Posted by: grknkilicaslan - Jul-18-2020, 08:09 PM - Forum: General Coding Help - Replies (1)

Hi all

I want to add periodic boundary conditions to the plot below.
Conditions:
If x>pi then x=x - 2*pi

if x<-pi then x=x + 2* pi

If z>pi ..... More

Print this item

  Help Setting Multiple Variables
Posted by: bzowk - Jul-18-2020, 06:59 PM - Forum: General Coding Help - No Replies

Hey Guys -

I'm working on a project for a friend and need assistance, please; as I'm new to Python...

When the below script (which I didn't wri..... More

Print this item

  Introduction to escaping characters in strings
Posted by: Geelong_crazy - Jul-18-2020, 06:32 PM - Forum: General Coding Help - Replies (1)

Hey, brand new to coding so please help out with the fundamental.

I am trying to fix this up, please show me what I am supposed to do

print('I/..... More

Print this item

  Filtered Row Count
Posted by: RookToday - Jul-18-2020, 05:23 PM - Forum: General Coding Help - Replies (1)

I am trying to get a row count for a filtered data frame.

filt = (df['Type of breach']!='HACK') & (df['Description of incident']...... More

Print this item

  filtering by category flask+mongodb
Posted by: Leon79 - Jul-18-2020, 05:09 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi coders! I'm dividing every page by filtering by the correct category in my recipe blog, but I don't know why I cannot manage. For example, I have v..... More

Print this item

  Using PyScripter with Python
Posted by: Oldman45 - Jul-18-2020, 04:33 PM - Forum: News and Discussions - Replies (1)

I am using 'Think Like a Computer Scientist' to teach myself Python and it has introduced the use of PyScripter. I have downloaded PyScripter 64bit t..... More

Print this item

  Unexpected syntax error
Posted by: djwilson0495 - Jul-18-2020, 02:00 PM - Forum: General Coding Help - Replies (5)

Error:
for row in file: ^ SyntaxError: invalid syntax
I keep getting this error on my code I've used this line of code on ..... More

Print this item

  listdir on IP Adress
Posted by: OEMS1 - Jul-18-2020, 01:29 PM - Forum: General Coding Help - Replies (3)

Hallo Guys,

I need to get content of a windows "networkshare".
It is and will not be added as networkdrive with a letter.

In Windows Explorer ..... More

Print this item

  Complex word search multiple files
Posted by: Kristenl2784 - Jul-18-2020, 01:15 PM - Forum: General Coding Help - No Replies

Hello,

This is probably going to be the hardest thing I've had to explain haha. This is what I need to be able to do:



Start with word inside..... More

Print this item

  an algorithm for this?
Posted by: rudihammad - Jul-18-2020, 10:42 AM - Forum: General Coding Help - Replies (5)

Hello,
I have this list

myList = [0, 1, 2, 3, 4, 3, 4, 1, 2]
And I was wondering how can I convert it in this
[python]myList = [..... More

Print this item

  Dictionary In Python 3 | Learn With Examples
Posted by: CodeItBro - Jul-18-2020, 07:19 AM - Forum: Tutorial Requests and Submissions - Replies (1)

Hi Guys,

Recently I wrote a tutorial on Python 3 dictionaries. Here you will learn all about[url=https://python-forum.io/thread-28416.html]..... More

Print this item

  [PyCharm] Working with virtual environment
Posted by: AndrzejB - Jul-18-2020, 06:49 AM - Forum: General Coding Help - Replies (1)

I want test spaCy: https://spacy.io/
I do:
pip install spacy
python -m spacy download en_core_web_sm
but in PyChar..... More

Print this item

  And and Or Filters on Same Line
Posted by: RookToday - Jul-18-2020, 06:13 AM - Forum: Data Science - Replies (2)

Hello, I am trying to filter two columns in a dataset. One filter is a selection type, the other filter will be to include key words in a description...... More

Print this item

  Loop not working
Posted by: Nonameface - Jul-18-2020, 06:01 AM - Forum: General Coding Help - Replies (8)

[python]while 1:

import webbrowser


chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'

webbrowser.ge..... More

Print this item

  Python program cannot close
Posted by: kwekey - Jul-18-2020, 04:41 AM - Forum: General Coding Help - Replies (2)

Hi, I need some help on this peculiar problem.

I have 2 ubuntu machines running the same python program using 2.7 IDLE.

On machine A, when I clo..... More

Print this item

  Pd read excel()_ errors
Posted by: fat_fingers_squared - Jul-17-2020, 10:38 PM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to run a simple pd.read_excel() function to read an excel file,"weather_data" I saved on my Mac in a python folder using the follow..... More

Print this item

  List Won't Write in Text File
Posted by: IILawrenceII - Jul-17-2020, 08:40 PM - Forum: General Coding Help - Replies (4)

[python]
import time
global list

list = [] #####This is not the final list, but a list where you add everything to be sorted


def add_to_list..... More

Print this item

  I've made browser stickman mmo rpg game in space
Posted by: badderThanThou - Jul-17-2020, 08:36 PM - Forum: Bar - No Replies

Have you ever played a stickman MMORPG? Or a game where you can walk on planets from all, 360 degrees? Most games would just make you fall, but not Wa..... More

Print this item

  Error binding parameter 0 - probably unsupported type.
Posted by: illmattic - Jul-17-2020, 08:23 PM - Forum: Data Science - Replies (7)

Hoping I can get some help on this error:

c.execute("INSERT INTO USMoneySupply (MonetaryBase, M1, M2) VALUES (?, ?, ?)", sqlite3.InterfaceError: ..... More

Print this item

  happy to purchase python tutoring services $$$
Posted by: alexlv - Jul-17-2020, 07:28 PM - Forum: Jobs - Replies (2)

Hi,

I would like to purchase few hours of tutoring services with Python :


Subject of services :

data import from C4C Hybris via python
da..... More

Print this item

  Help with PySimpleGUI INSERT INTO sqlite3 database
Posted by: jrbond - Jul-17-2020, 06:48 PM - Forum: GUI - Replies (5)

Brand new to the forum. I only started using Python this week. I'm trying to make a GUI where our operators can scan a barcode into the GUI (and a few..... More

Print this item

  Convert str to int
Posted by: florian - Jul-17-2020, 06:16 PM - Forum: General Coding Help - Replies (6)

Hello,

I'm kind of feeling Python is making fun of me. I have strings with dates in the format "20200716", stored as the values in a dictionary.
W..... More

Print this item

  Pass integers to datetime.date function
Posted by: florian - Jul-17-2020, 05:43 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm relatively new to the Python world. I'm trying to write a script that checks if a post has been published within the last seven days.
F..... More

Print this item

  Help with for loop and return
Posted by: pythonnewbie138 - Jul-17-2020, 05:40 PM - Forum: General Coding Help - Replies (10)

Hi all,

I've been learning python for a few weeks now and am working on my first, very simple program. To preface this... I've taken inspiration fr..... More

Print this item

  Need Help Getting Request Response From Main URL
Posted by: samlee916 - Jul-17-2020, 04:15 PM - Forum: Web Scraping & Web Development - Replies (3)

[python]
import requests
import argparse
import os
from urllib.request import urlparse, urljoin
from bs4 import BeautifulSoup

internal_links =..... More

Print this item

  Crop Image to Bounding Box Coordinates
Posted by: sallyjc81 - Jul-17-2020, 03:29 PM - Forum: General Coding Help - Replies (2)

Hi!

Still very much a beginner to the world of Python and would be grateful for any help to solve an issue!

I have run a YOLO Object Detector a..... More

Print this item

  periodically plotting
Posted by: grknkilicaslan - Jul-17-2020, 02:56 PM - Forum: General Coding Help - Replies (2)

Hi all,

I want to arrange the limits of axis periodically while plotting. I mean,
I want to set limits as[-pi,pi] but when the curve comes to 3pi/..... More

Print this item

  List of Objects print <__main. Problem
Posted by: Kol789 - Jul-17-2020, 01:51 PM - Forum: Homework - Replies (10)

Hello,

i am starting to learn python. For a better understanding i want to implement a genetic Algorithm. But acutally i am having troubles with my..... More

Print this item

  sports Stats > table output loop problems
Posted by: paulfearn100 - Jul-17-2020, 12:03 PM - Forum: General Coding Help - Replies (3)

would like the code to loop over all profile links and show the table text but will only parse one page and not loop over all profiles, please see bel..... More

Print this item

  TypeError: a bytes-like object is required, not 'str'
Posted by: ozzy69 - Jul-17-2020, 11:48 AM - Forum: General Coding Help - Replies (1)

Hello everyone, i tried to run this code, but appeared this error to me:

[error]TypeError: a bytes-like object is required, not 'str'

Traceback ..... More

Print this item

  counting down in while with refresh
Posted by: andrzej357 - Jul-17-2020, 09:58 AM - Forum: General Coding Help - Replies (1)

Hello,
I want to make a countdown. I have 2 problems:

1)I want every second refresh, I mean after 10 i want see 9, but without 10 etc.
2)Word "St..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My First App 5 hours ago BCopeland64 carlbidwell Code Review
  what does % stand for in ... 6 hours ago arbiel carlbidwell General Codin...
  Unable to resolve FileNot... Today, 03:54 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...
Most views
  The best Prog... 577117
  Tutorial Requ... 500003
  Web Scraping ... 440839
  Newbie with P... 384833
  New Users Int... 369048
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
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday
Xuitar Yesterday

User Panel Messages

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