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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 39 online users.
» 2 Member(s) | 32 Guest(s)
Apple, Bing, Google, AOL, kshahzad1985, snippsat

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 3
» Views: 91
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 4
» Views: 142
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 665
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 142
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 124
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 208
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,216
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 316
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 209

 
  testing if this is a container type
Posted by: Skaperen - Jan-24-2019, 07:01 PM - Forum: General Coding Help - Replies (7)

in a function being passed an argument, it might be a single data type or it might be a container of some type. i need to do different callbacks depe..... More

Print this item

  [split] Help with cx_Oracle
Posted by: gnishakamath - Jan-24-2019, 07:01 PM - Forum: General Coding Help - No Replies

i have a pl/sql contents in a .sql file with some insert/update oracle sql commands in it.
Is it possible in python to call that .sql file and execut..... More

Print this item

  Adding graphics to canvas
Posted by: vangphucthinh - Jan-24-2019, 04:58 PM - Forum: GUI - No Replies

I have 2 parts of code like this

[python]import tkinter
import tkinter.messagebox
import turtle
import numpy as np
from turtle import*
turtle...... More

Print this item

  Python
Posted by: Shravan - Jan-24-2019, 04:49 PM - Forum: Web Scraping & Web Development - Replies (1)

I want a program which can copy the no of installs from provided google play store link from CSV and export result to csv.
Please Help.

Print this item

  Still learning, class var?
Posted by: b4iknew - Jan-24-2019, 03:26 PM - Forum: Web Scraping & Web Development - Replies (6)

Hello all, hope we have some patience for a beginner this morning.

I've written a weather scraper and it runs without any errors. My problem is o..... More

Print this item

  How to Install Pmw
Posted by: Vicolas - Jan-24-2019, 02:04 PM - Forum: GUI - Replies (2)

[size=medium][b]Please how can I install Python Mega Widget(PWM), Tix and any Packages associated with tkinter in Python 3. Because tkinter has limite..... More

Print this item

  Function and return value
Posted by: Roh_80 - Jan-24-2019, 01:57 PM - Forum: General Coding Help - Replies (1)

[python]
def COLLATZ(NUM):
if NUM == 1:
return NUM
elif (NUM%2 == 0):
NUM = NUM/2
print(NUM)
COLLATZ(NU..... More

Print this item

  Best GUI toolkit to learn
Posted by: Vicolas - Jan-24-2019, 01:45 PM - Forum: GUI - Replies (4)

Hi, please what is the best Python GUI toolkit to learn and why? Thanks.

Print this item

  Python Linting (newbie)
Posted by: LieveHeer - Jan-24-2019, 01:00 PM - Forum: General Coding Help - Replies (2)

Hey everyone,

I just started learning to code and I chose Python 3 to start with, I hope I made the right choice!
Now I am following a tutorial an..... More

Print this item

  thonny 3.0.8 on xubuntu 18.04 lts
Posted by: lemonred - Jan-24-2019, 12:56 PM - Forum: Bar - Replies (2)

Hi i'am italian my elementary english. Write my problem for thonny ide 3.0.8 download official site.

Launch to ide visualizzation interface graphi..... More

Print this item

  Converting string the pandas dataframe
Posted by: chrismc - Jan-24-2019, 11:07 AM - Forum: Data Science - No Replies

In this screenshot data (string datatype) and df2 (pandas dataframe) store the same data - a timestamp and a value.

How do I get data in a similar ..... More

Print this item

  Cookies
Posted by: Donald - Jan-24-2019, 09:20 AM - Forum: General Coding Help - Replies (3)

Hallo,

this code to read Cookies from FireFox runs without error, but without result. In the console it shows cookies.

[python]
import sqlite3..... More

Print this item

  API -> pandas -> database
Posted by: chrismc - Jan-24-2019, 09:08 AM - Forum: Data Science - Replies (3)

Firstly, apologies if I'm not using the right terminology, I'm trying to run before I walk and you will see the problems I'm having. I know how to co..... More

Print this item

  unexpected sub result after overloading operator
Posted by: jolinchewjb - Jan-24-2019, 07:57 AM - Forum: General Coding Help - Replies (1)

I have below code to test overload of the operator, add is tested ok, sub is not ok, after P1-p3, it becomes empty set, but my sub function is correct..... More

Print this item

  Compare words Python
Posted by: xSphere - Jan-24-2019, 07:44 AM - Forum: General Coding Help - Replies (3)

Hi guys, I need to compare 2 words of a list.
If I have hello and jello it has to print correct, because is the same word or it only has one differen..... More

Print this item

  Repair function for a nested database
Posted by: Alfalfa - Jan-24-2019, 03:34 AM - Forum: General Coding Help - Replies (1)

I made a class handle the preference database of my apps. The problem is that as new features are added, using the get() method on the new keys raise ..... More

Print this item

  one line if else
Posted by: Skaperen - Jan-24-2019, 01:08 AM - Forum: Bar - Replies (2)

python supports statements like

    foo[x] = bar[a if woot[x] else b]
but i recall some people expressing a dislike for code like that. i'..... More

Print this item

  t.onkey command isn't working
Posted by: PythonSnake - Jan-23-2019, 10:55 PM - Forum: General Coding Help - Replies (2)

i just need a bit of help because i just made a game called 'caterpillar' but when i tried running it it wouldnt work when i clicked space.

[pytho..... More

Print this item

  Looking for a Guide Through the Labyrinth
Posted by: stephenmolnar - Jan-23-2019, 08:07 PM - Forum: General Coding Help - Replies (1)

I am a semi-retired Research Scientist who bumbled his way through FORTRAN II programming more years ago that I am willing to admit.

I have a Quant..... More

Print this item

  Write something to another script
Posted by: Lsxbash - Jan-23-2019, 05:35 PM - Forum: General Coding Help - Replies (3)

I just want to write something to another script like this example; When i write msfconsole to terminal is going to opening metasploit so i can do thi..... More

Print this item

  I need help with loop one function and creating variables
Posted by: don - Jan-23-2019, 05:12 PM - Forum: General Coding Help - Replies (3)

my code that is working
*****************************************************
[python]names = ['xx','yy','cc']

for name in names:
exec("%s_m..... More

Print this item

  'int' object is not subscriptable
Posted by: lateublegende - Jan-23-2019, 04:39 PM - Forum: General Coding Help - Replies (2)

my code
[python]
line = line.strip()
except AttributeError:
line = line
line+1
lines = o..... More

Print this item

  help with flatten nested list
Posted by: Arch2030 - Jan-23-2019, 04:29 PM - Forum: General Coding Help - Replies (6)

I am trying to flatten my nested list

Input:

list1=[[[0],[1400,100]],[[0],[1200,100]],[[100],[800,400]]]

Expected output:

flattened1=[[0,1..... More

Print this item

  débutant sur python
Posted by: salahoum - Jan-23-2019, 04:03 PM - Forum: General Coding Help - Replies (2)

j'ai un fichier csv
j'ai trouvé plusieurs vidéo qui fait la lecture de donnés de fichier dans python comme :
nom;age;pays;numéro;salah;21;france;2;Lu..... More

Print this item

  Tuple Unpacking
Posted by: HarshaliPatel - Jan-23-2019, 12:05 PM - Forum: General Coding Help - Replies (3)

Can anyone help me with Tuple unpacking term? If given example, that will help me to understand more clearly.

Print this item

  Dijkstra code - trying to simplify it
Posted by: grandpapa10 - Jan-23-2019, 12:04 PM - Forum: General Coding Help - Replies (1)

Hello again peeps,

After hours struggling with my other code, I decided to start from scratch again.
I finally came up with a code that finds the ..... More

Print this item

  Need help for extractring keys from dictionary
Posted by: dragan979 - Jan-23-2019, 10:59 AM - Forum: General Coding Help - Replies (3)

Have this code:

[python]if mail["Subject"].find("Alert for Ta*** prod errors") > 0 :
body = get_autosys_body(mail)
info = {}..... More

Print this item

  arima model error in python
Posted by: wissam1974 - Jan-23-2019, 09:37 AM - Forum: Data Science - No Replies

hi
i am using the software PyCharm(2018.1) software to create ARIMA model in pyhthon
here is the model that i have created:

[python]
def arima_..... More

Print this item

  Hard time with prime factors in the task.
Posted by: blackknite - Jan-23-2019, 07:51 AM - Forum: General Coding Help - Replies (1)

Hey people.Im trying to do some harder python challenges to learn some new things. Given a string,and a number, I have to get an ascii value of a char..... More

Print this item

  TypeError: __str__ returned non-string error
Posted by: jolinchewjb - Jan-23-2019, 06:34 AM - Forum: General Coding Help - Replies (5)

the result is : TypeError: __str__ returned non-string (type NoneType), but i think my __str__ function is correct,any idea? thanks, this is under pyt..... More

Print this item

  Regarding AWS API authorization
Posted by: naressh1994 - Jan-23-2019, 06:13 AM - Forum: General Coding Help - No Replies

We have created a AWS API gateway for connecting AWS infrastructure. We are having ARC API client for checking the API requests. We have to design a A..... More

Print this item

  How to deploy Django application on Apache2 server
Posted by: deepag - Jan-23-2019, 05:09 AM - Forum: Web Scraping & Web Development - No Replies

Hello,

I am trying to deploy my Django project on server[Ubuntu 18.04]. I referred this forum.
https://www.digitalocean.com/community/tutorials/..... More

Print this item

  Beginner python password program
Posted by: jakobscheffler - Jan-23-2019, 02:52 AM - Forum: General Coding Help - Replies (4)

[python]print('\n')

print('uPass 1.0')




menu = input('Create - Y, Enter N: ')

if menu == 'Y' or menu == 'y':

new_pass = input('En..... More

Print this item

  Recursive using Python
Posted by: karupython - Jan-22-2019, 09:35 PM - Forum: General Coding Help - Replies (1)

Need help in achieving below logic using python

I have a data in the table as below and need output as below

https://imgur.com/a/ppSRXeT

Print this item

  python
Posted by: salahoum - Jan-22-2019, 09:16 PM - Forum: General Coding Help - Replies (1)

I'm trying to read a csv file in python
but not just display it but from the manager as a table
I found a lot of video that read csv file but only f..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 6 hours ago Lou noisefloor General Codin...
  Python is not working on ... 6 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579456
  Tutorial Requ... 512599
  Web Scraping ... 442321
  Newbie with P... 386373
  New Users Int... 380641
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+ 12113
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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