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,665
» Latest member: Namanrajput
» Forum threads: 37,406
» Forum posts: 169,983

Full Statistics

Online Users
There are currently 381 online users.
» 1 Member(s) | 372 Guest(s)
Facebook, Google, Yandex, Bing, Baidu, AOL, Applebot, xzenon

Latest Threads
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 5
» Views: 259
negative memory usage
Forum: General Coding Help
Last Post: Gribouillis
7 hours ago
» Replies: 1
» Views: 77
API design an choice
Forum: News and Discussions
Last Post: Gribouillis
8 hours ago
» Replies: 1
» Views: 75
Program that calculates b...
Forum: Data Science
Last Post: xzenon
8 hours ago
» Replies: 0
» Views: 64
Program that calculates b...
Forum: Data Science
Last Post: xzenon
8 hours ago
» Replies: 0
» Views: 62
ModulNotFoundError matplo...
Forum: General Coding Help
Last Post: WicardBohnam
Today, 01:25 AM
» Replies: 9
» Views: 234
Why am I getting this err...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:31 PM
» Replies: 4
» Views: 145
Discord - Webcrapping fro...
Forum: Web Scraping & Web Development
Last Post: Tolska
Yesterday, 12:27 PM
» Replies: 0
» Views: 72
Low code b2b e-commerce s...
Forum: Web Scraping & Web Development
Last Post: abdlwafitahiri
Yesterday, 12:18 PM
» Replies: 2
» Views: 454
How to edit Tkinter Minim...
Forum: General Coding Help
Last Post: kucingkembar
Yesterday, 11:36 AM
» Replies: 7
» Views: 183

 
  writing in particular positions
Posted by: clarablanes - Apr-13-2019, 09:39 AM - Forum: General Coding Help - Replies (5)

Dear friends,
I have a file with thousands of molecule coordinates. Everyone should have a name but unfortunately the names are missing. I have to pu..... More

Print this item

  coming up with a sentinel string for file names
Posted by: lacaca - Apr-13-2019, 09:25 AM - Forum: News and Discussions - Replies (1)

i am designing a few commands which need to have 2 lists of file or directory names. what i need to come up with is some string that is reasonable to ..... More

Print this item

  Bad marshal data (string ref out of range) error
Posted by: neodark - Apr-13-2019, 07:19 AM - Forum: General Coding Help - Replies (2)

Hi, I have an simple python script in a raspberry that the only thing that it do is execute some telegrams commands... http requests.... and enable or..... More

Print this item

  Help in adding confusion matrix
Posted by: Aashish - Apr-13-2019, 04:27 AM - Forum: Data Science - Replies (6)

Help....performed image classification on cifar-10 dataset but not able to add confusion matrix.
Kindly help me out in adding confusion matrix in thi..... More

Print this item

  Fastest dict/map method when 'key' is already a hash?
Posted by: tasket - Apr-13-2019, 03:35 AM - Forum: General Coding Help - Replies (6)

I'm implementing deduplication for a new backup tool based on LVM thin-delta where the destination archive consists only of chunks, together with a ma..... More

Print this item

  Using this Python version of text2pdf
Posted by: Pedroski55 - Apr-13-2019, 01:48 AM - Forum: General Coding Help - Replies (1)

I'm trying to convert text files to pdf. I want to set the page to A5, landscape.

To my surprise, I found this Python file in /home/pedro/.local/bi..... More

Print this item

  error json
Posted by: pifko22 - Apr-13-2019, 12:55 AM - Forum: General Coding Help - Replies (1)

Greetings, in my code, I try to list only the parameters I need. In this case, they are face attributes and emotions. I still get a mistake. that stri..... More

Print this item

  Old Python-version used by IDLE
Posted by: GeNoS - Apr-12-2019, 10:25 PM - Forum: News and Discussions - Replies (7)

Help please:
When I installed Python on my Raspian stretch, Python 3.5.3. was the most actual version. After starting IDLE it shows " Python 3.5.3 (/..... More

Print this item

  Trying to make a shortcut key to execute program
Posted by: 357mag - Apr-12-2019, 07:24 PM - Forum: News and Discussions - Replies (1)

I'm looking for a way to make a shortcut key for running my program. I would rather not reach down into the menu and click on Execute Program each tim..... More

Print this item

  I'm not clear on buying WingWare Pro
Posted by: 357mag - Apr-12-2019, 06:39 PM - Forum: News and Discussions - Replies (3)

I'm thinking about buying the Pro version of WingWare, but I'm not clear on how the company works this. Do I only need to buy the software once? Or do..... More

Print this item

  Curl command to python requests
Posted by: pythonclass - Apr-12-2019, 06:29 PM - Forum: General Coding Help - No Replies

Hello. I am very new to python and would appreciate some help with the following. I have this curl command which works fine:
curl --cacert C:\cacert..... More

Print this item

  httplib to http.client conversion issue
Posted by: zatlas1 - Apr-12-2019, 05:07 PM - Forum: General Coding Help - Replies (1)

I am a relatively newbie, dealing with python 2.7 code that needs to go to python 3.6 or 3.7
In the code I have 'import httplib' that I dutifully cha..... More

Print this item

  Comparing complicated arrays.
Posted by: kietrichards - Apr-12-2019, 04:30 PM - Forum: News and Discussions - Replies (3)

Hello. Do you have any idea how to compare this example two arrays? Here it's not visable. But nummber of columns in both arrays is the same, but numb..... More

Print this item

  Parsing infor from scraped files.
Posted by: Larz60+ - Apr-12-2019, 04:09 PM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to get one simple bit of data from several thousand scraped files.
I want to do this using concurrent futures, but am having a bit of an ..... More

Print this item

  TreeTagger : parameter file invalid : english.par
Posted by: Raph0909 - Apr-12-2019, 12:11 PM - Forum: General Coding Help - No Replies

Hi,

I need to have a TreeTagger for my project, I made the right import, pip install treetaggerwrapper was done, I placed it in my files (C:\Users\..... More

Print this item

  Help trying to write a function
Posted by: Rochense - Apr-12-2019, 11:32 AM - Forum: General Coding Help - Replies (3)

Hello, I have some trouble trying to define a function using the math module to write a logarithm and then derivating it in python 2.7.

I want to w..... More

Print this item

  how to insert image into Text widget Tkinter
Posted by: atlass218 - Apr-12-2019, 10:58 AM - Forum: GUI - Replies (5)

Hello;

I created a small application for testing, but I encountered a problem displaying the image in the content of the Tkinter Text widget.

In fac..... More

Print this item

  list evaluation
Posted by: go127a - Apr-12-2019, 10:27 AM - Forum: General Coding Help - Replies (2)

Hello,
after input and some evaluation I can reach the below list:
[1, 5, 7, 9, 5, 6, 20, 30]
for every number in that list, first number is price ..... More

Print this item

  Fingerprint audio - chromaprint and get fingerprint
Posted by: alessandro87gatto - Apr-12-2019, 07:51 AM - Forum: Homework - Replies (5)

Hi everyone,
as written in the presentation, I'm new to the forum. I'm trying to compare two audio tracks. I searched a lot on the web finding old gu..... More

Print this item

  Fixate graphs on scrollable canvas
Posted by: janema - Apr-12-2019, 07:36 AM - Forum: GUI - Replies (6)

The idea is that I want the graphs only to appear on the scrollable canvas next to the previous graph. At this moment when I create another graph it w..... More

Print this item

  dictionaries and list as values
Posted by: Pippi - Apr-12-2019, 06:52 AM - Forum: Homework - Replies (6)

So I have an assignment where I have a sequence id's as a key in a dictionary and the values are lists of sequences of a certain length associated wit..... More

Print this item

  append no working
Posted by: pythonduffer - Apr-12-2019, 06:00 AM - Forum: General Coding Help - Replies (3)

I wrote this simple python program

[python]
L=[]

for i in range(0,5):
L.append(i)

print(*L..... More

Print this item

  Problems with loading buttons (pygame)
Posted by: SheeppOSU - Apr-12-2019, 01:50 AM - Forum: Game Development - Replies (2)

I am making a game which is so far good, but after the player fills in all the info, it doesn't display the buttons. The shell is in typable mode (Can..... More

Print this item

  Regex to extract IPs between () not working
Posted by: mrapple2020 - Apr-12-2019, 12:03 AM - Forum: General Coding Help - Replies (5)

Hello, can you please help me retrieve IP addresses between (). Like this:
(1.1.1.1,230.1.1.1)
[python]
Notice the below is not working since it is..... More

Print this item

  yield help
Posted by: chakox - Apr-11-2019, 11:27 PM - Forum: General Coding Help - Replies (5)

hey everyone !
So I'm currently testing yield function
[python]
#contient des exemples d'utilisation de la fonction Yield

#exp 1
def exYield1() :
..... More

Print this item

  Money Global Variable
Posted by: saturnstars - Apr-11-2019, 07:46 PM - Forum: Homework - Replies (8)

As my last assignment in class I’m making a sort of fantasy marketplace RPG simulation where I have a money value that needs to change and use the new..... More

Print this item

  Newbie Question re "TypeError: '<' not supported between instances of 'list' and 'int
Posted by: sr12 - Apr-11-2019, 07:02 PM - Forum: General Coding Help - Replies (8)

[python]def function_1(x):
if x < 0:
return -1000000000
else:
return (x ** (1-2)-1)/(1-2)

list = [1, 2, 3, 4,]

[func..... More

Print this item

  Points
Posted by: Gluon137 - Apr-11-2019, 06:58 PM - Forum: General Coding Help - Replies (4)

Hey everyone,
I just started coding python. I'm using jython and trying to create voronoi diagrams. For some reason I do not understand, my main loop..... More

Print this item

  Sorting a copied list is also sorting the original list ?
Posted by: SN_YAZER - Apr-11-2019, 04:49 PM - Forum: General Coding Help - Replies (3)

Hello, Big Grin
I would need your help to sort the copy of a list without modifying the initial list. Huh

for example, when I create a co..... More

Print this item

  Problem with executing 2 .py files
Posted by: PardodeCela - Apr-11-2019, 03:58 PM - Forum: General Coding Help - Replies (1)

I'm trying to run lector.py firstly and gmail.py in second place, but when I try it, the programm finishes at lector.py and don't continue running. I'..... More

Print this item

  Why is this not working?
Posted by: gcryall - Apr-11-2019, 02:23 PM - Forum: GUI - Replies (2)

[python]
from tkinter import *

class TheEarnings(Frame):

def __init__(self, root=None):
Frame.__init__(self)
self.root = root
..... More

Print this item

  Using Pypdf2 write a string to a pdf file
Posted by: Pedroski55 - Apr-11-2019, 01:55 PM - Forum: General Coding Help - Replies (6)

I will read 130+ excel files in as lines of strings in Python. I want to write each line to a pdf. Each excel file is just 1 A5 landscape sheet. I can..... More

Print this item

  Turtle Graphics Card Values in a List
Posted by: Muzz - Apr-11-2019, 12:55 PM - Forum: Homework - No Replies

Hi everyone,

New to python and trying to figure out how to make the numbers on my cards ive drawn move on to the the next value in a list every tim..... More

Print this item

  Need help; iris-train
Posted by: Karin - Apr-11-2019, 09:42 AM - Forum: Data Science - Replies (2)

I'm a beginner of machine learning and now learning scikit-learn using iris analysis.

My code is here...

[python]
import pandas as pd
from skl..... More

Print this item

  print: Tips and tricks
Posted by: microphone_head - Apr-11-2019, 09:33 AM - Forum: News and Discussions - Replies (12)

Hi all.

I found that when I run the print command with "\b" I can produce a tick symbol.

Does anyone have any other tips they would like to shar..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  using mutable in function... 1 hour ago akbarza snippsat General Codin...
  negative memory usage 7 hours ago akbarza Gribouillis General Codin...
  API design an choice 8 hours ago Skaperen Gribouillis News and Disc...
  Program that calculates b... 8 hours ago xzenon xzenon Data Science
  Program that calculates b... 8 hours ago xzenon xzenon Data Science
  ModulNotFoundError matplo... Today, 01:25 WicardBohnam WicardBohnam General Codin...
  Why am I getting this err... Yesterday, 12:31 Pedroski55 Pedroski55 General Codin...
  Discord - Webcrapping fro... Yesterday, 12:27 Tolska Tolska Web Scraping ...
  Low code b2b e-commerce s... Yesterday, 12:18 makc abdlwafitahiri Web Scraping ...
  How to edit Tkinter Minim... Yesterday, 11:36 kucingkembar kucingkembar General Codin...
  TypeError: '>' not suppor... Yesterday, 09:34 Anouar Anouar Data Science
Most views
  The best Prog... 415911
  Web Scraping ... 306281
  Tutorial Requ... 295472
  Newbie with P... 253139
  Thread remain... 235573
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11873
buran 8090
snippsat 7092
deanhystad 6221
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Namanrajput Today
Owen89 Today
dataanalyst Today
xzenon Today
uzugijus Today

User Panel Messages

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