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,305
» Latest member: jacklylee
» Forum threads: 38,798
» Forum posts: 175,901

Full Statistics

Online Users
There are currently 33 online users.
» 1 Member(s) | 27 Guest(s)
Applebot, Google Image, Bing, kshahzad1985

Latest Threads
Car dashboard with TKinte...
Forum: GUI
Last Post: jacklylee
2 hours ago
» Replies: 2
» Views: 9,810
Electric Car battery size...
Forum: General Coding Help
Last Post: novaCharger99
3 hours ago
» Replies: 3
» Views: 3,012
Python is not working on ...
Forum: General Coding Help
Last Post: lary_p
4 hours ago
» Replies: 0
» Views: 16
What role does IoT play i...
Forum: General Coding Help
Last Post: ShaneCorn
5 hours ago
» Replies: 0
» Views: 24
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ShaneCorn
6 hours ago
» Replies: 7
» Views: 7,786
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
Today, 02:09 AM
» Replies: 7
» Views: 617
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 112
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 89
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 159
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,203

 
  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

  Retrieve protocol in lower case
Posted by: Variables - May-02-2019, 03:58 AM - Forum: General Coding Help - Replies (1)

Hey guys, im trying to retrieve the protocol, but comes up in Uppercase, i need to retrieve it in lower case.
This is my code.

[python]
protocol..... More

Print this item

  Populating a timetable with subjects
Posted by: brittocj - May-02-2019, 02:51 AM - Forum: General Coding Help - Replies (1)

Hello All,

We have to populate a timetable with subjects. What would be the best approach?

In our sample timetable there are 25 hours (keys), al..... More

Print this item

  Having 4 players(Sprites) all being able to jump
Posted by: ElijahCastle - May-02-2019, 01:49 AM - Forum: Game Development - Replies (5)

I'm new to programming and I'm barely starting. I'm trying to make a 4 player local Co-op fighting game to play with my friends and family so we could..... More

Print this item

  How to get the picture from gender dataset
Posted by: vokoyo - May-01-2019, 11:18 PM - Forum: General Coding Help - Replies (1)



May I know how to modify my Python programming thus it will be get the same result as refer to the image file?





[python]
import ..... More


Attached Files

Thumbnail(s)
   

.pdf   Assessing Feature with Random Forests.pdf (Size: 163.92 KB / Downloads: 490)
.py   My Python.py (Size: 933 bytes / Downloads: 417)
Print this item

  Counting words in the last line of a file
Posted by: Drone4four - May-01-2019, 09:29 PM - Forum: General Coding Help - Replies (15)

How do I count how many words there are in the last line of a file?

Here are the contents of the text file:

[quote]Welcome to your First Exam Re..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] Car dashboard w... 2 hours ago TMJJ jacklylee GUI
  Electric Car battery size... 3 hours ago ridgerunnersjw novaCharger99 General Codin...
  Python is not working on ... 4 hours ago lary_p lary_p General Codin...
  What role does IoT play i... 5 hours ago ShaneCorn ShaneCorn General Codin...
  Can I develop a live vide... 6 hours ago mtrkhan ShaneCorn Web Scraping ...
  Help with Serial.write in... Today, 02:09 racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
Most views
  The best Prog... 579403
  Tutorial Requ... 512459
  Web Scraping ... 442301
  Newbie with P... 386353
  New Users Int... 380479
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
jacklylee Today
novaCharger99 Today
cruisesfares Today
ShaneCorn Today
SNR Today

User Panel Messages

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