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,290
» Latest member: irukson
» Forum threads: 38,793
» Forum posts: 175,881

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 30 Guest(s)
Google, Bing, Applebot, lovedeep

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:18 PM
» Replies: 5
» Views: 71
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Nov-23-2025, 12:05 PM
» Replies: 5
» Views: 174
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 68
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,506
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 162
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 74
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,103
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,312
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 421
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 240

 
  Why does an error occur after editing a grid cell?
Posted by: ioprst - Nov-06-2019, 07:25 AM - Forum: GUI - Replies (2)

There is a dialogue on which there is a panel on which there is a grid.

Each grid column is assigned its own editor (in a class derived from GridTa..... More

Print this item

  Read owl file using python flask
Posted by: Gayathri - Nov-06-2019, 06:38 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi I am new to python and owl. I have installed python flask for developing web applications. I have created a simple hello world code. Please help me..... More

Print this item

  complex survey data analysis
Posted by: abeshkc - Nov-06-2019, 06:03 AM - Forum: Data Science - Replies (1)

Hi, does python have a library for designing and analyzing complex survey datasets simialr to svydesign in R?

Print this item

  is this file an ASCII text file?
Posted by: Skaperen - Nov-06-2019, 05:33 AM - Forum: News and Discussions - Replies (5)

in POSIX environments the "file" command can be run on the file and its output could indicate an ASCII text file or something it knows about. is ther..... More

Print this item

  Scaled scatter modification
Posted by: yvrob - Nov-06-2019, 05:27 AM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to plot a geometry consisting of spherical surfaces in 3D.
There are tens of thousands of those spheres, with given coordinates..... More

Print this item

  Can I make virtualenv (and/or uwsgi) use python 3.6 instead of 2.7?
Posted by: david503 - Nov-06-2019, 05:26 AM - Forum: Networking - Replies (11)

I must be doing this wrong:

I'm in ubuntu 18.04.2

I'm figuring out to setup uwsgi according to this:

https://uwsgi-docs.readthedocs.io/en/lat..... More

Print this item

  Function and Random
Posted by: mkmoloney - Nov-06-2019, 04:07 AM - Forum: Homework - Replies (2)

I am making a function that designs a password that must follow specific criteria. The input is the length of the password, the output is the password..... More

Print this item

  Convert csv to tsv
Posted by: bongielondy - Nov-06-2019, 03:32 AM - Forum: General Coding Help - Replies (2)

I have converted a file from csv to tsv and get a KeyError when reading it using Python. So I want to ensure that the file was well converted. The cod..... More

Print this item

  very weird unexpected behaviour, related to prints
Posted by: allenhe - Nov-06-2019, 03:17 AM - Forum: General Coding Help - Replies (1)

I am seeing a weird behavior and I could not find out why. Here is what I did:

in my_def.py, I have:
[python]
tran_counter = 0x11000
def output_..... More

Print this item

  Extracting parts of paragraphs from word documents using python-docx library & lists
Posted by: Den0st - Nov-06-2019, 12:07 AM - Forum: General Coding Help - Replies (1)

About the type of documents i'm working with, the general layout looks like this: [Image: WWk87zV]

[u][b]Background of my problem?..... More

Print this item

  get the one element from 1-list or 1-set
Posted by: Skaperen - Nov-05-2019, 11:25 PM - Forum: General Coding Help - Replies (1)

i have a list or tuple or set or frozenset with exactly one element within. i'd like to code a simple way to get that one element that can be used wi..... More

Print this item

  find unique string
Posted by: Skaperen - Nov-05-2019, 11:15 PM - Forum: News and Discussions - Replies (1)

i have a container of strings. it can be made available in whatever type is most convenient for the best solution, such as a list, or set. what i wa..... More

Print this item

  parse text, save individual chapters into text files
Posted by: isniffbooks - Nov-05-2019, 11:01 PM - Forum: Homework - Replies (3)

Your job will be to parse through this document, find the individual chapters, and write those out as separate files. the chapter number from inside t..... More

Print this item

  Difference in list output
Posted by: OokaydO - Nov-05-2019, 08:44 PM - Forum: General Coding Help - Replies (6)

Between:

[python]tt = [0,1]

a1 = [tt]*4
a2 = [tt for _ in range(4)]
a3 = [[0,1]]*4

a1[0][1] = 6
a2[0][1] = 6
a3[0][1] = 6

print(a1)
p..... More

Print this item

  How to optimize between two matrices, one of the matrices is derived from Excel data
Posted by: niloufar - Nov-05-2019, 06:19 PM - Forum: Data Science - No Replies

[python]

#The matrix code obtained as a formula is as follows:


def objective(x):
#= params
x00 = x[0]
y00 = x[1]
u_m = x[..... More

Print this item

  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ?
Posted by: muratoznnnn - Nov-05-2019, 05:44 PM - Forum: General Coding Help - Replies (3)

First I create a osmocom-sink signal-source and Xmlrpc-server. I want to use rcp commands to change cent_frequency. İt give to me this error

****Ex..... More

Print this item

  1_States_Capitals
Posted by: sanatpy - Nov-05-2019, 05:24 PM - Forum: General Coding Help - Replies (11)

Hi, I am a complete newbie for Python, and tried to code this program that finds Capitals of the States. It works perfectly fine, provides the desired..... More

Print this item

  multiple problems with code
Posted by: SrijaRamarthy - Nov-05-2019, 05:06 PM - Forum: General Coding Help - Replies (2)

values = melb_data[melb_data.Suburb == "Brighton East"].CouncilArea.mode()[0]
print("V",values)
melb_data[melb_data.Suburb == "Brighton East"].Counc..... More

Print this item

  Wonky Touch Events
Posted by: hessej - Nov-05-2019, 04:35 PM - Forum: GUI - Replies (2)

Hey everyone,

I have a PyQt application that runs great on Windows (and another version that runs on Linux). I'm working on a Windows 10 touch-scre..... More

Print this item

  Get partial string from os.system()
Posted by: zinho - Nov-05-2019, 03:18 PM - Forum: General Coding Help - Replies (1)

Hi

Why is impossible slice this line os.system(dp)?
I try convert to string, but din't work.

[python]import os

# Verificar se a impressora p..... More

Print this item

  Palindrome checker case sensive
Posted by: edwdas - Nov-05-2019, 03:16 PM - Forum: Homework - Replies (3)

Hello,

Got a task to make a palindrome checker for user input now my script so far works UNLESS the first there is a cApiTal letter in it. E.g. Abb..... More

Print this item

  Think my math is wrong?
Posted by: edwdas - Nov-05-2019, 02:40 PM - Forum: General Coding Help - Replies (3)

So I'm trying to calculate the median from inputs (int) that a user submits WITHOUT using a statistics module (just want to see how it can be done)
..... More

Print this item

  Problem with importing a CSV file
Posted by: Chopan2211 - Nov-05-2019, 02:19 PM - Forum: General Coding Help - Replies (6)

I have a problem importing a CSV file. I have tried with r' and singel / and dubbel \\ both ways. The same problem.
But I can easily import the same ..... More

Print this item

  How to read text file line by line
Posted by: SriRajesh - Nov-05-2019, 01:18 PM - Forum: General Coding Help - Replies (1)

HI,
I have the below file (.config, which is similar to a text file), and I want to read and save it into dataframe.
I use the below code:



[p..... More

Print this item

  help with sending and receiving pics taken
Posted by: mcgrim - Nov-05-2019, 12:49 PM - Forum: Networking - Replies (9)

I am trying to send a few pics via socket from server to client.
I get this error on the client side, and I am not sure how to fix it.
[error]
Traceb..... More

Print this item

  Create .exe with program.py
Posted by: preliator - Nov-05-2019, 11:55 AM - Forum: General Coding Help - Replies (2)

Good morning all,

I want to create an .exe file with my Python program, so I can use it anywhere.

I installed pyinstaller, started the command o..... More

Print this item

  Create a directory structure across many servers
Posted by: metro17 - Nov-05-2019, 10:51 AM - Forum: General Coding Help - Replies (1)

I have a text file WITH 7 servers as below
ABCD
EFFG
IJKL
MNOO
QRST
UBVW
XYZZ

I need to connect to each of these servers and
Create a dire..... More

Print this item

  Login system not working
Posted by: Unknown_Relic - Nov-05-2019, 10:44 AM - Forum: General Coding Help - Replies (2)

im new to python and im trying to create a login system in python 3.7.3. There are two separate files called Usernames and Passwords. When i run the c..... More

Print this item

  Dictionaries in Lists
Posted by: szbeco - Nov-05-2019, 10:23 AM - Forum: Homework - Replies (6)

Hi there!

I started learning Python with the help of "Python Crash Course" by Eric Matthes. The progress is good, but I stuck at one of the ..... More

Print this item

  error merge text files
Posted by: ledgreve - Nov-05-2019, 10:07 AM - Forum: General Coding Help - Replies (3)

Hello!

I want to merge all of the txt-files I have in a specific folder on my computer. I looked it up and apparently you have to use the followin..... More

Print this item

  read_csv error and rows/columns missing
Posted by: karlito - Nov-05-2019, 10:04 AM - Forum: Data Science - Replies (9)

I thought I got everything right till I ended up with a different file to read. Damn for 2 days I'm struggling with it. Help, please.
link to the dat..... More

Print this item

  openpyxl, if value in cell then change format
Posted by: genderbee - Nov-05-2019, 09:19 AM - Forum: General Coding Help - Replies (1)

Hello,
my code is not working and I don't know why.
I need change font size when value in cell is '2', for A1 to A100.

[python]
# load libs
fro..... More

Print this item

  File encryption
Posted by: itzik - Nov-05-2019, 05:02 AM - Forum: General Coding Help - Replies (5)

hi,
how can i unencrypted python file?
i have this lines:

[python]
def index ():#line:239
OOO0O00OOOOO0O000 =int (errorChecking (count =Tru..... More

Print this item

  KeyError -read multiple lines
Posted by: bongielondy - Nov-04-2019, 09:19 PM - Forum: General Coding Help - Replies (2)

I am new to Python. An example reviews code has single line reviews and runs well. Mine has multiple lines. I converted the csv file to tsv. The revie..... More

Print this item

  csv reader
Posted by: kgiles - Nov-04-2019, 08:25 PM - Forum: General Coding Help - Replies (3)

I'm very early on in python, but I'm trying to process a csv file with this code:
[python]
# importing csv module
import csv

# csv file name..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... Yesterday, 14:18 Ninja2112 deanhystad GUI
  data fetching for indian ... 11-23, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 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
Most views
  The best Prog... 579310
  Tutorial Requ... 512178
  Web Scraping ... 442202
  Newbie with P... 386310
  New Users Int... 379876
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 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
irukson Today
J2M Yesterday
jackhunter Yesterday
EmilyCarter Yesterday
xdimbah Yesterday

User Panel Messages

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