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,980
» Latest member: Joliekeva
» Forum threads: 38,732
» Forum posts: 175,564

Full Statistics

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

Latest Threads
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
4 hours ago
» Replies: 4
» Views: 1,974
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 399
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,033
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,090
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 760
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,064
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,509
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,084
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,541
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,425

 
  sqlite3 window functions support using python2.7
Posted by: Omkumar - May-03-2019, 11:22 AM - Forum: General Coding Help - Replies (2)

Hi,

I am using sqlite3 library in python2.7. I wanted to make use of the Window function(row_number) in the application I am working on.

I am us..... More

Print this item

  Read a folder with a multiple files
Posted by: NewBeie - May-03-2019, 11:17 AM - Forum: General Coding Help - Replies (7)

Hi,

I have a list

Quote:Names = ['John', 'Tom']
if I say [python] def ReadNames():
for name in Names:
print(name)[/python..... More

Print this item

  Coditional colormaps plotting
Posted by: Staph - May-03-2019, 10:53 AM - Forum: General Coding Help - Replies (5)

Dear all,
I need some help with regards to colormaps, I am new to python and unsure how to go about it.

I have three spatial correlation maps, let..... More

Print this item

  Add Variable to select query
Posted by: UtiliseIT - May-03-2019, 10:47 AM - Forum: General Coding Help - Replies (2)

Hi,

I cant quite work out how to add a variable into a SELECT query.

My attempt is

[python]

query = ("SELECT distinctrow UPC, ItemFri..... More

Print this item

  Pandas fillna based on conditions
Posted by: amyd - May-03-2019, 10:41 AM - Forum: Data Science - Replies (1)

I am pretty new at using Pandas, so I was wondering if anyone could help me with the below.

Let's say I have this dataframe:

[python]import pand..... More

Print this item

  fingerprint similarity audio microphone
Posted by: alessandro87gatto - May-03-2019, 10:23 AM - Forum: Homework - Replies (1)

Hi everyone,
I have the code below. Listen to the audio through the microphone, get the fingerprint of the stream heard, calculate the fingerprint of..... More

Print this item

  What am i doing wrong??
Posted by: Slinkyy - May-03-2019, 09:59 AM - Forum: General Coding Help - Replies (2)

[python]
import csv
import sys
import random

def main():
menu()


def menu():
print(" :::::::: ::: ::: ::::::::::..... More

Print this item

  [beginner] Choosing the right tool for a web-based GUI
Posted by: johsmi96 - May-03-2019, 09:55 AM - Forum: News and Discussions - Replies (2)

I have to confess that so far I only used python for implementing libraries and tools I can run from the command line.

Now I want to create somethi..... More

Print this item

  How to pass a dictionary as an argument inside setup function of unittest
Posted by: nilaybnrj - May-03-2019, 09:24 AM - Forum: General Coding Help - Replies (1)

Basically I am writing an appium code to automate one native app. Now what I want is that instead of hard coding the capabilities I want to use an ext..... More

Print this item

  Redircet output of Python script to .txt file
Posted by: gurbhej_singh - May-03-2019, 09:04 AM - Forum: General Coding Help - Replies (7)

Greetings for the day.
I am a windows user. I am using Octave programs through Python and able to get the results of the octave program when I call i..... More

Print this item

  Create an empty NumPy array
Posted by: karansingh - May-03-2019, 07:15 AM - Forum: General Coding Help - Replies (3)

How can I create an empty NumPy array in different ways.

Print this item

  How to make a function for auto generated id
Posted by: sunnyarora - May-03-2019, 06:32 AM - Forum: General Coding Help - Replies (2)

Hi Guys,
Could you please help me out about how we can make a function in Python which can generate auto numeric id whenever calling that function?
..... More

Print this item

  can functions know/learn who they are?
Posted by: Skaperen - May-03-2019, 03:01 AM - Forum: General Coding Help - Replies (4)

i have a long (over 200, potential a lot more) list of names. for each name i need to create a function of that name in the local namespace. each fu..... More

Print this item

  MySQL Connector
Posted by: trai - May-03-2019, 02:57 AM - Forum: General Coding Help - Replies (1)

Hello,
Just started learning Python. While working on the database programming, I noticed a few MySQL connectors such as mysql-connector-python, p..... More

Print this item

  Getting Started - Python for Finance
Posted by: s_p_a_c_e_x - May-03-2019, 02:54 AM - Forum: News and Discussions - Replies (1)

Hey all!

I had a few questions on getting started in Python, specifically for finance.

Quick background: I have a passion for finance and the st..... More

Print this item

  multi-dimm array -- dynamic
Posted by: PappaBear - May-02-2019, 11:04 PM - Forum: General Coding Help - Replies (3)

I'm trying to figure out how to declare a 2d array (rows & columns); where the rows are dynamic

What I've been able to do is define number of rows..... More

Print this item

  [django] arguments not defined
Posted by: SheeppOSU - May-02-2019, 09:30 PM - Forum: Web Scraping & Web Development - No Replies

I was watching a tutorial to django. I was using the cmd for some stuff. Anyways I have a class and I was trying to define the class but I was getting..... More

Print this item

  HELP: need a Keylogger with those features
Posted by: cocododo - May-02-2019, 09:09 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I've found an interesting link about a Python Keylogger:
https://www.instructables.com/id/Simple-...n/#discuss

but it is n..... More

Print this item

  graphing euler method
Posted by: rondo - May-02-2019, 08:13 PM - Forum: General Coding Help - Replies (1)

My program should Sketch the graph of ?(?) and the approximations ?ℎ(??) with ℎ=1,0.5,0.1 where p(t) is the approximation using Euler's method. ..... More

Print this item

  Help Importing Protocol Library Into Scapy
Posted by: joedirgy - May-02-2019, 07:31 PM - Forum: General Coding Help - No Replies

Hello,

I am relatively new with scapy and was hoping someone could help me get started trying to import a third party library into scapy.

Basica..... More

Print this item

  Multi-Dimm Array or Class?
Posted by: PappaBear - May-02-2019, 05:14 PM - Forum: General Coding Help - Replies (2)

I'm working on a config converter for firewalls. (Take ASA config, make it a Palo Alto config, or a Juniper config, etc).

What I'm actually trying..... More

Print this item

  Is there a better way of laying out my GUI?
Posted by: DreamingInsanity - May-02-2019, 05:13 PM - Forum: GUI - Replies (4)

I have created a simple GUI using PyQt5. However, I can't seem to find a a good way to arange my widgets. I tried groups but with my current code, I w..... More


Attached Files

Thumbnail(s)
   
Print this item

  Discovered a terrible bug in file copy (cp)
Posted by: Larz60+ - May-02-2019, 04:37 PM - Forum: Bar - Replies (2)

** BE WARNED **
This may be a Linux Mint or Debian issue, or may be related to the driver, not sure, but at any rate, it can destroy your Boot..... More

Print this item

  learning to setup a simple web server
Posted by: LavaCreeperKing - May-02-2019, 04:20 PM - Forum: Web Scraping & Web Development - Replies (6)

I have recently decide to try to learn more about the python programming language. I want to go into the field of computer science and I thought that ..... More

Print this item

  Flask tutorial errors in jinja, auth undefined
Posted by: Ecniv - May-02-2019, 03:59 PM - Forum: Web Scraping & Web Development - Replies (2)

http://flask.pocoo.org/docs/1.0/tutorial/views/
Following this tutorial, slightly different due to the blue prints.
Hello world index works, but on ..... More

Print this item

  Computation Graphs
Posted by: aytgeren - May-02-2019, 01:50 PM - Forum: Homework - Replies (1)

I have a homework like in below. I haven't got any information about that and I need the sources or codes to learn. I have limited time lıke 5 days. C..... More

Print this item

  Problems with getting image's DateTimeOriginal
Posted by: Pythenx - May-02-2019, 01:24 PM - Forum: General Coding Help - Replies (3)

I am making an image sorting program based on the date which the image was taken in which everything works perfectly except one thing. I know my code ..... More

Print this item

  how can I write my function output on CSV file
Posted by: go127a - May-02-2019, 01:13 PM - Forum: General Coding Help - Replies (13)

how can I update CSV file ?

I have a list of name as a csv file, I read it and calculate the mean of them. finally I am going to add (name, mean) t..... More

Print this item

  Newbie Help
Posted by: mikeoc1973 - May-02-2019, 11:37 AM - Forum: General Coding Help - Replies (3)

Hi completely new to python( never heard of it before today) . I am trying to make something on Github work( again never heard of that before today)...... More

Print this item

  Memory leak in Py_Initialize on Windows
Posted by: roland - May-02-2019, 11:10 AM - Forum: News and Discussions - Replies (2)

The following simple program shows a lot of memory leaks in Py_Initialize (python 3.7.3) on windows:

int main(int argc, char** argv)
{
//wcha..... More

Print this item

  Writing device driver to stop electric supply to any I/O port
Posted by: sumandas89 - May-02-2019, 10:22 AM - Forum: General Coding Help - No Replies

I want to know that how to write program to stop electric supply/disable any I/O port like LAN, USB, audio port etc. I know it's a part of writing dev..... More

Print this item

  How do I stop window changing size?
Posted by: microphone_head - May-02-2019, 10:17 AM - Forum: GUI - Replies (1)

Hi People,

I'm having trouble preventing the labels from changing their widths, and thus increasing and decreasing the Tkinter window Wall . ..... More

Print this item

  Problems with calculator
Posted by: muachihiyo - May-02-2019, 08:58 AM - Forum: General Coding Help - Replies (3)

Hi, I am trying to build a calculator, no parentheses required, supporting negative figures.
And I have written some codes and use visualize Python ..... More

Print this item

  Key Value Pair output
Posted by: UtiliseIT - May-02-2019, 05:57 AM - Forum: General Coding Help - Replies (9)

Hi,

My api currently has an output of [1, "Apple"], [2, "Banana"], [3, "Orange"] and I've been told it should be a key value pair. My Return code i..... More

Print this item

  Spreadsheets, Python, and Fortran
Posted by: pmago - May-02-2019, 05:50 AM - Forum: Data Science - Replies (3)

Hi, i am new to this Forum (and Python). It's a long time i keep asking myself if does exist a real alternative to VBA and Excel for scientific comput..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Error: cannot mix str wit... 4 hours ago ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 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...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [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...
Most views
  The best Prog... 577428
  Tutorial Requ... 500909
  Web Scraping ... 441071
  Newbie with P... 385134
  New Users Int... 369673
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Joliekeva Today
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday
stephaniehendrix Yesterday

User Panel Messages

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