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,280
» Latest member: MileHigh303
» Forum threads: 38,791
» Forum posts: 175,869

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing, Mojeek, Applebot

Latest Threads
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
7 minutes ago
» Replies: 0
» Views: 2
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Today, 06:15 AM
» Replies: 4
» Views: 1,459
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 105
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 39
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 6,014
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,286
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 313
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 158
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 223
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,122

 
  Create tempfile that use in loop for insert into DB
Posted by: Firsttimepython - May-28-2020, 09:13 PM - Forum: General Coding Help - Replies (2)

Hi,

I have approx. 2 weeks Python experience but keen to learn it and I'm struggling on something, I also had no prior programming experience apart..... More

Print this item

  random.seed and random.randn
Posted by: Truman - May-28-2020, 09:09 PM - Forum: Data Science - Replies (5)

import numpy as np 
np.random.seed(42)
x = np.random.randn(100)
I have a problem with understanding this simple code. Firstly,..... More

Print this item

  Alien Invasion
Posted by: kleeklee - May-28-2020, 07:53 PM - Forum: Game Development - Replies (2)

I'm trying to teach myself Python. I have a little knowledge in C++, so python isn't completely foreign to me, but it's all still really new to me.
..... More

Print this item

  asyncio semaphore problem
Posted by: gw1500se - May-28-2020, 07:01 PM - Forum: General Coding Help - Replies (4)

I'm trying to wait for a tkinter dialog response to complete to get the results. I'm getting what seems to be a common problem but none of the threads..... More

Print this item

  update imhow in callback from pyaudio
Posted by: markB - May-28-2020, 06:01 PM - Forum: General Coding Help - No Replies

Hi All,

I am trying to process some audio parallel with taking some images.
The idea is to grab a data from the micropohone using pyaudio, then
P..... More

Print this item

  Convert Strings to Floats
Posted by: samalombo - May-28-2020, 05:36 PM - Forum: Data Science - Replies (2)

Dear all.

I have the following dataset:

0 27.05.2020 19,93 19,80 19,93 19,15 74,31M 1,32%
1 26.05.2020 19,67 19,98 20,09 19..... More

Print this item

  keep cmd open
Posted by: astral_travel - May-28-2020, 05:19 PM - Forum: General Coding Help - Replies (3)

i just made an exe file with pyinstaller (both in linux and in windows).

when i run the program in windows (cmd) - it closes the window when the la..... More

Print this item

  Opening files in same directory as script
Posted by: Emekadavid - May-28-2020, 04:47 PM - Forum: Homework - Replies (3)

The textbook I am using didn't specify this problem so I want someone to help me.
I have a text file that is in the same directory as the script file..... More

Print this item

  Dataset of indoor surveillance camera footage
Posted by: constantin01 - May-28-2020, 04:44 PM - Forum: Data Science - Replies (1)

Hi

I am looking for a dataset with images that are clips from an indoor surveillance camera footage. I need those that are with humans and those that..... More

Print this item

  Rock Paper Scissors Game
Posted by: NectDz - May-28-2020, 04:39 PM - Forum: Code Review - Replies (5)

I just want to receive some feedback on my code on things I can improve such as if my code can be cleaner or things I can add, anything helps!

[pyt..... More

Print this item

  Guess my number
Posted by: foksikrasa - May-28-2020, 04:12 PM - Forum: Code sharing - No Replies

A popular game of guess my number:
[python]import time
import random

print("Ill think of a number.")
time.sleep(3)
number = random.randint(1,10..... More

Print this item

  Create a word
Posted by: foksikrasa - May-28-2020, 03:59 PM - Forum: Code sharing - Replies (4)

This is my oldest game that is saved. I really like it so please try it out Heart !

Thanks, foksikrasa

[python]import random

alphabet = [..... More

Print this item

  Adventure book of your choice
Posted by: foksikrasa - May-28-2020, 03:24 PM - Forum: Code Review - Replies (5)

This has been my latest activity in a python learning course and it turned out sooooooooooooo well that I decided to share it with the community I rea..... More

Print this item

  Rock, Paper, Scissors
Posted by: foksikrasa - May-28-2020, 03:06 PM - Forum: Code sharing - Replies (11)

I'm new at python and in a course created this Rock, Paper, Scissors game after some hard work Smile:

[python]import random
points = 0
choice..... More

Print this item

  Selector file descriptor issue in simple multiclient server program
Posted by: dohpam1ne - May-28-2020, 02:39 PM - Forum: Networking - No Replies

Hi all, first post here- please feel free to critique my etiquette if necessary.

I've written a simple server program as well as a simple client fo..... More

Print this item

  how to divide one big equation entered as a string to small chunks
Posted by: gungurbuz - May-28-2020, 12:31 PM - Forum: General Coding Help - Replies (1)

like 6*7/5+2+5 to 6*7=x, x/5=y, y+5+2+5
and then calculate the end result and display it
i am doing this as a way to stay sane during the coronaviru..... More

Print this item

  TypeError: add() missing 2 required positional arguments
Posted by: NectDz - May-28-2020, 12:23 PM - Forum: General Coding Help - Replies (5)

Hello,I am new to parameters and I am having difficulties understanding my code does not work.




[python]

# Tables

Table_A = 0
Table_B ..... More

Print this item

  Create, assign and print variables in loop
Posted by: steven_tr - May-28-2020, 11:08 AM - Forum: General Coding Help - Replies (10)

I want to create and assign a value to a variables in a for loop and name the variable in the loop. This works as intended. Afterwards, I would like t..... More

Print this item

  Creating a simple rate limiter.
Posted by: DreamingInsanity - May-28-2020, 10:53 AM - Forum: General Coding Help - No Replies

I have been doing some stuff with reddit for a while now. I haven't used an api key with it, since I wasnt to make the program as simple to set up as ..... More

Print this item

  nested dictionary
Posted by: rkpython - May-28-2020, 10:11 AM - Forum: General Coding Help - Replies (7)

Hi ,

I come from a perl background and used nested hash tables quite effectively and am unable to achieve the same using the python dictionary. Is ..... More

Print this item

  pip3 problem with py3exiv2
Posted by: jcezanna56 - May-28-2020, 08:55 AM - Forum: News and Discussions - No Replies

Hi,
I have a problem with pip3 installing py3exiv2.

$ pip3 --no-cache-dir install py3exiv2
Collecting py3exiv2
Downloading py3exiv2-0.7.2.tar..... More

Print this item

  Troubles with program
Posted by: Harambe - May-27-2020, 10:38 PM - Forum: Homework - Replies (37)

Hello!
I am a student and I am learning for my admission test to the university and I was wondering if there is any possibility to create any “light”..... More

Print this item

  True in 'in' != True?
Posted by: hkim10 - May-27-2020, 10:30 PM - Forum: General Coding Help - Replies (8)

It seems like when I use boolean 'in', when it is true,
it is not equal to 'True'
I would appreciate any help or explanation

An example that I ha..... More

Print this item

  TypeError: _linspace_dispatcher() missing 1 required positional argument: 'stop'
Posted by: Ae_Lovecraft - May-27-2020, 09:52 PM - Forum: General Coding Help - Replies (3)

I'm triying to make a double reimann sum, with a limit b = (x^2 + y^2 = 16), the problem is when I use Sympy and marks as a TypeError in..... More

Print this item

  coding a decoder...
Posted by: Popkhorn - May-27-2020, 08:15 PM - Forum: General Coding Help - Replies (2)

Hello, sorry to bother you, but I'm stuck on a project and I can't figure out what's wrong.
I'm coding a python text decoder (nothing very tedious, t..... More

Print this item

  How to subtract the DayOfWeek from date from a integer?
Posted by: DarkCoder2020 - May-27-2020, 07:08 PM - Forum: General Coding Help - Replies (2)

I'm trying to subtract a date such as 05/01/2020 from a integer such as -1. Any suggestions?

[python]
int(cnt)

dteStartDate =dateti..... More

Print this item

  Class and Operators in Python
Posted by: rsherry8 - May-27-2020, 06:53 PM - Forum: General Coding Help - Replies (1)

Please consider the following Python code fragment:

[python]
import math

class Fraction:
def __init__(self,num,den):

if den < ..... More

Print this item

  How to properly do multi-processing with selenium
Posted by: shinaco - May-27-2020, 06:42 PM - Forum: Web Scraping & Web Development - No Replies

Hello everyone,

I am trying to do a complex web scraping task, but because it requires to process a large number of pages and the processing I am d..... More

Print this item

  Customizing an sklearn submodule with cython
Posted by: JHogg11 - May-27-2020, 05:39 PM - Forum: Data Science - No Replies

I'd like to create a custom DecisionTreeRegressor to be used with sklearn's RandomForestRegressor, however, to get the desired effect, I..... More

Print this item

  Web Scraping Feasibility
Posted by: pstahl - May-27-2020, 04:13 PM - Forum: Web Scraping & Web Development - Replies (2)

I recently started a new role in data analytics.

One of my daily tasks is as follows:
1. Log in to www.SalesRabbit.com
2. Navigate to a new page..... More

Print this item

  How to append a tuple full of records to a dbf file in Python?
Posted by: DarkCoder2020 - May-27-2020, 04:06 PM - Forum: General Coding Help - Replies (4)

I'm trying to append a tuple full of records into a dbf file that I received from a sql statement but it only produce one record in my tuple. This is ..... More

Print this item

  How to call bash on Python and put the result to the variable?
Posted by: meknowsnothing - May-27-2020, 03:52 PM - Forum: Homework - Replies (4)

Could anyone help me to solve the question on https://www.ohjelmointiputka.net/postit/...nnus=mpera

In English, it goes like this. Given..... More

Print this item

  Write tables from Word (.docx) to Excel (.xlsx) using xlsxwriter
Posted by: jackie - May-27-2020, 02:55 PM - Forum: General Coding Help - Replies (1)

I am trying to parse a word (.docx) for tables, then copy these tables over to excel using xlsxwriter. This is my code:

[python]from docx.api impor..... More

Print this item

  Rest API
Posted by: VeeDitty - May-27-2020, 02:07 PM - Forum: Web Scraping & Web Development - Replies (5)

First off, I know nothing about Python. But trying to explore options.
I am mainly an excel user, Tableau and Power BI.

I am interested in gett..... More

Print this item

  Frequency in first digit from csv file, NO IMPORT
Posted by: bryan0901 - May-27-2020, 12:19 PM - Forum: Homework - Replies (6)

Hi,
I have trouble with writing the codes for the frequency of the first digit in CSV file.
No import is allowed.
for example, if I have the follow..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Brazil Python Help to aut... 7 minutes ago MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Today, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 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...
Most views
  The best Prog... 579202
  Tutorial Requ... 511959
  Web Scraping ... 442149
  Newbie with P... 386229
  New Users Int... 379195
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
MileHigh303 Today
ndx101 Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday

User Panel Messages

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