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,992
» Latest member: maribita
» Forum threads: 38,736
» Forum posts: 175,580

Full Statistics

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

Latest Threads
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 65
print does not open conso...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 2
» Views: 93
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,536
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 99
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 214
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,047
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 463
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,093
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,167
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 851

 
  Getting form data ?
Posted by: JohnnyCoffee - Nov-06-2019, 01:49 PM - Forum: Web Scraping & Web Development - Replies (3)

How can I get input data from a form via post without using any framework ?

Print this item

  Flask session behaves erratically
Posted by: Antares - Nov-06-2019, 01:09 PM - Forum: Web Scraping & Web Development - Replies (5)

My Flask Session behaves in an unpredictable manner. I'm using the same Flask Session settings I did in my previous project, and yet this time it's co..... More

Print this item

  Importing packages with long names
Posted by: joel_graff - Nov-06-2019, 01:01 PM - Forum: General Coding Help - Replies (7)

So I've never really sorted out a good solution to this issue, and from what I can see, there really isn't one. so I thought I'd post here as a last ..... More

Print this item

  Python and PIP
Posted by: scratchmyhead - Nov-06-2019, 12:32 PM - Forum: General Coding Help - Replies (5)

I downloaded and installed python 3.7 version and have been running Pycharm with no problem but when I go to the command prompt and check the python v..... More

Print this item

  C++ Wrapper for python
Posted by: yamifm0f - Nov-06-2019, 12:26 PM - Forum: General Coding Help - Replies (6)

Hi I have a code written in python and I need use it with another code that is written in C++
it was recommended to me to have a c wrapper to link th..... More

Print this item

  Beginner needing advice with data files
Posted by: JFI2019 - Nov-06-2019, 12:15 PM - Forum: General Coding Help - Replies (2)

Hello there, I am a complete newbie to Python as a whole, and need some advice, to be precise, I need to handle .dat files describing a few hundred th..... More

Print this item

  print
Posted by: mar24nn - Nov-06-2019, 11:18 AM - Forum: General Coding Help - Replies (4)

hi
any one can help

print args.test1, args.test2,':', args.test3
im getting this output: value value : value but need: [..... More

Print this item

  problem in socket
Posted by: Mamad - Nov-06-2019, 11:12 AM - Forum: Networking - Replies (2)

Hi guys i need your helps guys im new in python and i have a problem in my code here is code:
from socket import *
ip = input("ip= ")
port = input(..... More

Print this item

  Read in trades from emails
Posted by: semantina - Nov-06-2019, 10:43 AM - Forum: General Coding Help - Replies (2)

Hi,
I need to develop a script which will read in and place trades from emails sent each hour.

The email text is as follows:

1 EURCHF Sell 1.10..... More

Print this item

  Pycharm Interpreter
Posted by: Cryptus - Nov-06-2019, 10:36 AM - Forum: Bar - Replies (1)

Hello,

I am using Pycharm as my main IDE for Python projects and I like to switch between OS (Windows & Linux) where I have my Pycharms installed...... More

Print this item

  can't remove element from a list
Posted by: yokaso - Nov-06-2019, 10:22 AM - Forum: General Coding Help - Replies (6)

i have a list and i want to remove all non digit element from it,but got some problem.
there is my code , can you help me:



[python]
match = r..... More

Print this item

  .startup.py
Posted by: perfringo - Nov-06-2019, 09:30 AM - Forum: Bar - Replies (1)

Does anybody uses .startup.py and for what?

As .startup.py runs for interactive sessions, not when Python is running programs one don’t have to wor..... More

Print this item

  Execute search query on Amazon website
Posted by: Pavel_47 - Nov-06-2019, 08:50 AM - Forum: Web Scraping & Web Development - Replies (7)

Hello,
Probably a solution already exists but I have trouble formulating my request correctly.
My task can be summarized in two points:

  1. [..... More

Print this item

  Extract info from 3d file
Posted by: DindonPiere - Nov-06-2019, 08:32 AM - Forum: General Coding Help - Replies (1)

Hello,

My questions are a little unusual:
I'm trying to find out how (from a 3d model of a propeller (stl or any other format that could work)) t..... More

Print this item

  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 - No Replies

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Weird failure in Selenium 2 hours ago glestwid Larz60+ General Codin...
  print does not open conso... 7 hours ago Tycho_2025 Pedroski55 General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577477
  Tutorial Requ... 501329
  Web Scraping ... 441103
  Newbie with P... 385163
  New Users Int... 369893
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today
markwood955 Yesterday

User Panel Messages

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