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,299
» Latest member: matt
» Forum threads: 38,796
» Forum posts: 175,891

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google

Latest Threads
Proposal for PEP
Forum: News and Discussions
Last Post: matt
38 minutes ago
» Replies: 0
» Views: 5
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
6 hours ago
» Replies: 3
» Views: 116
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
6 hours ago
» Replies: 2
» Views: 81
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
10 hours ago
» Replies: 6
» Views: 3,184
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 250
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 138
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 94
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,528
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 180
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 84

 
  Problem with creating DataFrame using Dictionary
Posted by: ift38375 - Jul-01-2019, 04:28 PM - Forum: Data Science - Replies (8)

Hi,

When i am creating dataframe for desired table then it is working fine as given below
[python]
import pandas as pd
diSales= { 2016:{'qtr1':3..... More

Print this item

  Telnetlib reading output
Posted by: petterg - Jul-01-2019, 04:10 PM - Forum: Networking - Replies (2)

Hi,

Im using a python telnetlib script to communicate with a device.

I want to keep an open connection without exiting. My problem is that i can..... More

Print this item

  python alternatives for adding points to a map. Driving car around
Posted by: dervast - Jul-01-2019, 01:56 PM - Forum: News and Discussions - Replies (2)

Hi all,

I have a dataframe that contains time,temperature measurement and Latitude and Longitude.

I want to plot the movement of the car over ti..... More

Print this item

  Find a given file recursively inside a directory
Posted by: alinaveed786 - Jul-01-2019, 12:04 PM - Forum: General Coding Help - Replies (1)

Find a given file recursively inside a dir. The code I tried is not showing any output, though I have a file C:\Users\anaveed\test\hoax\a.txt
[u]Belo..... More

Print this item

  string slicing default value
Posted by: Uchikago - Jul-01-2019, 09:30 AM - Forum: General Coding Help - Replies (1)

If a slice with positive step like

[::1]
then the default value of starting point and ending point is [python][0:len(list):1][/python..... More

Print this item

  How to make a bot that learns to talk
Posted by: SheeppOSU - Jul-01-2019, 09:15 AM - Forum: Tutorial Requests and Submissions - Replies (2)

In this tutorial I go through making a bot that learns to talk. How does it work? This bot learns to talk the same way a baby does. The bot automatica..... More

Print this item

  Need help on this!!!
Posted by: Nicolenss - Jul-01-2019, 08:28 AM - Forum: General Coding Help - Replies (2)

When I tried to run the python script and pcap file, it show AttributError: 'str' object has no attribute 'do_build' where I did installed Scapy in th..... More

Print this item

  looping and indentation issue
Posted by: ameydiwanji - Jul-01-2019, 07:44 AM - Forum: General Coding Help - Replies (3)

Hi Guys,

I am new to python and have very basic knowledge on python. I have written a small program below which gives user 3 chances for writing corr..... More

Print this item

  pymysql.err.ProgrammingError : 1064 You have an error in your SQL syntax
Posted by: pradeepkumarbe - Jul-01-2019, 06:47 AM - Forum: General Coding Help - Replies (1)

I tried all the possible ways to get out this error.. I still didn't understand where its going wrong, below is my code,

[python]mysql_conn = mysql..... More

Print this item

  if and condition not working for string
Posted by: Staph - Jul-01-2019, 06:17 AM - Forum: General Coding Help - Replies (4)

I have three list

out5 = ['increasing', 3, 5,3]

out50 = ['increasing', 9, 5,3]

out95 = ['increasing', 8, 7,3]
I am tr..... More

Print this item

  Highlight/Underline a string | ValueError: zero length field name in format
Posted by: searching1 - Jul-01-2019, 02:40 AM - Forum: General Coding Help - Replies (1)

Hi, I'm building a python script which put an underline on a matched string on my regex pattern. Issue is when migrated to 2.6 I'm getting the below t..... More

Print this item

  3D animation
Posted by: angel23 - Jul-01-2019, 01:23 AM - Forum: General Coding Help - Replies (1)

Hi
I want to learn python for scripting in 3d animation software (cinema 4d) . Is there any library or resource for that ?

Print this item

  Regex help for newbie
Posted by: mcmpdx - Jul-01-2019, 12:15 AM - Forum: General Coding Help - Replies (6)

Hi,
New to this site and to python. As a first project, I am trying to extract entire line entries via regex from a text file (hosts.txt). Based on m..... More

Print this item

  web crawler with Tor proxy & Firefox ESR on Linux Kali
Posted by: rootVIII - Jun-30-2019, 08:38 PM - Forum: Code sharing - No Replies

okay made another web crawler but with Tor proxies this time...

Here's the repository.


[python]..... More

Print this item

  python script for gfx hat (LCD for raspberry)
Posted by: domoticity - Jun-30-2019, 08:20 PM - Forum: Homework - Replies (12)

Hy,
i have bought a LCD for my beautifull Pi :)

My LCD is the GFX hat : https://shop.pimoroni.com/products/gfx-hat

There is an Example for scr..... More

Print this item

  button coding help
Posted by: starwars - Jun-30-2019, 07:39 PM - Forum: General Coding Help - Replies (2)

Hello,
I am trying to learn how to code in python, and I found an amazing website called code club. However I have encountered a problem which is tha..... More

Print this item

  updating to pyqt5
Posted by: LavaCreeperKing - Jun-30-2019, 07:02 PM - Forum: GUI - Replies (4)

Hey so I need some help updating to pyqt5. I got a new computer and installed pyqt5 using pip. On my old computer I had pyqt4 and I installed it using..... More

Print this item

  Name Error: OO programming
Posted by: Pythonhelp82 - Jun-30-2019, 08:11 AM - Forum: Homework - Replies (2)

I have coded this example from a course textbook (it says it is a working example), When I run the code, it is coming with a Name Error, Assessment no..... More

Print this item

  UDP to TCP requests script
Posted by: batchenr - Jun-30-2019, 07:50 AM - Forum: Networking - No Replies

Hey,

Im using python3, i have a script on the server that gets UDP requests from client and then
the server translate thous requests to tcp and t..... More

Print this item

  group by property
Posted by: bhojendra - Jun-30-2019, 04:52 AM - Forum: General Coding Help - Replies (25)

I have a list like:
[python]
result = [
{
"name: "John",
"m": "good",
"n": 1
},
{
"name": 'Alina',
"m": "good",
..... More

Print this item

  Confusion in Framework and IDE ?
Posted by: ift38375 - Jun-30-2019, 03:50 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi,
i am newbie in python and i wanted to know that what is exact difference between Django and Pycharm ?
can i create website/web application only ..... More

Print this item

  Where to start, a fun simulator
Posted by: SX1493 - Jun-30-2019, 02:53 AM - Forum: Game Development - Replies (10)

Hello everyone,

Been on a Python learning craze this past month, really jumped with both feet towards the water. It has been an awesome adventure. ..... More

Print this item

  Downlading PDF files from Office Intranet
Posted by: indrav761 - Jun-29-2019, 10:47 PM - Forum: General Coding Help - Replies (2)

I am new to Phython and learning on the job. I am seeking guidance on one issue that I am facing at the moment at my workplace. We have a in house Gen..... More

Print this item

  IndentationError on installed package
Posted by: evvvonder - Jun-29-2019, 08:33 PM - Forum: General Coding Help - Replies (3)

I'm new to python and have been working on a code to take timelapse photographs, with this at the top of the code:
[python]
from time import sleep
..... More

Print this item

  .split(.') aftermath
Posted by: maryab - Jun-29-2019, 06:54 PM - Forum: General Coding Help - Replies (1)

I was trying to see if this question has been answered. The first print statement shows a pesky character at the beginning of the 2nd list item. I say..... More

Print this item

  Need help getting unique values across two columns of a dataframe
Posted by: a_real_phoenix - Jun-29-2019, 03:06 PM - Forum: Homework - Replies (1)

Hi there, my question is pretty much what the title says. I have a pandas dataframe with four columns, and I want to be able to get the unique values ..... More

Print this item

  Pygobject Menu And Notebook?
Posted by: loss - Jun-29-2019, 12:49 PM - Forum: GUI - No Replies

I added Notebook to my application. I used it with Grid. Now I want to add Menu. Gtk.Box () does this. But this time it gives an error and the empty w..... More

Print this item

  What is $DISPLAY supposed to be?
Posted by: amethyst - Jun-29-2019, 12:37 AM - Forum: GUI - Replies (2)

Hi,
I have tkinter installed on OSX10.4 PowerPC, and it imports ok to Python3.3.
It needs the $DISPLAY environment variable set to work, otherwise ..... More

Print this item

  Please Help with My First Python Attempt
Posted by: aupilot00 - Jun-28-2019, 11:46 PM - Forum: Jobs - Replies (7)

Hi there! I am super new to Python, and by super new I mean I downloaded WinPython and installed Pulp this afternoon.

I have a relatively simple (..... More


Attached Files

.csv   scheduledata.csv (Size: 21.39 KB / Downloads: 4)
Print this item

  Shortest paths to win snake and ladder
Posted by: sandaab - Jun-28-2019, 10:17 PM - Forum: General Coding Help - Replies (5)

Can anyone please help me with python code that remembers all possible paths that a player can take in a snake and ladder game. At last, print all the..... More

Print this item

  regex for addresses, dates, and times
Posted by: metulburr - Jun-28-2019, 09:54 PM - Forum: News and Discussions - Replies (2)

I am trying to come up with a way to get a hit for any facebook post that contains key words relating to a yard sale and extract the address, date, an..... More

Print this item

  How to save latest time stamp in a file?
Posted by: redwood - Jun-28-2019, 09:47 PM - Forum: General Coding Help - Replies (12)

Hello Members,

I am working on an automation wherein I need to monitor a location on cloud and if there is a new file my Python program is suppose ..... More

Print this item

  method float.as_integer_ratio() always ...
Posted by: Skaperen - Jun-28-2019, 08:40 PM - Forum: News and Discussions - Replies (23)

method float.as_integer_ratio() always gives a power of two for the denominator of the ratio. it does not implement the algorithm to find the lowest ..... More

Print this item

  High RAM machines or cloud services
Posted by: trader144 - Jun-28-2019, 08:13 PM - Forum: Data Science - Replies (2)

Looked for an answer on the forum but couldn't find one.

I use python pandas and xlswriter extensively and I like to load large dataframes into mem..... More

Print this item

  floating point addition
Posted by: Skaperen - Jun-28-2019, 07:24 PM - Forum: News and Discussions - Replies (4)

given a floating point value, what is the smallest floating point value that when arithmetically added to it, does increase that given value (e.g. a s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Proposal for PEP 38 minutes ago matt matt News and Disc...
  My regex function is not ... 6 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 6 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 10 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 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
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
Most views
  The best Prog... 579371
  Tutorial Requ... 512370
  Web Scraping ... 442282
  Newbie with P... 386338
  New Users Int... 380288
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
matt Today
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday

User Panel Messages

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