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,261
» Latest member: SledgeNE
» Forum threads: 38,787
» Forum posts: 175,848

Full Statistics

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

Latest Threads
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
47 minutes ago
» Replies: 1
» Views: 36
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 37
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
2 hours ago
» Replies: 5
» Views: 301
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
10 hours ago
» Replies: 1
» Views: 71
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 11:31 PM
» Replies: 0
» Views: 35
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 65
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 254
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 127
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 214
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 404

 
  logo language code into python
Posted by: aayushi98 - Jan-26-2021, 10:21 AM - Forum: General Coding Help - Replies (2)

Do anyone remember logo language...I want to create and use similar commands using python

Print this item

Question Flask, send_from_directory not working : solved
Posted by: SpongeB0B - Jan-26-2021, 06:12 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi everyone,

here my simple test code :

[python]def download():
try:
return send_from_directory('C:\\original.jpg', filename='original.jpg'..... More

Print this item

  How to make a Vocal synthesizer program on Python?
Posted by: Seadust - Jan-26-2021, 04:14 AM - Forum: General Coding Help - Replies (3)

I'm making a Vocal Synthesizer Like "UTAU" or "VOICEROID". It would be a way to make your own text to speech using your own voice. But how would I eve..... More

Print this item

  Using Grid layout and QHBox
Posted by: hobbyist - Jan-26-2021, 12:17 AM - Forum: GUI - Replies (1)

Hello, I have built a Grid with 2 rows and 3 columns. On the 2nd row 1st column where I am trying to insert the QHBox I get this error which I am tryi..... More

Print this item

  Create variable and list dynamically
Posted by: quest_ - Jan-25-2021, 09:59 PM - Forum: General Coding Help - Replies (12)

Hello,

This is a simple function:

number =3
a, b, c = cirq.LineQubit.range(number)
And I want to create these variables..... More

Print this item

  Building Wheel files (why would it ask for the wrong version?)
Posted by: coreyhanson - Jan-25-2021, 09:12 PM - Forum: General Coding Help - Replies (1)

I've been getting some unexpected behavior when creating a wheel for a manual build of Pytorch. If I decide to just directly install it (using python ..... More

Print this item

  Prevent using time.sleep() and multiprocessing
Posted by: losegun - Jan-25-2021, 08:48 PM - Forum: Code sharing - No Replies

Hi folks,

I'd like to share my concept about stopping particular functions out in Python, let them sleep for some time, while the whole script is s..... More

Print this item

  Don't understand example code from a textbook
Posted by: lil_fentanyl - Jan-25-2021, 06:37 PM - Forum: General Coding Help - Replies (1)

I'm just starting to learn python and I'm using a textbook to learn. For demonstrating for loops the book used this bit of code:

[python]print('My ..... More

Print this item

  Your experiences with cloud offerings
Posted by: nilamo - Jan-25-2021, 05:05 PM - Forum: Bar - No Replies

I've been working with AWS for the past several months for work, and I've got to be honest, it's much better than I ever thought possible.

Previous..... More

Print this item

  pdfminer.six: search for complete documentation
Posted by: Pavel_47 - Jan-25-2021, 03:38 PM - Forum: General Coding Help - Replies (3)

Hello,

I couldn't find a resource with complete documentation of pdfminer.six.
According to this resource, there are only 3 functions:
[ur..... More

Print this item

  How to create random hex message
Posted by: korenron - Jan-25-2021, 03:18 PM - Forum: General Coding Help - Replies (6)

Hello
need your help in a simple issue:

I want to create a random 16 chars message from this (0123456789ABCDEF)
so the output will be like this:
"A..... More

Print this item

  Create a turtle drawing from .txt file
Posted by: Noob101 - Jan-25-2021, 02:01 PM - Forum: Homework - Replies (20)

Hi, haven't touched any coding language for ages and it's killing me atm.
Got an assignment that wants me to create a program that reads a .txt file ..... More

Print this item

  Help Parsing JSON
Posted by: kfwydfo1x - Jan-25-2021, 12:56 PM - Forum: General Coding Help - Replies (5)

Can someone please help me parse this json object?

[code]
{
"12345": {
"2021-01-20": {
"a": 1,
"b": 3,
..... More

Print this item

  Calculate column with cumulative return
Posted by: tgottsc1 - Jan-25-2021, 11:50 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a very basic question and would appreciate any help.

I have a column with percentage changes on a daily basis for the last 100 da..... More

Print this item

  pdfminer package: can't find exgtract_text function
Posted by: Pavel_47 - Jan-25-2021, 11:13 AM - Forum: General Coding Help - Replies (7)

Hello,

Using pdfminer package I faced the following problem:

[python]>>> from pdfminer import high_level
>>> extracted_text = high_level..... More

Print this item

  how to run linux command with multi pipes by python !!
Posted by: evilcode1 - Jan-25-2021, 10:07 AM - Forum: General Coding Help - Replies (2)

hey all ..
i am trying to run this command on my machine by using python subprocess module ...
command :
[python]
ping -c 1 -t 1 -w 1 192.168.1...... More

Print this item

  Pyplot graph size
Posted by: TammyP - Jan-25-2021, 09:22 AM - Forum: General Coding Help - Replies (1)

I am reading from an excel sheet and plotting various results.
[python]

#set plot
plt.plot(df[str('Temperature')], ls='-')
# set la..... More

Print this item

  String error
Posted by: Kurta - Jan-24-2021, 07:27 PM - Forum: General Coding Help - Replies (7)

Hey there im not getting the expected result

i expect two numbers temperture and humidty seperated by a comma

here is my error:

line 25, in <..... More

Print this item

  AUC and other training/validation coming in at 1.000...is this overfitting
Posted by: deadendstreet2 - Jan-24-2021, 06:19 PM - Forum: Homework - No Replies

I'm working on a homework assignment to predict hospital readmissions based on a dataset my school provided. I found a similar walkthrough (https://me..... More

Print this item

  PyTorch GTX 770 OLD ?
Posted by: samuelbachorik - Jan-24-2021, 05:42 PM - Forum: Data Science - No Replies

Hello iam trying to train model with my GTX 770 and iam getting this error,-

[error]Found GPU0 GeForce GTX 770 which is of cuda capability 3.0.
..... More

Print this item

  Linking Comboboxes
Posted by: MrP - Jan-24-2021, 05:08 PM - Forum: GUI - Replies (24)

I have 2 comboboxes. Selection from first is supposed to trigger the second to populate. The first is populated from a sqlite3 database and it works j..... More

Print this item

  How to get rid of "A programmer named Tim"
Posted by: matt_the_hall - Jan-24-2021, 04:15 PM - Forum: Board - Replies (3)

For the life of me, I can't figure out how to get rid of the default "A programmer named Tim." Line under my avatar -- help!

Print this item

  IndexError: list index out of range
Posted by: ramu4651 - Jan-24-2021, 01:01 PM - Forum: General Coding Help - Replies (2)

Hi Team,

I am facing below error while executing the code . Dont know where exactly the error exists . Could you please help me on this

[python..... More

Print this item

  Plotting A Time Series With Shaded Recession Bars
Posted by: adamszymanski - Jan-24-2021, 05:18 AM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to reconstruct time series graphs from FRED through Python.

I am hav..... More

Print this item

Smile Extracting the Address tag from multiple HTML files using BeautifulSoup
Posted by: Dredd - Jan-24-2021, 03:40 AM - Forum: Web Scraping & Web Development - Replies (8)

Hi All,

The below code works exactly how I want it to work for 'title' but just not working at all for 'address'.

[python]path = "C:\\Users\\mpe..... More

Print this item

  where is NoneType defined?
Posted by: Skaperen - Jan-23-2021, 11:06 PM - Forum: News and Discussions - Replies (1)

where is NoneType defined or is NoneType = type(None) the only way to get it?

Print this item

Question How to make a 3D List of Excel Spreadsheets?
Posted by: chatguy - Jan-23-2021, 10:50 PM - Forum: General Coding Help - Replies (4)

Hi-
I've been failing greatly trying to get different ideas working, or finding how to do this.

Is there a snippet of code I may please use (usi..... More

Print this item

  testing value type 2
Posted by: Skaperen - Jan-23-2021, 10:18 PM - Forum: News and Discussions - Replies (2)

what about

if foo in (Sometype,):
    ...
compared to
if foo is Sometype:
    ...
is [inline]in[/inlin..... More

Print this item

  list, int and .grid() come on!
Posted by: Davy_Jones_XIV - Jan-23-2021, 08:44 PM - Forum: Homework - Replies (5)

Hey all,

I am stuck on this error that I thought I understood, but I am struggling, so I decided to reach out to the community.

The code is:
..... More

Print this item

  create new tabs and populate using python
Posted by: reggie4 - Jan-23-2021, 07:47 PM - Forum: General Coding Help - Replies (2)

Hi all,

It it possible to place data programmatically into different spreadsheet tabs using python?

Thanks,

Reggie.

Print this item

Photo How do you translate this in Python?
Posted by: pythonflea - Jan-23-2021, 06:21 PM - Forum: Data Science - Replies (5)

How do you translate this (what I believe is an) algorithm?
[Image: gkzUVYz]
If you can't see the image, kindly click on this li..... More

Print this item

  Outputs "NaN" after "DataFrame columns" function?
Posted by: epsilon - Jan-23-2021, 06:17 PM - Forum: Data Science - Replies (7)

[python]
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from scipy.signal import argrelextrema

data = pd.read_csv("Data..... More

Print this item

  Flask-WTF - FlaskForm
Posted by: mateuszpozn - Jan-23-2021, 02:07 PM - Forum: Homework - Replies (2)

Hi all Smile
I am learning Flask and I have trouble understanding FlaskForm from Flask-WTF.
Code below.

hello.py
[python]
class NameForm(..... More

Print this item

  loading a dictionary
Posted by: Skaperen - Jan-23-2021, 08:00 AM - Forum: General Coding Help - Replies (4)

i get a dictionary returned from a function call. this is a bunch of variable name keys and new values for them. there are a lot of them and a very ..... More

Print this item

  testing value type
Posted by: Skaperen - Jan-23-2021, 01:13 AM - Forum: News and Discussions - Replies (1)

what is the reason we should do isinstance(foo,str) instead of type(foo) is str or type(foo) == str..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PermissionError: [Errno 1... 47 minutes ago Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 1 hour ago Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... 2 hours ago Skaperen DeaD_EyE News and Disc...
  How to make ball stay wit... 10 hours ago nathanael SledgeNE General Codin...
  conditional nested loops Yesterday, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 578984
  Tutorial Requ... 510602
  Web Scraping ... 442000
  Newbie with P... 386030
  New Users Int... 377193
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+ 12108
buran 8195
snippsat 7388
deanhystad 6912
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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