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,967
» Latest member: Jacobjoift
» Forum threads: 38,730
» Forum posts: 175,550

Full Statistics

Online Users
There are currently 41 online users.
» 2 Member(s) | 33 Guest(s)
Bing, Google, AOL, AOL, Applebot, Biks, kshahzad1985

Latest Threads
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
53 minutes ago
» Replies: 7
» Views: 2,736
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: tester_V
1 hour ago
» Replies: 5
» Views: 242
looking for help
Forum: Bar
Last Post: PhamMaria
2 hours ago
» Replies: 1
» Views: 1,864
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:58 PM
» Replies: 1
» Views: 600
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:49 PM
» Replies: 4
» Views: 2,131
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,695
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 592
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,081
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,070
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,342

 
  generator concurrency
Posted by: Skaperen - Dec-25-2018, 04:51 PM - Forum: News and Discussions - Replies (3)

so i wrote a generator. it's not a class. it's just a function with a yield statement. calling it returns an iterator that effectively drives the g..... More

Print this item

  TypeError: 'int' object is not iterable
Posted by: shan1403 - Dec-25-2018, 04:16 PM - Forum: General Coding Help - Replies (7)

Hi everyone, I need to find the distance between the two rows of the matrix in two different .CSV file. Following is the part of the code:

[python]..... More

Print this item

  Use variable from one function in another without return
Posted by: P13N - Dec-25-2018, 04:10 PM - Forum: General Coding Help - Replies (3)

I'm having those two functions in my code and want to be able to use the variable tdate from the function def todos_new(): in my second ..... More

Print this item

  Wrting to text file
Posted by: isar - Dec-25-2018, 02:26 PM - Forum: General Coding Help - Replies (1)

Hi

total python newbie here

A friend has been using F-engrave http://www.scorchworks.com/Fengrave/fengrave.html

they supply the source code ..... More

Print this item

  How argv works?
Posted by: Philia - Dec-25-2018, 02:01 PM - Forum: General Coding Help - Replies (7)

Here argv is a tuple. That inputs name of two persons 'John' and 'Jack' one by one.

And prints out "Hi, John" first time and "Hi Jack" second time...... More

Print this item

  How I can multiply the fourth one from each row in the text file
Posted by: canatilaa - Dec-25-2018, 01:12 PM - Forum: General Coding Help - Replies (2)

- 2, 1, 2, 3, **4**, 15, 14, 29, 64168.0, 1

2, 1, 2, 3, **6**, 15, 14, 29, 64168.0, 1

2, 1, 2, 3, **8**, 15, 14, 29, 64168.0, 1
..... More

Print this item

  Array module
Posted by: Meenu - Dec-25-2018, 06:58 AM - Forum: General Coding Help - Replies (1)

Hi All

I am not able to search and install array module.

Is using numpy.array the only way to create array data structure?

Python version - 3..... More

Print this item

  what is the chance for an inline python-in-text processor?
Posted by: Skaperen - Dec-25-2018, 04:59 AM - Forum: News and Discussions - Replies (2)

what is the chance for an inline python-in-text processor? this would be similar to what PHP is. but with Python for the code.

Print this item

  venv fails to link to python-dev include (Python.h)
Posted by: Moonwatcher - Dec-25-2018, 03:16 AM - Forum: General Coding Help - Replies (2)

Starting the process of porting to python3. Have setup my virtual env using the new venv. But the tool does not add a link to the python3 dev includ..... More

Print this item

  Remove CSV header
Posted by: Truman - Dec-25-2018, 12:07 AM - Forum: General Coding Help - Replies (9)

[python]#! python3
# removecsvheader.py - Removes the header from all CSV files in the current working directory

import csv, os

os.makedirs('he..... More

Print this item

  TypeError: unsupported operand type(s) for -: 'str' and 'str'
Posted by: shan1403 - Dec-24-2018, 09:58 PM - Forum: General Coding Help - Replies (14)

Hi, I am a newbie (relatively). In the following code, I have calculated function called get_standardised_matrix. Before this function, I have created..... More

Print this item

  Moving Mouse
Posted by: ian - Dec-24-2018, 07:56 PM - Forum: General Coding Help - Replies (1)

I use pyautogui to move the mouse but found I can only move to right edge (1920) of the 1st monitor. Is there a way to move farther (on my 3rd monitor..... More

Print this item

  str() with float an i18n
Posted by: Skaperen - Dec-24-2018, 06:23 PM - Forum: General Coding Help - Replies (2)

as we know, some places use '.' and some places use ',' to separate the whole part of a number from the fractional part of a number. my curiosity que..... More

Print this item

  Coding a logger for firefox history
Posted by: kpiatrou - Dec-24-2018, 04:09 PM - Forum: General Coding Help - Replies (2)

i am very new to coding and dont have any experience, so i would like to ask if someone can help or direct me somewhere where i can learn. i want to k..... More

Print this item

  Copy & Paste Web Page
Posted by: ian - Dec-24-2018, 03:49 PM - Forum: Web Scraping & Web Development - Replies (2)

Is there a way to copy all text on a webpage and paste in a variable in Python 3.62 ?

I am looking for a solution that does not use SendKeys("^a",0..... More

Print this item

  Importing CSV into MySQL
Posted by: gehrenfeld - Dec-24-2018, 03:43 PM - Forum: General Coding Help - Replies (2)

I have a CSV file that contains 10234 records. Here are what the first 20 rows look like.
Each row has 19 column. The delimiter='\t'

[quote]
Gary..... More

Print this item

  Lists in list for newbies
Posted by: LedDiode - Dec-24-2018, 02:43 PM - Forum: General Coding Help - Replies (4)

Hi everyone,

First of all merry Christmas to all of you :D

Now, my issue is that : I'm trying to script something that allow me to scrape data ..... More

Print this item

  upload from local disk
Posted by: davidm - Dec-24-2018, 02:35 PM - Forum: Board - Replies (1)

How do I upload a file from my local disk?

Print this item

  Hide button when clicked
Posted by: frequency - Dec-24-2018, 11:58 AM - Forum: GUI - Replies (2)

[PYTHON]
self.w3=Button(self.root,text="This must dissapear when clicked ",font="Arial 12",bg="#d9d9d9",command=self.check)
self.w3.grid(row=8,colum..... More

Print this item

  nosetest issue
Posted by: saisankalpj - Dec-24-2018, 11:22 AM - Forum: General Coding Help - No Replies

parent/
    test1/
        __init__.py
        sample1.py
    test2/
        __init__.py
        sample.py
This is a basic s..... More

Print this item

  Flask with paramiko based ssh client gives gevent LoopExit exception
Posted by: hbknjr - Dec-24-2018, 09:09 AM - Forum: Web Scraping & Web Development - Replies (3)

I am getting gevent LoopExit error when using paramiko based ssh client with flask server.

Sample code to reproduce the problem.
[python]
#!usr/b..... More

Print this item

  Python Programming Projects for Beginners
Posted by: jack_sparrow007 - Dec-24-2018, 09:03 AM - Forum: General Coding Help - Replies (3)

1) Hello World
Ah, the all familiar "hello world," exercise that you do every time you start learning a new programming language. The goal her..... More

Print this item

  XML handling
Posted by: Kultz - Dec-24-2018, 06:09 AM - Forum: Web Scraping & Web Development - Replies (4)

I am using XML as below.

<User folder="/Users" name="cake">
<GroupMembership>abc-trq</GroupMembership>
..... More

Print this item

  Flask return http status code 200 but web browser not recive
Posted by: supernoobs - Dec-24-2018, 02:17 AM - Forum: Web Scraping & Web Development - Replies (2)

I have web login page using ajax call API process login, API was written by python flask.
Web login --> call API OK
API process database OK --> (it ..... More

Print this item

  I can't run my executable pythpn application
Posted by: atlass218 - Dec-23-2018, 11:40 PM - Forum: General Coding Help - Replies (10)

Hi; I use python 3.6, and my PC is equipped with windows 10 64 bits.



for information, my PC is equipped with windows 10 64 bits.

I finished my scr..... More

Print this item

  Don't Understand what I am doing wrong : Can someone help?
Posted by: meekschr - Dec-23-2018, 11:14 PM - Forum: General Coding Help - Replies (3)

[python]user=input("Hello, I am the computer. What is your name? : ")
print("Hello,", user)
user=input("Chris, do you enjoy programing? : ")
print(..... More

Print this item

  Printing class instance
Posted by: P13N - Dec-23-2018, 09:55 PM - Forum: General Coding Help - Replies (2)

I have a class with todo's (text and id) and import that class in my main program where I want to print it.

classtodo.py:
[python]class ToD..... More

Print this item

  I can't understand this problem
Posted by: muhammedkhairy - Dec-23-2018, 07:37 PM - Forum: General Coding Help - Replies (5)

So sorry, I'm a beginner with programming and I face something in lists confused me.
I know that when I concatenate 2 lists with (+) I create a new li..... More

Print this item

  standard data types
Posted by: rombertus - Dec-23-2018, 07:22 PM - Forum: General Coding Help - Replies (3)

Hello,

I just started to learn Python a bit. At the moment I am busy to get familiar with the standard data types. It looks pretty easy that there ..... More

Print this item

  for loop problem with opencv
Posted by: Miradox - Dec-23-2018, 07:21 PM - Forum: Data Science - Replies (1)

[python]import cv2
import numpy as np
from statistics import mean
f = []
video = cv2.VideoCapture(0)
def cam():
    ret, frame = video.read()
 ..... More

Print this item

  variable isn't recognized by if structure
Posted by: Prof_Jar_Jar - Dec-23-2018, 04:29 PM - Forum: Game Development - Replies (3)

Hey there!

I don't get this:

I have a code that goes like this (simplified, but essentially that):

[python]
def q():
loop = True
C..... More

Print this item

  How to calculate variance(standard deviation) by column
Posted by: SriRajesh - Dec-23-2018, 02:32 PM - Forum: General Coding Help - Replies (2)

Hi,
I have below data (DataFrame), and want to calculate variance(standard deviation) by column & and by name

[python]Name V1 V2 V3 V4
AAB..... More

Print this item

  Help me write a Christmas Program!
Posted by: marienbad - Dec-23-2018, 12:53 PM - Forum: General Coding Help - Replies (3)

Merry Christmas to all of you! Okay, so this idea came into my head and I started writing it out, it is just a bit of fun, it is meant as a laugh and..... More

Print this item

  Game Logic problem with a "The Game of Life" Replication
Posted by: Coda - Dec-23-2018, 12:13 PM - Forum: Game Development - Replies (2)

Hello everyone!
This is my first post here, I hope I won't mess up...
I'm currently trying to replicate The game of Life ( https://en.wikipedia.org/..... More

Print this item

  Does anybody know appJar?
Posted by: Gribouillis - Dec-23-2018, 11:07 AM - Forum: GUI - No Replies

I came across this tkinter wrapper appJar. I'm wondering if some of you can tell us more about it...

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Select Python comment (#)... 53 minutes ago SpongeB0B tester_V General Codin...
  Comparing 2 100GB Drives/... 1 hour ago tester_V tester_V General Codin...
  looking for help 2 hours ago Azdaghost PhamMaria Bar
  My goal to be hired worki... Yesterday, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... Yesterday, 18:49 arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
Most views
  The best Prog... 577256
  Tutorial Requ... 500308
  Web Scraping ... 440942
  Newbie with P... 384958
  New Users Int... 369283
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+ 12089
buran 8176
snippsat 7368
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Jacobjoift Today
PhamMaria Today
zalexstolzeoz5360 Today
Edzed4431 Yesterday
chaoh1911 Yesterday

User Panel Messages

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