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

Full Statistics

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

Latest Threads
Python is not working on ...
Forum: General Coding Help
Last Post: lary_p
56 minutes ago
» Replies: 3
» Views: 86
No new line from print in...
Forum: General Coding Help
Last Post: bowlofred
1 hour ago
» Replies: 2
» Views: 24
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 8
» Views: 639
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,803
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 127
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 112
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 195
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,210
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 304
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 190

 
  template matching: more than one template?
Posted by: jtl - Mar-13-2019, 01:48 PM - Forum: Data Science - Replies (1)

Hello

i am very new to python and ML. I am trying to do some template mathing with opencv. I succeed doing template matching with one single templa..... More

Print this item

  SIP content ID help
Posted by: edlentz - Mar-13-2019, 01:17 PM - Forum: Networking - No Replies

I am trying to use SIPPing to send SIP commands to my phones. It uses txt files as templates for the messages. I am trying to send a check-sync comm..... More

Print this item

  function matrix
Posted by: mcgrim - Mar-13-2019, 01:15 PM - Forum: Data Science - Replies (14)

how do you write a function that takes a matrix as a parameter
and for symmetric, skew and others returns respectively 1,-1 and 0?

here is what ..... More

Print this item

  Regular Expressions
Posted by: amitalable - Mar-13-2019, 01:06 PM - Forum: General Coding Help - Replies (4)

Assume that a poem is given. Write the regular expressions for the following:
If the pattern has characters 'ai' or 'hi', replace the next three char..... More

Print this item

  how to convert xlsx to xls
Posted by: Krszt - Mar-13-2019, 12:54 PM - Forum: General Coding Help - Replies (3)

I have a bunch of .xlsx files that I want to convert to xls, because my code works only with .xls
Could you suggest something for me?

Print this item

  Reading and manipulating csv
Posted by: Prince_Bhatia - Mar-13-2019, 12:27 PM - Forum: General Coding Help - Replies (11)

hi,


I have a csv which has two columns and on the other hand i have multiple lists in my code.

I am looping through second column of each data in c..... More


Attached Files

.csv   facility_data.csv (Size: 22.72 KB / Downloads: 464)
.csv   new_facilities.csv (Size: 601 bytes / Downloads: 446)
Print this item

  copy paste file and re-name it
Posted by: asheru93 - Mar-13-2019, 10:04 AM - Forum: General Coding Help - Replies (1)

Hello,

I am building some automated tests including install/uninstall of an app. I need to build a small back-up file system for a file.

I have ..... More

Print this item

  Key length (2) exceeds index depth (1)
Posted by: igodspeed - Mar-13-2019, 10:00 AM - Forum: Data Science - Replies (4)

Hello,
I am new to python and i am not sure why i am getting this error

[python]
a = np.random.standard_normal((9, 4))
a.round(6)

df = pd.Da..... More

Print this item

  working with more excel files
Posted by: Krszt - Mar-13-2019, 09:46 AM - Forum: General Coding Help - Replies (1)

Hello,
I would like to modify my existing code that extracts the value of some cells. How can I modify it to do it not only one but for more xls, tha..... More

Print this item

  Fixing a problem with file.io
Posted by: ThickTac - Mar-13-2019, 09:05 AM - Forum: General Coding Help - Replies (2)

Ok so, i am doing a school assignment which is just a little simple text game and I am using files (sublime). For some reason it is not printing what ..... More

Print this item

  How to recognize, what functions are filled in of the Python interpreter stack?
Posted by: AlekseyPython - Mar-13-2019, 08:32 AM - Forum: General Coding Help - Replies (3)

Python 3.7.2

I wrote a program using the asyncio library. If I run it, then after a short time I get the error "[i]maximum recursion depth exceeded..... More

Print this item

  Finding exact phrase in list
Posted by: graham23s - Mar-13-2019, 08:05 AM - Forum: General Coding Help - Replies (2)

Hi Guys,

I am not too sure on the best way to solve this, i have some basic code:

[python]
# search for any of these strings
search_for = ['ab..... More

Print this item

  TypeError: 'tuple' object is not callable
Posted by: marlinayakno - Mar-13-2019, 07:35 AM - Forum: General Coding Help - Replies (1)

[python]
img = rgb2gray(image)

# 3 scales
radius1 = 4
radius2 = 8
radius3 = 12

# sobel mask
sobel_dx = ([-1, 0, 1],[-1, 0, 1],[-1, 0, 1])
..... More

Print this item

  can you understand why this code prints None?
Posted by: arcbal - Mar-13-2019, 02:44 AM - Forum: General Coding Help - Replies (2)

[python]# assuming n is always greater than m
def fd(n,m):
if n%m==0:
print(m)
return m
else:
print(n,m)
..... More

Print this item

  Question about the Random Module
Posted by: Exsul - Mar-13-2019, 01:25 AM - Forum: General Coding Help - Replies (1)

random.choice() returns an element, while random.choices() (with an s) returns a list. I need to use choices, because tha..... More

Print this item

  Interacting with desktop apps.
Posted by: SheeppOSU - Mar-13-2019, 12:35 AM - Forum: General Coding Help - Replies (1)

I am able to use os to open an app, but I don't know how to interact with it. Can someone plz tell me how. I put in some text it was saying in the cmd..... More

Print this item

  [split] Out of curiosity. Why is it bad to * import
Posted by: hshivaraj - Mar-12-2019, 11:04 PM - Forum: News and Discussions - Replies (2)

snippsat Wrote:never make a package that use *
Out of curiosity. Why is it bad?
I can see that exposes all the method from the module, whi..... More

Print this item

  Changing a character in a string
Posted by: Livne_ye - Mar-12-2019, 09:46 PM - Forum: General Coding Help - Replies (4)

Hello fellas! first time here.
i have the following string:
"ATCGATCGATCGATCGACTGACTAGTCATAGCTATGCATGTAGCTACTCGATCGATCGATCGACGATCGATATCGATGCATCGAC..... More

Print this item

  Complex Programs Without Modules
Posted by: temporalCaster - Mar-12-2019, 09:40 PM - Forum: News and Discussions - Replies (1)

I'm looking to make a lot of projects at the moment, but installing modules is a hassle that I don't really feel like is necessary (if it is then I'll..... More

Print this item

Star New t_games Release
Posted by: ichabod801 - Mar-12-2019, 09:29 PM - Forum: Game Development - No Replies

I just published a new release for my ..... More

Print this item

  How to update the PyQt GUI?
Posted by: kally - Mar-12-2019, 08:19 PM - Forum: GUI - No Replies

Hey folks,

I just started with python and PyQt and hope that you can help me with my problem.

I created a GUI.ui with the QtDesigner, converted ..... More

Print this item

  decimal point or comma
Posted by: Skaperen - Mar-12-2019, 07:45 PM - Forum: General Coding Help - Replies (8)

rather than deal with the complexity of internationalization where i need to have my own code fill in the decimal point or use decimal scaling separat..... More

Print this item

  tkinter help
Posted by: Scorpio - Mar-12-2019, 07:29 PM - Forum: GUI - No Replies

hi everybody,

I m coding a card game. I already coded all the game, I just miss the display.

To code it, I use tkinter but I have some trouble w..... More

Print this item

  How to simplify square finding program?
Posted by: meknowsnothing - Mar-12-2019, 06:20 PM - Forum: General Coding Help - Replies (3)

I found this problem in a programming forum Ohjelmointiputka:

https://www.ohjelmointiputka.net/postit/...nus=ahdruu and
https://www.oh..... More

Print this item

  Need help | splitting list into list
Posted by: Vinci141 - Mar-12-2019, 02:53 PM - Forum: General Coding Help - Replies (3)

Hello,

My need is to read an excel, split data from a specific column , turn it into array of characters so that i print them into excel into 9 cells..... More

Print this item

  How to obtain the background color of a cell using xlrd?
Posted by: Krszt - Mar-12-2019, 01:13 PM - Forum: General Coding Help - Replies (1)

Hi all,

I wat to get the background color of a given cell with python from an xlsx. Iam new with it, could you please help me to finish this :

[..... More

Print this item

  Jupyter notebook under Windows
Posted by: renate - Mar-12-2019, 12:15 PM - Forum: News and Discussions - Replies (4)

I have a Windows 10 system without any Python related software. Then I install Anaconda 3.7. When I type "jupyter notebook" or hit "Launch" in the Ana..... More

Print this item

  how do i fix this problem - IndentationError?
Posted by: GrandMaster101 - Mar-12-2019, 08:47 AM - Forum: General Coding Help - Replies (8)

I have never does any type of coding before and wanted to give it a try. I am using the book called python hunting. they told me to type this codes fi..... More

Print this item

  ValueError: Buffer dtype mismatch, expected 'Python object' but got 'long long'
Posted by: MaJeFi - Mar-12-2019, 08:42 AM - Forum: Data Science - Replies (2)

I am new to Python. I got the error message in the title which is meaningless to me when my program got to the following line:
[python]dfTemp = pd.co..... More

Print this item

  Help me understand this... (Classes and self).
Posted by: Ceegen - Mar-12-2019, 07:56 AM - Forum: General Coding Help - Replies (15)

The original question I had was about making a Tkinter label display the time, ..... More

Print this item

  python3 regex support
Posted by: anna - Mar-12-2019, 07:41 AM - Forum: General Coding Help - Replies (3)

Hi All,

lines in files are as below

"11-03-2019_18:43:14,User-name=4841605613,NAS-IP-Address=10.124.113.246,Framed-IP-Address=,Calling-Station-I..... More

Print this item

  Read and write data to CSV files
Posted by: kartik - Mar-12-2019, 05:22 AM - Forum: General Coding Help - Replies (1)

My excel file name is Test.xls
Column A has 1000 rows. Each row has both char and int.
Eg. Tool cost for part no. 1236576
Mould for 5475943 for WE..... More

Print this item

  Help with importing a module from a package I created.
Posted by: FWendeburg - Mar-12-2019, 01:57 AM - Forum: General Coding Help - Replies (2)

Hi, I published a package in PyPI and I'm able to import it. The thing is that to use the functions that the package includes which are two functions,..... More

Print this item

  Pymodbus for Dummies
Posted by: hairem - Mar-11-2019, 11:37 PM - Forum: General Coding Help - Replies (1)

Does anyone know of a good pymodbus "walk-through" for beginners? I am new to python and want to use it to convert RS232 Ascii data to Modbus TCP hold..... More

Print this item

  Scipy FFT functions syntax and method
Posted by: leodavinci1990 - Mar-11-2019, 11:35 PM - Forum: Data Science - No Replies

Hi, I am looking at the Fourier Transforms functions provided by the scipy library found at
https://docs.scipy.org/doc/scipy/referen...rial/fftpa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python is not working on ... 56 minutes ago lary_p lary_p General Codin...
  No new line from print in... 1 hour ago Lou bowlofred General Codin...
  Help with Serial.write in... 2 hours ago 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... 579430
  Tutorial Requ... 512529
  Web Scraping ... 442310
  Newbie with P... 386367
  New Users Int... 380587
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