Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,458
» Latest member: gusbeginner
» Forum threads: 37,268
» Forum posts: 169,399

Full Statistics

Online Users
There are currently 389 online users.
» 1 Member(s) | 382 Guest(s)
Bing, Google, AOL, Applebot, Yandex, deanhystad

Latest Threads
view option in Django
Forum: Web Scraping & Web Development
Last Post: SULMAN
1 hour ago
» Replies: 1
» Views: 105
Elegant way to apply each...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 5
» Views: 224
Sorting Steps
Forum: General Coding Help
Last Post: Pedroski55
4 hours ago
» Replies: 12
» Views: 375
reading a file like the u...
Forum: News and Discussions
Last Post: perfringo
4 hours ago
» Replies: 1
» Views: 56
OCR question
Forum: Bar
Last Post: DPaul
5 hours ago
» Replies: 0
» Views: 41
m3u8 using build-in brows...
Forum: Web Scraping & Web Development
Last Post: kucingkembar
Today, 01:47 AM
» Replies: 3
» Views: 125
write code that resides i...
Forum: General Coding Help
Last Post: franklin97355
Today, 12:03 AM
» Replies: 0
» Views: 64
I don't know what is wron...
Forum: General Coding Help
Last Post: menator01
Yesterday, 06:46 PM
» Replies: 2
» Views: 161
encrypt data in json file...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 05:16 PM
» Replies: 1
» Views: 72
A Programmer Named Tim
Forum: Board
Last Post: Gribouillis
Yesterday, 04:38 PM
» Replies: 3
» Views: 170

 
  Columns in a table
Posted by: Reldaing - Nov-19-2019, 09:13 PM - Forum: General Coding Help - Replies (7)

Hi, I'm looking for switching two columns in a table. I made a function , but I doon't know the syntax of an array switching in python . Could you guy..... More

Print this item

  What was my mistake in this Python code (easy)?
Posted by: voltman - Nov-19-2019, 07:21 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

Just learning python for the first time but I am having some difficulties.

I'm having some trouble with the code below:
[python]
..... More

Print this item

  why my function doesn't work
Posted by: cimerio - Nov-19-2019, 06:51 PM - Forum: General Coding Help - Replies (4)

Hi, I am a beginner.

I need help. Why the code below doesn't return nothing?

[python]def tax(year, value):
if year > 2004:
tax = v..... More

Print this item

  Removing duplicate list items
Posted by: eglaud - Nov-19-2019, 06:37 PM - Forum: General Coding Help - Replies (4)

Hello, I am creating a code that allows the user to paste copied excel cells into a function that will return all the entries with commas, properly ca..... More

Print this item

  Timer for Python that doesn't interrupt the program
Posted by: codewraith - Nov-19-2019, 06:25 PM - Forum: Homework - Replies (1)

I have to implement the AIMD protocol where I will send the quantity of packets of my sliding window to other server, and while I don't lose any packe..... More

Print this item

  Help with Unit Tests
Posted by: pdub787 - Nov-19-2019, 04:35 PM - Forum: Homework - Replies (3)

Hi There! When unittest'ing a simple program that prompts for a first and last name, I'm getting a "repl process died unexpectedly" return.

[pyth..... More

Print this item

  Using function *args to multiply multiple arguments
Posted by: allusernametaken - Nov-19-2019, 04:07 PM - Forum: General Coding Help - Replies (8)

I'm a beginner in Python and have a question.
I now understand the basics of a function and what an asterisk does when it's used in a parameter.

H..... More

Print this item

  First Byte of a string is missing while receiving data over TCP Socket
Posted by: shahrukh1987 - Nov-19-2019, 03:45 PM - Forum: General Coding Help - Replies (3)

Dear All Friends.
I am trying to communicate with an IEC-60870-5-104 server through TCP sockets. The IEC server is located over the local host 127.0...... More

Print this item

  beginner help
Posted by: ksoni - Nov-19-2019, 02:41 PM - Forum: General Coding Help - Replies (2)

I just started python with THONNY IDE.

I have a sample code for remove 'n' th character.

Tested it works fine, then i edit the code for remove '..... More

Print this item

  Regex Help for clubbing similar sentence segments
Posted by: regstuff - Nov-19-2019, 12:10 PM - Forum: General Coding Help - Replies (3)

Hi,
I have a corpus which contains sentences in a certain pattern, which I would like to change by applying Regex.

The pattern is [a certain set o..... More

Print this item

  Python Based Data QA Automation tool suggestion
Posted by: Sonia567 - Nov-19-2019, 11:48 AM - Forum: General Coding Help - Replies (1)

My Source system is DB2 and Target System is Hive. i have used Apache Spark to perform ETL data cleansing and standardization.

I am trying to creat..... More

Print this item

  modify script.
Posted by: MuhammadTalha - Nov-19-2019, 11:43 AM - Forum: General Coding Help - Replies (15)

Hi i want to modify python script, so it can not look for a specific file.
In my case i want it to not look for .dvscf1.

Regards
Muhamma..... More

Print this item

  wordsearch
Posted by: rontoto - Nov-19-2019, 11:23 AM - Forum: General Coding Help - Replies (2)

Hi, I have got a problem in my searchword. Everything runs properly. Output writes word, coordinates and direction, but i need, that output have same ..... More

Print this item

  Parquet format conversion problem
Posted by: Bilhardas - Nov-19-2019, 11:03 AM - Forum: General Coding Help - Replies (1)

Hello guys

I need help with parquet conversion:

Given the attached CSV file named "parquet-test.csv", i need to convert it into parquet format...... More

Print this item

  Writting to file from if/else statement
Posted by: mcmxl22 - Nov-19-2019, 10:24 AM - Forum: General Coding Help - Replies (2)

The original code is here.

The goal of this code is to h..... More

Print this item

  What the difference between python2 and python3 when they running my code.
Posted by: lpangfeic - Nov-19-2019, 09:09 AM - Forum: Web Scraping & Web Development - Replies (1)

I am writing proof of content for CVE-2019-11043 with python2, I can only run my code properly on python3, but not python2. I was wondering what's the..... More

Print this item

  Classification of Request
Posted by: PythonLearner703 - Nov-19-2019, 04:14 AM - Forum: Data Science - Replies (8)

Python: How to categorize the request in different categories for example in 3 categories based on any 3 ex. aa, bb, cc (any):, using KMeans or any ot..... More

Print this item

  Class Problem
Posted by: scratchmyhead - Nov-19-2019, 02:40 AM - Forum: General Coding Help - Replies (3)

I am writing a python program exactly the way my course instructor has and when I try to run on my end, I get the following error: AttributeError: 'T..... More

Print this item

  Trying to print an uneven list to a even table
Posted by: Mike2607 - Nov-19-2019, 01:44 AM - Forum: General Coding Help - Replies (6)

[python]def main():
mycities = ['Cape Girardeau, MO 63780','Columbia, MO 65201',
'Kansas City, MO 64108','Rolla,MO 65402',
..... More

Print this item

  Need advice how to scrape a Chinese webpage
Posted by: omar - Nov-19-2019, 01:11 AM - Forum: Web Scraping & Web Development - Replies (2)

I need to scrape a Chinese webpage on a website that needs logging in + verification by mobile.

I have a username and password. I can login and ver..... More

Print this item

  Can someone explain what ".after" means?
Posted by: p_hobbs - Nov-19-2019, 12:00 AM - Forum: GUI - Replies (2)

So, I'm writing a tkinter GUI, and it's all going pretty well. I'm new to python, and most of my coding knowledge comes from Excel VBA.

So, I've go..... More

Print this item

  Invalid syntax defining a dictionary?
Posted by: ep595 - Nov-18-2019, 11:02 PM - Forum: Homework - Replies (6)

Hi everyone! I'm currently working on an assignment for a Python course. The full task:
[i]A county planning body has requested an interactive tool t..... More

Print this item

  how to list/count the number of dictionaries
Posted by: paul18fr - Nov-18-2019, 09:10 PM - Forum: Data Science - Replies (2)

Hi all

I'm using dictionaries to record physical quantities (tensors, vectors, scalars) from a (huge) Ascii file.
After reading, I've several dic..... More

Print this item

  strange output
Posted by: KaliLinux - Nov-18-2019, 08:28 PM - Forum: General Coding Help - Replies (2)

Why does

print([0][0])
output 0 ?

Print this item

  Puzzle Tower of Hanoi
Posted by: anickone - Nov-18-2019, 08:24 PM - Forum: Game Development - Replies (1)

Hello
Puzzle Tower of Hanoi
[python]
""" Puzzle Tower of Hanoi """

class Disk:
def __init__(self, number, color):
self.number = nu..... More

Print this item

  Pressing button by code after gui is loaded
Posted by: KaiBehncke - Nov-18-2019, 06:53 PM - Forum: GUI - Replies (1)

Dear users,

I use an application where a gui is started:

[python]class alkisImportDlg(QDialog, alkisImportDlgBase):

def __init__(self):
..... More

Print this item

  Update variable between class/frame
Posted by: edwin6938 - Nov-18-2019, 04:41 PM - Forum: GUI - Replies (6)

Hello,

I have a problem with Tkinter to exchange and update variable. I tried inheritance, doing an other interface...)

Below an example
[pyth..... More

Print this item

  Exercise Work
Posted by: scratchmyhead - Nov-18-2019, 03:46 PM - Forum: General Coding Help - Replies (3)

[b]I am new to Python and I'm taking some online python courses. Does anyone have any ideas as far as practice programs to do? The courses are teachin..... More

Print this item

  variable as byte
Posted by: jesshove - Nov-18-2019, 02:57 PM - Forum: Game Development - No Replies

I have been learning Python from 'Python for Everybody' by Charles Severance and found it very good
However, I have used his suggested code for downl..... More

Print this item

  Python Development Server in Azure
Posted by: phpMick - Nov-18-2019, 02:38 PM - Forum: General Coding Help - Replies (1)

Hi,

Does anyone use a development server which is hosted in Azure?

Just wondering the best way to do it (or does it not work well)? With Docker ..... More

Print this item

  instaloaders problem: search certain hashtag - posts without hashtag extracted
Posted by: ledgreve - Nov-18-2019, 01:22 PM - Forum: General Coding Help - No Replies

Hello!

I am extracting instagram posts with diverse hashtags (f.e. "bachmannpreis") via the command line of my computer, using Instaloader (https:/..... More

Print this item

  Installing a new package using pip in conda environment
Posted by: firebolt7 - Nov-18-2019, 12:03 PM - Forum: General Coding Help - Replies (1)

Does a package also gets installed in conda environment if I use pip to install packages not included in Anaconda?

I am c..... More

Print this item

  Press a botton to continue the code
Posted by: doug2019 - Nov-18-2019, 09:27 AM - Forum: General Coding Help - Replies (1)

Hi! Is there any command or function in Python to run the code in steps, ie set breakpoints that continue to press a button or mouse click? I need to..... More

Print this item

  How to find which frame/iframe my element belongs to?
Posted by: smaria - Nov-18-2019, 07:17 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I'm using the Selenium package with Python to navigate to a job console on my workspace and read the statuses of jobs being processed.

I've ..... More

Print this item

  Assistance with pythons random.choice
Posted by: coleslaw - Nov-18-2019, 05:58 AM - Forum: Homework - Replies (5)

So, I have an assigment which wants ask me to check if a given password matches a username

This is the code below, the issue i'm having is, my term..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  view option in Django 1 hour ago Sowmya SULMAN Web Scraping ...
  Elegant way to apply each... 3 hours ago sawtooth500 deanhystad General Codin...
  Sorting Steps 4 hours ago MoreMoney Pedroski55 General Codin...
  reading a file like the u... 4 hours ago Skaperen perfringo News and Disc...
  OCR question 5 hours ago DPaul DPaul Bar
  m3u8 using build-in brows... Today, 01:47 kucingkembar kucingkembar Web Scraping ...
  write code that resides i... Today, 00:03 franklin97355 franklin97355 General Codin...
  I don't know what is wron... Yesterday, 18:46 shereen menator01 General Codin...
  encrypt data in json file... Yesterday, 17:16 jacksfrustration deanhystad General Codin...
  A Programmer Named Tim Yesterday, 16:38 Angelical Gribouillis Board
  Numeric Enigma Machine Yesterday, 14:17 idev idev General Codin...
Most views
  The best Prog... 357674
  Web Scraping ... 257266
  Tutorial Requ... 256461
  New Users Int... 225402
  Newbie with P... 219537
Most reputation
buran 582
snippsat 499
Larz60+ 450
Gribouillis 329
deanhystad 311
Most replies
  New Users Int... 430
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11859
buran 8085
snippsat 7068
deanhystad 6120
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
gusbeginner Today
SULMAN Today
FaithMartinez Today
franklin97355 Yesterday
RobertCOOPS Yesterday

User Panel Messages

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